Re: go for a script! / ex: PostgreSQL vs. MySQL - Mailing list pgsql-performance

From Vivek Khera
Subject Re: go for a script! / ex: PostgreSQL vs. MySQL
Date
Msg-id 16263.8497.95525.673249@yertle.int.kciLink.com
Whole thread Raw
In response to Re: go for a script! / ex: PostgreSQL vs. MySQL  (Josh Berkus <josh@agliodbs.com>)
Responses Re: go for a script! / ex: PostgreSQL vs. MySQL  (Josh Berkus <josh@agliodbs.com>)
unsuscribe mailing list  (ingrim <ingridm@qoslabs.com>)
List pgsql-performance
>>>>> "JB" == Josh Berkus <josh@agliodbs.com> writes:

JB> Vivek,
NB> shared_buffers = 1/16th of total memory
NB> effective_cache_size = 80% of the supposed kernel cache.
>>
>> Please take into account the blocksize compiled into PG, too...

JB> We can;t change the blocksize in a script that only does the .conf
JB> file.  Or are you suggesting something else?


when you compute optimal shared buffers and effective cache size,
these are in terms of blocksize.  so if I have 16k block size, you
can't compute based on default 8k blocksize.  at worst, it would have
to be a parameter you pass to the tuning script.

pgsql-performance by date:

Previous
From: "David Busby"
Date:
Subject: Index/Foreign Key Question
Next
From: Bruce Momjian
Date:
Subject: Re: further testing on IDE drives