Re: Hot Standby - ERROR: canceling statement due to conflict with recovery

From: Jens Wilke <jens(at)wilke(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Hot Standby - ERROR: canceling statement due to conflict with recovery
Date: 2011-02-27 19:04:58
Message-ID: 201102272005.00234.jens@wilke.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sonntag, 27. Februar 2011, Sean Laurent wrote:

> Unfortunately, most queries against the hot standby fail. Worse
> yet, pg_dump fails:
...
> I'm not entirely certain I understand why I'm seeing this. Nor do
> I understand how to fix or work around this. Any advice or
> suggestions would be greatly appreciated.

Long running queries on the standby are a bit tricky, because they
might need to see row versions that are already removed on the
master.
It's well documented:
http://www.postgresql.org/docs/9.0/static/hot-standby.html

HTH, Jens

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2011-02-27 19:54:33 Re: database is bigger after dump/restore - why? (60 GB to 109 GB)
Previous Message Sean Laurent 2011-02-27 18:30:21 Hot Standby - ERROR: canceling statement due to conflict with recovery