Re: Checkpoint question - Mailing list pgsql-general

From Tom Lane
Subject Re: Checkpoint question
Date
Msg-id 4621.1058798461@sss.pgh.pa.us
Whole thread Raw
In response to Re: Checkpoint question  (u15074 <u15074@hs-harz.de>)
List pgsql-general
u15074 <u15074@hs-harz.de> writes:
> Can you specify more exactly what you mean with update rate? I moslty perform
> inserts on the database (is that what you mean?).

Sure, inserts/updates/deletes.

> Also I do not understand, why checkpoint does not touch WAL, but RAM. I thought
> that a checkpoint reads the information from the WAL-Files and pushes these
> information to the data files.

Not in Postgres.  Updates are applied immediately to copies of the data
file pages in RAM; all that checkpoint has to do is force those buffers
out to disk.

            regards, tom lane

pgsql-general by date:

Previous
From: Shridhar Daithankar
Date:
Subject: A doubt w.r.t WAL
Next
From: apb18@cornell.edu
Date:
Subject: Re: Detoasting and memory usage