Thread: Full page writes

Full page writes

From
Gregory Stark
Date:
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. 

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com


Re: Full page writes

From
Tom Lane
Date:
Gregory Stark <stark@enterprisedb.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