Re: PITR performance costs - Mailing list pgsql-performance

From Stephen Frost
Subject Re: PITR performance costs
Date
Msg-id 20070528194603.GO7531@tamriel.snowman.net
Whole thread Raw
In response to Re: PITR performance costs  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-performance
Dave, et al,

* Dave Cramer (pg@fastcrypt.com) wrote:
> Don't the archived logs have to be copied as well as the regular WAL
> logs get recycled ?

Yes, but I'd expect at the point they're being copied off to some other
store (probably a seperate disk, or even over the network to another
system, etc), they're probably in the system cache, so you're probably
not going out to disk to get those blocks anyway.  That might not be the
case on a slow-write system, but in those cases it seems at least
somewhat unlikely you'll be hit very hard by the occational 16MB copy
off the disk...

    Thanks,

        Stephen

> On 28-May-07, at 12:31 PM, Heikki Linnakangas wrote:
>
> >Dave Cramer wrote:
> >>Since PITR has to enable archiving does this not increase the
> >>amount of disk I/O required ?
> >
> >There's no difference in normal DML operations, but some bulk
> >operations like CREATE INDEX that don't otherwise generate WAL,
> >need to be WAL logged when archiving is enabled.
> >
> >--
> >  Heikki Linnakangas
> >  EnterpriseDB   http://www.enterprisedb.com
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
>               http://www.postgresql.org/docs/faq

Attachment

pgsql-performance by date:

Previous
From: Dave Cramer
Date:
Subject: Re: PITR performance costs
Next
From: Simon Riggs
Date:
Subject: Re: PITR performance costs