From: | Jayadevan M <maymala(dot)jayadevan(at)gmail(dot)com> |
---|---|
To: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Theory question |
Date: | 2013-11-14 02:30:51 |
Message-ID: | CAFS1N4gTw_tTmg0ipqs5BgQHMwnHUjmA6MS6_5ijUcb6vFNP=Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Nov 14, 2013 at 7:58 AM, Jayadevan <maymala(dot)jayadevan(at)gmail(dot)com>wrote:
> Jeff Janes wrote
> > No. The checkpointer writes all data that was dirty as of a certain time
> > (the start of the checkpoint) regardless of how often it was used since
> > dirtied, and the background writer writes data that hasn't been used
> > recently, regardless of when it was first dirtied. Neither knows or
> cares
> > whether the data being written was committed, rolled back, or still in
> > progress.
>
> Thank you. So checkpointer writes "all dirty data" while backgrounder
> writes
> "all or some dirty data" depending on some (Clocksweep?) algorithm.
> Correct?
> From this discussion
>
> http://postgresql.1045698.n5.nabble.com/Separating-bgwriter-and-checkpointer-td4808791.html
> <
> http://postgresql.1045698.n5.nabble.com/Separating-bgwriter-and-checkpointer-td4808791.html
> >
> the bgwrites has some 'other dutties'. Probably those involve marking the
> buffers - when they were last used, how frequently etc?
>
>
>
> That should have been "backgrounder writes "all or some dirty or non-dirty
data" "...
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2013-11-14 02:33:17 | commit fest 2013-11 wants reviewers |
Previous Message | Jayadevan | 2013-11-14 02:28:15 | Re: Theory question |