Re: Long SQL Update Question

From: imad <immaad(at)gmail(dot)com>
To: "Dylan Lorimer" <edylan(at)google(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Long SQL Update Question
Date: 2006-11-04 09:08:40
Message-ID: 1f30b80c0611040108n5235c135qe5fff990f1636e76@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

You can turn on logging ... but your transaction would be even slower
after that.

The following links should give you some pointers:
http://www.postgresql.org/docs/8.1/static/monitoring-stats.html
http://www.postgresql.org/docs/8.1/static/monitoring.html

Also try Nagios monitoring plugins for PostgreSQL. Get it from pgFoundry.

--Imad
www.EnterpriseDB.com

On 11/4/06, Dylan Lorimer <edylan(at)google(dot)com> wrote:
> So I kicked off a SQL transaction that has been running for 30+ minutes. Is
> there any way to monitor it to know if it has possibly hanged or not? To be
> fair, it is an update on 4+ million rows, so I expect it to run for a bit.
> But any stats or metrics I can get would be helpful.
> Cheers,
> dylan
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Mark Simon 2006-11-05 06:17:15 Create View
Previous Message Dylan Lorimer 2006-11-04 00:28:06 Re: Duplicate Fields + Views Questions