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: Background ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 12 Topic 3995 of 4424
Post > Topic >>

Re: Background writer underemphasized ...

by james@[EMAIL PROTECTED] (James Mansion) Apr 19, 2008 at 04:06 PM

Greg Smith wrote:
> Using the background writer more assures that the cache on the 
> controller is going to be written to aggressively, so it may be 
> somewhat filled already come checkpoint time.  If you leave the writer 
> off, when the checkpoint comes you're much more likely to have the 
> full 2GB available to absorb a large block of writes.
But isn't it the case that while using background writer might result in 
*slightly* more data to write (since data that is updated several times 
might actually be sent several times), the total amount of data in both 
cases is much the same?  And if the buffer backed up in the BGW case, 
wouldn't it also back up (more?) if the writes are deferred?  And in 
fact by sending earlier, the real bottleneck (the disks) could have been 
getting on with it and staring their IO earlier?

Can you explian your reasoning a bit more?

James


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




 12 Posts in Topic:
Background writer underemphasized ...
mjy@[EMAIL PROTECTED] (M  2008-04-16 17:22:50 
Re: Background writer underemphasized ...
Chris Browne <cbbrowne  2008-04-16 13:47:59 
Re: Background writer underemphasized ...
wmoran@[EMAIL PROTECTED]   2008-04-16 14:43:35 
Re: Background writer underemphasized ...
gsmith@[EMAIL PROTECTED]   2008-04-16 15:55:51 
Re: Background writer underemphasized ...
gsmith@[EMAIL PROTECTED]   2008-04-16 15:45:22 
Re: Background writer underemphasized ...
mjy@[EMAIL PROTECTED] (M  2008-04-17 20:46:05 
Re: Background writer underemphasized ...
gsmith@[EMAIL PROTECTED]   2008-04-19 05:22:46 
Re: Background writer underemphasized ...
james@[EMAIL PROTECTED]   2008-04-19 16:06:05 
Re: Background writer underemphasized ...
gsmith@[EMAIL PROTECTED]   2008-04-19 15:29:38 
Re: Background writer underemphasized ...
james@[EMAIL PROTECTED]   2008-04-20 15:41:13 
Re: Background writer underemphasized ...
gsmith@[EMAIL PROTECTED]   2008-04-23 01:11:01 
Re: Background writer underemphasized ...
wmoran@[EMAIL PROTECTED]   2008-04-16 16:07:24 

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:41:24 CST 2008.