Re: Too frequent warnings for wraparound failure

From: "Milen A(dot) Radev" <milen(at)securax(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Fuhr <mike(at)fuhr(dot)org>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Too frequent warnings for wraparound failure
Date: 2005-03-11 10:06:16
Message-ID: 42316D98.9030507@securax.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

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

Tom Lane wrote:
> "Milen A. Radev" <milen(at)securax(dot)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-----

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message John DeSoi 2005-03-11 12:38:20 Re: How to enable automatic md5 password prompting when connecting to PostgreSQL
Previous Message Qingqing Zhou 2005-03-11 09:32:05 Re: IO Timeout

Browse pgsql-hackers by date

  From Date Subject
Next Message Richard Huxton 2005-03-11 10:56:47 Re: fool-toleranced optimizer
Previous Message Simon Riggs 2005-03-11 09:55:35 Re: [PATCHES] WAL: O_DIRECT and multipage-writer (+