Re: shared_buffers advice
От
Konrad Garus
Тема
Re: shared_buffers advice
Дата
Msg-id
AANLkTimrAAndq1reQSjXeYIX3Ztzt0tEWbSkliVTjkYl@mail.gmail.com
Ответ на
shared_buffers advice (Paul McGarry)
Список
Дерево обсуждения
shared_buffers advice Paul McGarry <paul@paulmcgarry.com>
Re: shared_buffers advice Konrad Garus <konrad.garus@gmail.com>
[SPAM] Re: shared_buffers advice Ben Chobot <bench@silentmedia.com>
Re: shared_buffers advice Cédric Villemain <cedric.villemain.debian@gmail.com>
Re: shared_buffers advice Konrad Garus <konrad.garus@gmail.com>
Re: shared_buffers advice Cédric Villemain <cedric.villemain.debian@gmail.com>
Re: shared_buffers advice Konrad Garus <konrad.garus@gmail.com>
Re: shared_buffers advice Cédric Villemain <cedric.villemain.debian@gmail.com>
Re: shared_buffers advice Konrad Garus <konrad.garus@gmail.com>
Re: shared_buffers advice Cédric Villemain <cedric.villemain.debian@gmail.com>
Re: shared_buffers advice Konrad Garus <konrad.garus@gmail.com>
Re: shared_buffers advice Cédric Villemain <cedric.villemain.debian@gmail.com>
Re: shared_buffers advice Konrad Garus <konrad.garus@gmail.com>
Re: shared_buffers advice Cédric Villemain <cedric.villemain.debian@gmail.com>
Re: shared_buffers advice Merlin Moncure <mmoncure@gmail.com>
Re: shared_buffers advice Konrad Garus <konrad.garus@gmail.com>
Re: shared_buffers advice Merlin Moncure <mmoncure@gmail.com>
Re: shared_buffers advice Greg Smith <greg@2ndquadrant.com>
Re: shared_buffers advice Merlin Moncure <mmoncure@gmail.com>
Re: shared_buffers advice Greg Smith <greg@2ndquadrant.com>
Re: shared_buffers advice Merlin Moncure <mmoncure@gmail.com>
Re: shared_buffers advice Scott Marlowe <scott.marlowe@gmail.com>
Re: shared_buffers advice Dave Crooke <dcrooke@gmail.com>
Re: shared_buffers advice Dave Crooke <dcrooke@gmail.com>
Re: shared_buffers advice Greg Smith <greg@2ndquadrant.com>
Re: shared_buffers advice "Pierre C" <lists@peufeu.com>
Re: shared_buffers advice Tom Lane <tgl@sss.pgh.pa.us>
Re: shared_buffers advice Greg Stark <gsstark@mit.edu>
Re: shared_buffers advice Alvaro Herrera <alvherre@commandprompt.com>
Re: shared_buffers advice Tom Lane <tgl@sss.pgh.pa.us>
Re: shared_buffers advice Alvaro Herrera <alvherre@commandprompt.com>
Re: shared_buffers advice Tom Lane <tgl@sss.pgh.pa.us>
Re: shared_buffers advice Alvaro Herrera <alvherre@commandprompt.com>
Re: shared_buffers advice Tom Lane <tgl@sss.pgh.pa.us>
Re: shared_buffers advice Alvaro Herrera <alvherre@commandprompt.com>
Re: shared_buffers advice Greg Smith <greg@2ndquadrant.com>
Re: shared_buffers advice Dimitri Fontaine <dfontaine@hi-media.com>
Re: shared_buffers advice Greg Smith <greg@2ndquadrant.com>
Re: shared_buffers advice Dimitri Fontaine <dfontaine@hi-media.com>
Re: shared_buffers advice Greg Smith <greg@2ndquadrant.com>
Re: shared_buffers advice Nikolas Everett <nik9000@gmail.com>
Re: shared_buffers advice "Pierre C" <lists@peufeu.com>
Re: shared_buffers advice Greg Stark <gsstark@mit.edu>
Re: shared_buffers advice Greg Smith <greg@2ndquadrant.com>
2010/3/11 Paul McGarry : > I'm basically wondering how the postgresql cache (ie shared_buffers) > and the OS page_cache interact. The general advice seems to be to > assign 1/4 of RAM to shared buffers. > > I don't have a good knowledge of the internals but I'm wondering if > this will effectively mean that roughly the same amount of RAM being > used for the OS page cache will be used for redundantly caching > something the Postgres is caching as well? I have a similar problem but I can't see an answer in this thread. Our dedicated server has 16 GB RAM. Among other settings shared_buffers is 2 GB, effective_cache_size is 12 GB. Do shared_buffers duplicate contents of OS page cache? If so, how do I know if 25% RAM is the right value for me? Actually it would not seem to be true - the less redundancy the better. Another question - is there a tool or built-in statistic that tells when/how often/how much a table is read from disk? I mean physical read, not poll from OS cache to shared_buffers. -- Konrad Garus
В списке pgsql-performance по дате отправления