changes "during checkpointing"

From: "Sahagian, David" <david(dot)sahagian(at)emc(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: changes "during checkpointing"
Date: 2013-01-11 21:04:38
Message-ID: F3CBFBA88397EA498B22A05FFA9EC49D0109CD8202@MX22A.corp.emc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In regards to 9.1.x, I would like to learn some details of the nature of "checkpointing"

=== Question 1 ===

- page 123 is dirty

- "checkpointing" starts

- page 123 gets written to disk, as part of this checkpoint

- page 123 gets modified again
? Does it get written to disk again, as part of this checkpoint?

- "checkpointing" finishes

=== Question 2 ===

- page 123 is dirty

- "checkpointing" starts

- page 123 gets modified again

- page 123 gets written to disk, as part of this checkpoint
? So does the most recent mod get written to disk, even if that mod is not committed yet ?

- "checkpointing" finishes

=== Question 3 ===

When does the full-page-writing to WAL happen ?
Is it after the start of the "checkpointing" or after the finish of the "checkpointing" ?

Thanks,
-dvs-

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gavan Schneider 2013-01-11 21:44:46 >
Previous Message Jerry Sievers 2013-01-11 20:19:41 Re: psql copy from through bash