Re: sequence caches

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joseph Shraibman <joseph(at)xtenit(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: sequence caches
Date: 2003-05-21 03:11:10
Message-ID: 4283.1053486670@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Joseph Shraibman <joseph(at)xtenit(dot)com> writes:
> Tom Lane wrote:
>> 3 times, unless you changed the default cache setting.

> OK, next question: How many times does it write the new sequence value to the disk?

Less than that --- there's aggregation of WAL updates for sequences.
See the code in backend/commands/sequence.c.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-05-21 03:40:08 Re: new mail server for PGSQL-GENERAL ?
Previous Message Jan Wieck 2003-05-21 02:52:35 Re: How to deny user changing his own password?