Re: TODO-Item: B-tree fillfactor control

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: TODO-Item: B-tree fillfactor control
Дата
Msg-id 200602011832.k11IWOM10789@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: TODO-Item: B-tree fillfactor control  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> - Should indexes remember their fillfactors when they are created?
> >> The last fillfactors will be used on next reindex.
> 
> > They should remember, for sure, and REINDEX should use it.  It think
> > this is similar to the ALTER TABLE ALTER [ COLUMN ] ... SET STATISTICS 
> > functionality.  It will need to be dumped as well by pg_dump.
> 
> If you want it to be dumped by pg_dump (which is debatable IMHO) then
> it MUST NOT be a syntax extension, it has to be driven by a GUC
> variable, else we have compatibility problems with the dumps.  We just
> went through this with WITH/WITHOUT OIDS.

OK, so we are going to issue a GUC to set the fill factor in pg_dump,
but still have a fillfactor syntax for use by users?  That is how we do
WITH/WITHOUT OIDS.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: TODO-Item: B-tree fillfactor control
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: A note about testing EXEC_BACKEND on recent Linuxen