Обсуждение: Full page writes

Поиск
Список
Период
Сортировка

Full page writes

От
Gregory Stark
Дата:
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

От
Tom Lane
Дата:
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