Re: [PERFORM] Postgres backend using huge amounts of ram

2004-11-26 Thread Richard Huxton
Gary Doades wrote: How much RAM can a single postgres backend use? I've just loaded a moderately sized dataset into postgres and was applying RI constraints to the tables (using pgadmin on windows). Part way though I noticed the (single) postgres backend had shot up to using 300+ MB of my RAM!

Re: [PERFORM] Postgres backend using huge amounts of ram

2004-11-26 Thread Tom Lane
Gary Doades [EMAIL PROTECTED] writes: I've just loaded a moderately sized dataset into postgres and was applying RI constraints to the tables (using pgadmin on windows). Part way though I noticed the (single) postgres backend had shot up to using 300+ MB of my RAM! Since I can't get an

Re: [PERFORM] Postgres backend using huge amounts of ram

2004-11-26 Thread Gary Doades
Tom Lane wrote: It's also worth noting that work_mem is temporarily set to maintenance_work_mem, which you didn't tell us the value of: It's left at the default. (16384). This would be OK if that is all it used for this type of thing. My recollection is that hash join chooses hash table

[PERFORM] Postgres backend using huge amounts of ram

2004-11-25 Thread Gary Doades
How much RAM can a single postgres backend use? I've just loaded a moderately sized dataset into postgres and was applying RI constraints to the tables (using pgadmin on windows). Part way though I noticed the (single) postgres backend had shot up to using 300+ MB of my RAM! The two tables are: