Re: Full page writes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Full page writes
Date: 2007-01-08 02:28:58
Message-ID: 19732.1168223338@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gregory Stark <stark(at)enterprisedb(dot)com> writes:
> It occurs to me that we don't need to write full page writes on newly extended
> pages. Is that optimization in the code already? I would check except I'm not
> even sure where to look for it.

Look for XLOG_HEAP_INIT_PAGE ... I suspect there are other cases where
the idea could be applied, but at least the basic first-heap_insert
scenario is covered.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gavin Sherry 2007-01-08 02:50:43 Re: [HACKERS] SGML index build fix
Previous Message Tom Lane 2007-01-08 02:03:34 Re: [HACKERS] SGML index build fix