Re: Proposed patch: synchronized_scanning GUC variable - Mailing list pgsql-patches

From Stefan Kaltenbrunner
Subject Re: Proposed patch: synchronized_scanning GUC variable
Date
Msg-id 479F0D74.5080409@kaltenbrunner.cc
Whole thread Raw
In response to Re: Proposed patch: synchronized_scanning GUC variable  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-patches
Gregory Stark wrote:
> "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?

take a dump (maybe in plaintext format) save it to disk and use rsync to
copy it elsewhere. the more "similiar" the dumps the more efficient
rsync can copy the data over.


Stefan

pgsql-patches by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Proposed patch: synchronized_scanning GUC variable
Next
From: Peter Eisentraut
Date:
Subject: Re: WIP: plpgsql source code obfuscation