Re: WAL question

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Evgeny Gridasov <eugrid(at)fpm(dot)kubsu(dot)ru>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: WAL question
Date: 2007-01-12 15:53:53
Message-ID: 20070112155353.GD27743@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Evgeny Gridasov wrote:
> Hello.
>
> So, what happens if I set checkpoint_segments and checkpoint_timeout very high,
> and, shared_buffers to a very low value?
> Will PostgreSQL force a checkpoint when it has not enough memory in shared_buffers for some new "un-checkpointed" data ?

It won't force a checkpoint -- it will release memory by causing
individual buffer evictions. (What checkpoint does is evicting all
buffers in one go, but backends can cause a buffer to be evicted if they
need it for something else).

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2007-01-12 16:06:09 Re: [HACKERS] Checkpoint request failed on version 8.2.1.
Previous Message Jeanna Geier 2007-01-12 15:45:27 Re: RESTORE Error