Re: PITR timeline question

From: Csaba Nagy <nagy(at)ecircle-ag(dot)com>
To: Postgres general mailing list <pgsql-general(at)postgresql(dot)org>
Cc: Jim Nasby <jnasby(at)pervasive(dot)com>
Subject: Re: PITR timeline question
Date: 2006-08-10 12:22:43
Message-ID: 1155212563.21451.280.camel@coppola.muc.ecircle.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> There's been some speculation about allowing a standby server to execute
> purely read-only operations, but it's just speculation so far.

To add some more speculations, I wonder if that can be workable at
all... given that the data pages are overwritten by WAL records, and not
under transactional control of the standby server, how can you ensure
that a read only transaction on the standby will see a consistent
snapshot of the data ? It is possible that some data on a page which
should be visible for the read only transaction is overwritten or even
deleted by some incoming WAL record.

I think the only solution would be to only recover up to the oldest
local transaction's start time, but then if you have long running
transactions on the stand-by, you'll also have long delays in
recovery... which might not be what people want...

Cheers,
Csaba.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Walid Haider 2006-08-10 13:10:00 Unable to connect to PostgreSQL 8 from PGAdmin III
Previous Message Roger Mason 2006-08-10 11:01:16 Re: psycopg problem