Re: Pet Peeves?

From: Bill Moran <wmoran(at)potentialtech(dot)com>
To: Terry Fielder <terry(at)ashtonwoodshomes(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Pet Peeves?
Date: 2009-01-29 16:44:12
Message-ID: 20090129114412.6278b533.wmoran@potentialtech.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In response to Terry Fielder <terry(at)ashtonwoodshomes(dot)com>:
>
> 1) if I have multiple pids running queries, say all selects, I have no
> idea which pid is running which query

SELECT * FROM pg_stat_activity;

If the current_query column doesn't have the query in it, then you need
to tweak your postgres.conf settings:
http://www.postgresql.org/docs/8.3/static/monitoring-stats.html

--
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gregory Stark 2009-01-29 16:45:53 Re: Text search segmentation fault
Previous Message Terry Fielder 2009-01-29 16:34:24 Re: Pet Peeves?