pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Milen A. Radev <milen@securax.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Fuhr <mike@fuhr.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: Too frequent warnings for wraparound failure
Date: Fri, 11 Mar 2005 12:06:16 +0200
Message-ID: <42316D98.9030507@securax.org> (raw)
In-Reply-To: <15917.1110474897@sss.pgh.pa.us>
References: <42301107.6010901@securax.org>
	<20050310155734.GA86004@winnie.fuhr.org>
	<423079B3.8050601@securax.org>
	<15917.1110474897@sss.pgh.pa.us>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tom Lane wrote:
> "Milen A. Radev" <milen@securax.org> writes:
> 
>>Two queries - 2 seconds apart:
> 
> 
>>template1=# SELECT datname, age(datfrozenxid) FROM pg_database;
>>  datname  |     age
>>- -----------+-------------
>> xxx1      |  1519763573
> 
> 
>>template1=# SELECT datname, age(datfrozenxid) FROM pg_database;
>>  datname  |     age
>>- -----------+-------------
>> xxx1      |  1519769620
> 
> 
> So you managed to execute about 6000 transactions in those two seconds.
> Doing what?
> 
> 			regards, tom lane


Well that could be the problem - I'm 99.99% positive we do not execute
so many transactions - may be 30-40 thousand per day and that's only for
one relatively busy DB. The example database ("xxx1") you've chosen is
not used at all. As most of the other databases in that cluster.

And another observation (closely related IMO): when I login on another
development server/cluster and execute the same query I get an increment
 for every database for every query execution. But there the version is
8.0.1.


- --
Milen A. Radev
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCMW2YqGlhYx0/sboRAvO3AJ9PAaADiX2Ci9iChyNCpojFb5uvwgCgnJ99
mzTydVpBaMCp/hJjrUvuO5Q=
=OKGe
-----END PGP SIGNATURE-----



view thread (14+ messages)  latest in thread

Message-ID: <42316D98.9030507@securax.org>
Permalink:  ../42316D98.9030507@securax.org/
Also on:    postgresql.org/message-id/42316D98.9030507@securax.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: milen@securax.org, tgl@sss.pgh.pa.us, mike@fuhr.org
  Subject: Re: Too frequent warnings for wraparound failure
  In-Reply-To: <42316D98.9030507@securax.org>
  References: <42301107.6010901@securax.org> <20050310155734.GA86004@winnie.fuhr.org> <423079B3.8050601@securax.org> <15917.1110474897@sss.pgh.pa.us> <42316D98.9030507@securax.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox