Re: [GENERAL] Recovery/Restore and Roll Forward Question.

2007-06-21 Thread Erik Jones
On Jun 21, 2007, at 5:16 AM, Bruce McAlister wrote: Thats exactly what I think. There is something strange going on. At the moment I think it is the disk I am writing the data to that is slow, possibly due to the fact that it is mounted up as "forcedirectio", so as not to interfere with the

Re: [GENERAL] Recovery/Restore and Roll Forward Question.

2007-06-21 Thread Bruce McAlister
Albe Laurenz wrote: > Richard Huxton wrote: >>> In our environment it takes approx 2 hours to perform a PIT backup of >>> our live system: >>> >>> [1] select pg_start_backup('labe;') >>> [2] cpio & compress database directory (exclude wals) >>> [3] select pg_stop_backup() >>> >>> However, if we per

Re: [GENERAL] Recovery/Restore and Roll Forward Question.

2007-06-21 Thread Bruce McAlister
Richard Huxton wrote: > Bruce McAlister wrote: >> Thats exactly what I think. There is something strange going on. At the >> moment I think it is the disk I am writing the data to that is slow, >> possibly due to the fact that it is mounted up as "forcedirectio", so as >> not to interfere with the

Re: [GENERAL] Recovery/Restore and Roll Forward Question.

2007-06-21 Thread Albe Laurenz
Richard Huxton wrote: >> In our environment it takes approx 2 hours to perform a PIT backup of >> our live system: >> >> [1] select pg_start_backup('labe;') >> [2] cpio & compress database directory (exclude wals) >> [3] select pg_stop_backup() >> >> However, if we perform a plain dump (pg_dump/p

Re: [GENERAL] Recovery/Restore and Roll Forward Question.

2007-06-21 Thread Richard Huxton
Bruce McAlister wrote: Thats exactly what I think. There is something strange going on. At the moment I think it is the disk I am writing the data to that is slow, possibly due to the fact that it is mounted up as "forcedirectio", so as not to interfere with the file system cache which we want to

Re: [GENERAL] Recovery/Restore and Roll Forward Question.

2007-06-21 Thread Bruce McAlister
Richard Huxton wrote: > Bruce McAlister wrote: >> Hi All, >> >> Is it at all possible to "roll forward" a database with archive logs >> when it has been recovered using a dump? >> >> Assuming I have the archive_command and archive_timeout parameters set >> on our "live" system, then I follow these

Re: [GENERAL] Recovery/Restore and Roll Forward Question.

2007-06-21 Thread Richard Huxton
Bruce McAlister wrote: Hi All, Is it at all possible to "roll forward" a database with archive logs when it has been recovered using a dump? Assuming I have the archive_command and archive_timeout parameters set on our "live" system, then I follow these steps: [1] pg_dump -d database > /backup