Re: [PERFORM] pg_stats how-to?

2007-05-13 Thread Adam Tauno Williams
> Anyone know of a pg_stats howto? I'd appreciate any direction. Let me know if you find one! :) It isn't a HOWTO, but I have collected some notes regarding the performance views in a document - http://docs.opengroupware.org/Members/whitemice/wmogag/file_view - see the chapter on PostgreSQL. H

[PERFORM] pg_stats how-to?

2007-05-13 Thread Yudhvir Singh Sidhu
Anyone know of a pg_stats howto? I'd appreciate any direction. Yudhvir ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can

Re: [PERFORM] Kernel cache vs shared_buffers

2007-05-13 Thread Magnus Hagander
Harald Armin Massa wrote: > Heikki, > > >> > PostgreSQL on Windows. My current rule of thumb on Windows: set >> > shared_buffers to minimum * 2 >> > Adjust effective_cache_size to the number given as "system cache" >> > within the task manager. >> >> Why? > > I tried with shared_buffers = 50% of

Re: [PERFORM] Kernel cache vs shared_buffers

2007-05-13 Thread Harald Armin Massa
Heikki, > PostgreSQL on Windows. My current rule of thumb on Windows: set > shared_buffers to minimum * 2 > Adjust effective_cache_size to the number given as "system cache" > within the task manager. Why? I tried with shared_buffers = 50% of available memory, and with 30% of available memor

Re: [PERFORM] Kernel cache vs shared_buffers

2007-05-13 Thread Heikki Linnakangas
Harald Armin Massa wrote: A common rule of thumb people quote here is to set shared_buffers to 1/4 of available RAM, and leave the rest for OS cache. That's probably a good configuration to start with. And just for the record: This rule of thumb does NOT apply to PostgreSQL on Windows. My curre

Re: [PERFORM] Kernel cache vs shared_buffers

2007-05-13 Thread Harald Armin Massa
A common rule of thumb people quote here is to set shared_buffers to 1/4 of available RAM, and leave the rest for OS cache. That's probably a good configuration to start with. And just for the record: This rule of thumb does NOT apply to PostgreSQL on Windows. My current rule of thumb on Window