Re: Forcing WAL flush

From: François Beausoleil <francois(at)teksol(dot)info>
To: james(at)mansionfamily(dot)plus(dot)com
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Forcing WAL flush
Date: 2013-01-07 21:55:39
Message-ID: F92B51B0-FD33-4EA8-8540-D775E3B9F235@teksol.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


Le 2013-01-07 à 16:49, james a écrit :

> Is there a way to force a WAL flush so that async commits (from other connections) are flushed, short of actually updating a sacrificial row?
>
> Would be nice to do it without generating anything extra, even if it is something that causes IO in the checkpoint.
>
> Am I right to think that an empty transaction won't do it, and nor will a transaction that is just a NOTIFY?

Does pg_start_backup() trigger a full WAL flush?

http://www.postgresql.org/docs/9.2/static/continuous-archiving.html#BACKUP-LOWLEVEL-BASE-BACKUP
http://www.postgresql.org/docs/9.2/static/functions-admin.html#FUNCTIONS-ADMIN-BACKUP-TABLE

Bye,
François

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message james 2013-01-07 22:05:38 Re: Forcing WAL flush
Previous Message james 2013-01-07 21:49:42 Forcing WAL flush