Re: Pet Peeves? - Mailing list pgsql-general

From Bill Moran
Subject Re: Pet Peeves?
Date
Msg-id 20090129114412.6278b533.wmoran@potentialtech.com
Whole thread Raw
In response to Re: Pet Peeves?  (Terry Fielder <terry@ashtonwoodshomes.com>)
List pgsql-general
In response to Terry Fielder <terry@ashtonwoodshomes.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/

pgsql-general by date:

Previous
From: Terry Fielder
Date:
Subject: Re: Pet Peeves?
Next
From: Gregory Stark
Date:
Subject: Re: Text search segmentation fault