Full page writes

Started by Greg Starkalmost 20 years ago2 messageshackers
Jump to latest
#1Greg Stark
stark@enterprisedb.com

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Greg Stark (#1)
Re: Full page writes

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