Re: Slow PITR restore - Mailing list pgsql-general

From Gregory Stark
Subject Re: Slow PITR restore
Date
Msg-id 87r6hr3i68.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: Slow PITR restore  (Jeff Trout <threshar@torgo.978.org>)
Responses Re: Slow PITR restore
Re: Slow PITR restore
List pgsql-general
"Jeff Trout" <threshar@torgo.978.org> writes:

> On Dec 12, 2007, at 11:29 AM, Joshua D. Drake wrote:
>
>> 8 seconds for a single archive recovery is very slow in  consideration of
>> this machine. Even single threaded that seems slow.
>
> I've seen this on my PITR restores (thankfully, they were for  fetching some
> old data, not because we expoded).  On a 2.4ghz opteron  it took 5-50 seconds
> per wal segment,

I'm not sure what you guys' expectations are, but if you're restoring 5
minutes worth of database traffic in 8 seconds I wouldn't be complaining.

Depending on your transaction mix and what percentage of it is read-only
select queries you might reasonably expect the restore to take as long as it
took to generate them...

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com
  Ask me about EnterpriseDB's RemoteDBA services!

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Slow PITR restore
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Slow PITR restore