Checkpoint versus Background Writer

From: Shiv Sharma <shiv(dot)sharma(dot)1835(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Checkpoint versus Background Writer
Date: 2013-12-27 19:46:42
Message-ID: CA+LWa-+xq4PJzadVRj2XtpoyPsodZ=8m-gsMLZUgb7kAnbJQkA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Shiv Sharma 2013-12-27 20:41:58 Re: Checkpoint versus Background Writer
Previous Message SUNDAY A. OLUTAYO 2013-12-27 16:47:44 Re: Checkpoint versus Background Writer