Re: Performance Question - Mailing list pgsql-admin

From Werner vd Merwe
Subject Re: Performance Question
Date
Msg-id !~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAUwQqaqKa8EeTFMxLtmNJY8KAAAAQAAAA8zsAbYmIXEuDIZWpfMulhwEAAAAA@saicom.co.za
Whole thread Raw
In response to Re: Performance Question  (Brad Nicholson <bnichols@ca.afilias.info>)
List pgsql-admin
Hi Brad,

Just before I carry on - I am not sure if top-posting is 'allowed' on this
list, if not, please let me know and I'll stop  :)

Will gently be level 15?

There are a couple of locks, both exclusive and shared...


-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Brad Nicholson
Sent: 15 March 2005 05:33 PM
To: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Performance Question

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;
>
>
>



---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 2005/03/15


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 2005/03/15



pgsql-admin by date:

Previous
From: Robert Perry
Date:
Subject: Re: FYI: Interview with Josh Berkus at Mad Penguin
Next
From: "Werner vd Merwe"
Date:
Subject: Re: Performance Question