Re: pg_dump's aborted transactions - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pg_dump's aborted transactions
Date
Msg-id CA+TgmoacRQn+jiEN9ppt7RJ2sNsp7-VOvorQZoNojzkid7wtVA@mail.gmail.com
Whole thread Raw
In response to Re: pg_dump's aborted transactions  (Stephen Frost <sfrost@snowman.net>)
Responses Re: pg_dump's aborted transactions  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
On Wed, Feb 4, 2015 at 8:08 AM, Stephen Frost <sfrost@snowman.net> wrote:
> Apologies for the confusion- the client isn't using it to determine if
> there's activity.  They're using it exactly as it's intended, as I
> understand it- to check and see if the number of rollbacks is
> signifigant compared to the number of commits.  The issue is that, with
> databases that have little activity, you can end up with a commit ratio
> of 50% or less.  Perhaps check_postgres could have an option to only
> complain when some minimum number of transactions has been reached..

That sounds like a much better idea.  pg_dump isn't really doing
anything wrong here, so "fixing" it feels like the wrong solution.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Unnecessary pointer-NULL checks in pgp-pgsql.c
Next
From: Robert Haas
Date:
Subject: Re: Getting rid of wal_level=archive and default to hot_standby + wal_senders