Unix Technical Forum

maximum amount of data to be written during checkpoint?

This is a discussion on maximum amount of data to be written during checkpoint? within the Pgsql General forums, part of the PostgreSQL category; --> hi, what is the maximum amount of data to be written in checkpoint? i always assumed this to be ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 12:19 AM
hubert depesz lubaczewski
 
Posts: n/a
Default maximum amount of data to be written during checkpoint?

hi,
what is the maximum amount of data to be written in checkpoint?

i always assumed this to be <shared_buffers>.

but some last tests show it to be much more. what am i missing?

best regards,

depesz

--
quicksil1er: "postgres is excellent, but like any DB it requires a
highly paid DBA. here's my CV!"
http://www.depesz.com/ - blog dla ciebie (i moje CV)

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org/

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 12:19 AM
Simon Riggs
 
Posts: n/a
Default Re: maximum amount of data to be written duringcheckpoint?

On Thu, 2008-01-24 at 11:21 +0100, hubert depesz lubaczewski wrote:

> what is the maximum amount of data to be written in checkpoint?
>
> i always assumed this to be <shared_buffers>.
>
> but some last tests show it to be much more. what am i missing?


Fsync will flush all outstanding writes, so you probably have some
writes that weren't yet flushed before the checkpoint started. If you
don't do any intermediate writing then this could be *all* of the data
you've written since the last checkpoint. If you want to reduce this,
set parameters to perform more regular writes from filesystem to disk.

--
Simon Riggs
2ndQuadrant http://www.2ndQuadrant.com


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:54 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com