Re: [PERFORM] Optimize

2003-11-25 Thread Torsten Schulz
Chester Kustarz wrote: On Mon, 24 Nov 2003, Torsten Schulz wrote: shared_buffers = 5000# 2*max_connections, min 16 that looks pretty small. that would only be 40MBytes (8k/page * 5000pages). http://www.varlena.com/GeneralBits/Tidbits/perf.html Ok, thats it. I've set

Re: [PERFORM] [Fwd: Re: Optimize]

2003-11-25 Thread Torsten Schulz
Gaetano Mendola wrote: Torsten Schulz wrote: Hi, You can see doing select * from pg_stat_activity the queries that are currently running on your server, and do a explain analize on it to see which one is the bottleneck. If you are running the 7.4 you can see on the log the total ammount for

[Fwd: Re: [PERFORM] Optimize]

2003-11-25 Thread Torsten Schulz
Hi, You can see doing select * from pg_stat_activity the queries that are currently running on your server, and do a explain analize on it to see which one is the bottleneck. If you are running the 7.4 you can see on the log the total ammount for each query. with this query I see how much quer

Re: [PERFORM] Optimize

2003-11-24 Thread Torsten Schulz
Gaetano Mendola wrote: Torsten Schulz wrote: Yes, I know: very difficult question, but I don't know what to do now. Our Server: Dual-CPU with 1.2 GHz 1.5 GB RAM Our Problem: We are a Community. Between 19 and 21 o clock we have >350 User in the Community. But then, the Database are v

[PERFORM] Optimize

2003-11-24 Thread Torsten Schulz
Yes, I know: very difficult question, but I don't know what to do now. Our Server: Dual-CPU with 1.2 GHz 1.5 GB RAM Our Problem: We are a Community. Between 19 and 21 o clock we have >350 User in the Community. But then, the Database are very slow. And we have per CPU ~20-30% idle-time. Has any