Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Performance > Re: shared_buff...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 14 Topic 3991 of 4424
Post > Topic >>

Re: shared_buffers performance

by tgl@[EMAIL PROTECTED] (Tom Lane) Apr 14, 2008 at 03:31 PM

Gregory Stark <stark@[EMAIL PROTECTED]
> writes:
> The transition domain where performance drops dramatically as the
database
> starts to not fit in shared buffers but does still fit in filesystem
cache.

It looks to me like the knee comes where the DB no longer fits in
filesystem cache.  What's interesting is that there seems to be no
synergy at all between shared_buffers and the filesystem cache.
Ideally, very hot pages would stay in shared buffers and drop out of the
kernel cache, allowing you to use a database approximating all-of-RAM
before you hit the performance wall.  It's clear that in this example
that's not happening, or at least that only a small part of shared
buffers isn't getting duplicated in filesystem cache.

Of course, that's because pgbench reads a randomly-chosen row of
"accounts" in each transaction, so that there's exactly zero locality
of access.  A more realistic workload would probably have a Zipfian
distribution of account number touches, and might look a little better
on this type of test.

			regards, tom lane

-- 
Sent via pgsql-performance mailing list (pgsql-performance@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
 




 14 Posts in Topic:
shared_buffers performance
mendola@[EMAIL PROTECTED]  2008-04-14 11:13:05 
Re: shared_buffers performance
stark@[EMAIL PROTECTED]   2008-04-14 11:56:47 
Re: shared_buffers performance
dev@[EMAIL PROTECTED] (R  2008-04-14 12:25:45 
Re: shared_buffers performance
gsmith@[EMAIL PROTECTED]   2008-04-14 11:44:44 
Re: shared_buffers performance
tgl@[EMAIL PROTECTED] (T  2008-04-14 15:31:54 
Re: shared_buffers performance
stark@[EMAIL PROTECTED]   2008-04-14 20:58:21 
Re: shared_buffers performance
gsmith@[EMAIL PROTECTED]   2008-04-14 16:08:48 
Re: shared_buffers performance
gsmith@[EMAIL PROTECTED]   2008-04-14 11:42:50 
Re: shared_buffers performance
Gaetano Mendola <mendo  2008-04-15 11:05:12 
Re: shared_buffers performance
Gaetano Mendola <mendo  2008-04-15 11:11:31 
Vacuum settings
dforums@[EMAIL PROTECTED]  2008-04-20 19:48:53 
Re: Vacuum settings
alvherre@[EMAIL PROTECTED  2008-04-21 11:03:37 
Re: shared_buffers performance
mendola@[EMAIL PROTECTED]  2008-04-15 17:08:02 
Re: Vacuum settings
gc@[EMAIL PROTECTED] (Gu  2008-04-21 17:31:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 8:46:23 CST 2008.