From: Brad Nicholson <bnichols@ca.afilias.info>
To: pgsql-admin@postgresql.org
Subject: Re: Performance Question
Date: Tue, 15 Mar 2005 10:32:37 -0500
Message-ID: <42370015.5020404@ca.afilias.info> (raw)
In-Reply-To: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAUwQqaqKa8EeTFMxLtmNJY8KAAAAQAAAARyVM3KC130mzNnu5sHCXuAEAAAAA@saicom.co.za>
References: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAUwQqaqKa8EeTFMxLtmNJY8KAAAAQAAAARyVM3KC130mzNnu5sHCXuAEAAAAA@saicom.co.za>
Werner vd Merwe wrote:
>Output of VACUUM ANALYSE VERBOSE pg_listener:
>
>Query OK, 0 rows affected (0.06 sec)
>INFO: vacuuming "pg_catalog.pg_listener"
>INFO: "pg_listener": found 0 removable, 0 nonremovable row versions in 0
>pages
>INFO: analyzing "pg_catalog.pg_listener"
>INFO: "pg_listener": 0 pages, 0 rows sampled, 0 estimated total rows
>
>
>
No problems there.
>At any given time we have between 10 and 20 IDLE connections.
>
>
>
How long have the transactions been IDLE for? Do the IDLE transactions
have any locks on anything (check pg_locks)?
I suspect that (gently) killing the IDLE transactions that are sitting
around doing nothing will prevent you from having to restart the postmaster.
--
Brad Nicholson
Database Administrator, Afilias Canada Corp.
>-----Original Message-----
>From: pgsql-admin-owner@postgresql.org
>[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Brad Nicholson
>Sent: 14 March 2005 07:10 PM
>To: PgSQL Admin
>Subject: Re: [ADMIN] Performance Question
>
>I'm wondering if long running transacations might be the cause (you'll
>likely want to do this while perfomance is suffering).
>
>Have a look at pg_stat_activity and see if there are any long running
>transacations (or any idle transactions).
>
>I'd also be curious to see the output of the following:
>
>VACUUM ANALYZE VERBOSE pg_listener;
>
>
>
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: bnichols@ca.afilias.info
Subject: Re: Performance Question
In-Reply-To: <42370015.5020404@ca.afilias.info>
References: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAUwQqaqKa8EeTFMxLtmNJY8KAAAAQAAAARyVM3KC130mzNnu5sHCXuAEAAAAA@saicom.co.za> <42370015.5020404@ca.afilias.info>
* 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