CLUSTER and synchronized scans and pg_dump et al

Поиск
Список
Период
Сортировка
Искать
От
Gregory Stark
Тема
CLUSTER and synchronized scans and pg_dump et al
Дата
Msg-id
87odb7s45i.fsf@oxford.xeocode.com
Список
Дерево обсуждения
CLUSTER and synchronized scans and pg_dump et al Gregory Stark <stark@enterprisedb.com>
Re: CLUSTER and synchronized scans and pg_dump et al Jeff Davis <pgsql@j-davis.com>
Re: CLUSTER and synchronized scans and pg_dump et al Tom Lane <tgl@sss.pgh.pa.us>
Re: CLUSTER and synchronized scans and pg_dump et al Jeff Davis <pgsql@j-davis.com>
Re: CLUSTER and synchronized scans and pg_dump et al "Guillaume Smet" <guillaume.smet@gmail.com>
Re: CLUSTER and synchronized scans and pg_dump et al Tom Lane <tgl@sss.pgh.pa.us>
Re: CLUSTER and synchronized scans and pg_dump et al "Guillaume Smet" <guillaume.smet@gmail.com>
Re: CLUSTER and synchronized scans and pg_dump et al Tom Lane <tgl@sss.pgh.pa.us>
Re: CLUSTER and synchronized scans and pg_dump et al Jeff Davis <pgsql@j-davis.com>
Re: CLUSTER and synchronized scans and pg_dump et al "Guillaume Smet" <guillaume.smet@gmail.com>
Re: CLUSTER and synchronized scans and pg_dump et al "Markus Bertheau" <mbertheau.pg@googlemail.com>
Re: CLUSTER and synchronized scans and pg_dump et al "Guillaume Smet" <guillaume.smet@gmail.com>
Re: CLUSTER and synchronized scans and pg_dump et al "Florian G. Pflug" <fgp@phlo.org>
Re: CLUSTER and synchronized scans and pg_dump et al "Guillaume Smet" <guillaume.smet@gmail.com>
Re: CLUSTER and synchronized scans and pg_dump et al Tom Lane <tgl@sss.pgh.pa.us>
Re: CLUSTER and synchronized scans and pg_dump et al "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: CLUSTER and synchronized scans and pg_dump et al Andrew Dunstan <andrew@dunslane.net>
Re: CLUSTER and synchronized scans and pg_dump et al Tom Lane <tgl@sss.pgh.pa.us>
Re: CLUSTER and synchronized scans and pg_dump et al "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: CLUSTER and synchronized scans and pg_dump et al Steve Atkins <steve@blighty.com>
Re: CLUSTER and synchronized scans and pg_dump et al "Florian G. Pflug" <fgp@phlo.org>
Re: CLUSTER and synchronized scans and pg_dump et al "Kevin Grittner" <Kevin.Grittner@wicourts.gov>

It occurred to me the other day that synchronized scans could play havoc with
clustered tables. When you dump and reload a table even if it was recently
clustered if any other sequential scans are happening in the system at the
time you dump it the dump could shuffle the records out of order. 

Now the records would still be effectively ordered for most purposes but our
statistics can't detect that. Since the correlation would be poor the restored
database would have markedly different statistics showing virtually no
correlation on the clustered column.

Perhaps we should have some form of escape hatch for pg_dump to request real
physical order when dumping clustered tables.

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com Ask me about EnterpriseDB's 24x7 Postgres support!

В списке pgsql-hackers по дате отправления
От: Ivan Voras
Дата:
Сообщение: Re: Simple row serialization?
От: Andrew Dunstan
Дата:
Сообщение: Re: Simple row serialization?
FAQ