Checkpoint versus Background Writer - Mailing list pgsql-novice

From Shiv Sharma
Subject Checkpoint versus Background Writer
Date
Msg-id CA+LWa-+xq4PJzadVRj2XtpoyPsodZ=8m-gsMLZUgb7kAnbJQkA@mail.gmail.com
Whole thread Raw
Responses Re: Checkpoint versus Background Writer  ("SUNDAY A. OLUTAYO" <olutayo@sadeeb.com>)
Re: Checkpoint versus Background Writer  (Sergey Konoplev <gray.ru@gmail.com>)
List pgsql-novice
They seem to do similar things: clear dirty buffers from shared_buffers to disk.

So why have 2 processes with seperate semantics (seperate set of config partms) ?

Assuming PG is multi-threaded, can't we simply have multiple threads of the checkpoint achieve the same result as (checkpoint + bg)


Shiv

pgsql-novice by date:

Previous
From: Matthias Leopold
Date:
Subject: Re: plpgsql merge func question
Next
From: "SUNDAY A. OLUTAYO"
Date:
Subject: Re: Checkpoint versus Background Writer