Re: Proposed patch: synchronized_scanning GUC variable

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Proposed patch: synchronized_scanning GUC variable
Дата
Msg-id 87myqovqnj.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Re: Proposed patch: synchronized_scanning GUC variable  (Kris Jurka <books@ejurka.com>)
Ответы Re: Proposed patch: synchronized_scanning GUC variable  (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>)
Список pgsql-patches
"Kris Jurka" <books@ejurka.com> writes:

> On Mon, 28 Jan 2008, Jeff Davis wrote:
>
>> I think that pg_dump is a reasonable use case for synchoronized scans
>> when the table has not been clustered. It could potentially make pg_dump
>> have much less of a performance impact when run against an active
>> system.
>
> One of the advantages I see with maintaining table dump order is that rsyncing
> backups to remote locations will work better.

I can't see what scenario you're talking about here. pg_dump your live
database, restore it elsewhere, then shut down the production database and run
rsync from the live database to the restored one? Why not just run rsync for
the initial transfer?

I can't see that working well for a real database and a database loaded from a
pg_dump anyways. Every dead record will introduce skew, plus page headers, and
every record will have a different system data such as xmin for one.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com
  Get trained by Bruce Momjian - ask me about EnterpriseDB's PostgreSQL training!

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Proposed patch: synchronized_scanning GUC variable
Следующее
От: Stefan Kaltenbrunner
Дата:
Сообщение: Re: Proposed patch: synchronized_scanning GUC variable