Re: [Again] Postgres performance problem

From: Ruben Rubio <ruben(at)rentalia(dot)com>
To: db(at)zigo(dot)dhs(dot)org
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: [Again] Postgres performance problem
Date: 2007-09-11 07:49:37
Message-ID: 46E64891.9080005@rentalia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

db(at)zigo(dot)dhs(dot)org escribió:
>> Last time I had this problem i solved it stopping website, restarting
>> database, vacuumm it, run again website. But I guess this is going to
>> happen again.
>>
>> I would like to detect and solve the problem. Any ideas to detect it?
>
> Do you have very long transactions? Maybe some client that is connected
> all the time that is idle in transaction?

There should not be long transactions. I ll keep an eye on Idle transactions

I m detecting it using:

echo 'SELECT current_query FROM pg_stat_activity;' |
/usr/local/pgsql/bin/psql vacadb | grep IDLE | wc -l

>
> /Dennis
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG5kiRIo1XmbAXRboRAj3sAKCH21zIhvdvPcmVQG71owiCye96xwCcDPe0
o/aArJF0JjUnTIFd1sMYD+Y=
=6zyY
-----END PGP SIGNATURE-----

Attachment Content-Type Size
ruben.vcf text/x-vcard 246 bytes

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Mindaugas 2007-09-11 07:57:43 Barcelona vs Tigerton
Previous Message Luke Lonergan 2007-09-11 07:33:47 Re: random_page_costs - are defaults of 4.0 realistic for SCSI RAID 1