Re: Slow PITR restore

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: Slow PITR restore
Date: 2007-12-12 16:29:10
Message-ID: 47600C56.4020205@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Simon Riggs wrote:
> On Wed, 2007-12-12 at 07:36 -0800, Joshua D. Drake wrote:
>
>> We can't really expect people to use PITR if they new
>> it would take hours to recover even on the size of machine I was working on.
>
> That's not true statement in all cases and can often be improved with
> some monitoring and tuning. Just get your client to call me :-)
>

Uhh.. right.

> Are you doing replication, or a PITR for another reason?

Warm standby. Normally we pull every 5 minutes which is why we hadn't
noticed this before. However last night we pulled a full sync and
recover and that is when we noticed it.

8 seconds for a single archive recovery is very slow in consideration of
this machine. Even single threaded that seems slow.

Sincerely,

Joshua D. Drake

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jan Sunavec 2007-12-12 16:47:49 Re: convert function
Previous Message Douglas McNaught 2007-12-12 16:22:54 Re: Would it be OK if I put db file on a ext2 filesystem?

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-12-12 17:13:58 Re: Slow PITR restore
Previous Message Andrew Sullivan 2007-12-12 16:25:38 Re: WORM and Read Only Tables (v0.1)