Re: Re: Backups WAS: 2 gig file size limit

From: Doug McNaught <doug(at)wireboard(dot)com>
To: Joseph Shraibman <jks(at)selectacast(dot)net>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Re: Backups WAS: 2 gig file size limit
Date: 2001-07-10 00:51:47
Message-ID: m3ith14ndo.fsf@belphigor.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-jdbc pgsql-patches

[HACKERS removed from CC: list]

Joseph Shraibman <jks(at)selectacast(dot)net> writes:

> Doing a dumpall for a backup is taking a long time, the a restore from
> the dump files doesn't leave the database in its original state. Could
> a command be added that locks all the files, quickly tars them up, then
> releases the lock?

As I understand it, pg_dump runs inside a transaction, so the output
reflects a consistent snapshot of the database as of the time the dump
starts (thanks to MVCC); restoring will put the database back to where
it was at the start of the dump.

Have you observed otherwise?

-Doug
--
The rain man gave me two cures; he said jump right in,
The first was Texas medicine--the second was just railroad gin,
And like a fool I mixed them, and it strangled up my mind,
Now people just get uglier, and I got no sense of time... --Dylan

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joseph Shraibman 2001-07-10 00:59:59 Re: Re: Backups WAS: 2 gig file size limit
Previous Message Tom Lane 2001-07-10 00:22:43 Re: [PATCH] Partial indicies again

Browse pgsql-hackers by date

  From Date Subject
Next Message Joseph Shraibman 2001-07-10 00:59:59 Re: Re: Backups WAS: 2 gig file size limit
Previous Message Tom Lane 2001-07-10 00:07:42 Re: timestamp not consistent with documentation or standard

Browse pgsql-jdbc by date

  From Date Subject
Next Message Joseph Shraibman 2001-07-10 00:59:59 Re: Re: Backups WAS: 2 gig file size limit
Previous Message Joseph Shraibman 2001-07-10 00:42:54 Re: prepared statement performance

Browse pgsql-patches by date

  From Date Subject
Next Message Joseph Shraibman 2001-07-10 00:59:59 Re: Re: Backups WAS: 2 gig file size limit
Previous Message Joseph Shraibman 2001-07-10 00:40:29 Shutdown hook imp