Re: Monitoring Connections

Поиск
Список
Период
Сортировка
От Jeff Frost
Тема Re: Monitoring Connections
Дата
Msg-id Pine.LNX.4.64.0609201219410.32444@discord.home.frostconsultingllc.com
обсуждение исходный текст
Ответ на Re: Monitoring Connections  ("Tomeh, Husam" <htomeh@firstam.com>)
Список pgsql-admin
I wrote some slony task based documentation for Pervasive a few months
back. Now that they've decided to opt out of the postgres community I
understand they will be turning over the documentation to the community.
Hopefully we'll be able to make some use of this stuff.  Unfortunately, I'm
not sure who we could contact to get hold of this stuff.

On Wed, 20 Sep 2006, Tomeh, Husam wrote:

> The backend_start column in pg_stat_activity system view gives you the
> start time of the backend connection which's what you see in the ps
> command; however, the query_start column should give you the start time
> of last query within the connection.  The values of these columns may
> not be necessarily the same if you're using connection pooling. If you
> don't see the data for these columns, make sure to enable the stats
> collection on your pg postgresql.conf file (stats_*  parameters).
>
> Regards,
>
> --
>  Husam
>  http://firstdba.googlepages.com
>
>
> ________________________________
>
> From: aaron.bono@gmail.com [mailto:aaron.bono@gmail.com] On Behalf Of
> Aaron Bono
> Sent: Wednesday, September 20, 2006 11:46 AM
> To: Tomeh, Husam
> Cc: pgsql admin
> Subject: Re: [ADMIN] Monitoring Connections
>
> I checked the pg_stat_activity table and it doesn't give any more
> information than I got from the ps command.
>
> Is there any way to find out the last time the connection was used?
>
> Thanks,
> Aaron
>
>
> ==================================================================
>   Aaron Bono
>   Aranya Software Technologies, Inc.
>   http://www.aranya.com
>   http://codeelixir.com
> ==================================================================
>
> **********************************************************************
> This message contains confidential information intended only for the use of the addressee(s) named above and may
containinformation that is legally privileged.  If you are not the addressee, or the person responsible for delivering
itto the addressee, you are hereby notified that reading, disseminating, distributing or copying this message is
strictlyprohibited.  If you have received this message by mistake, please immediately notify us by replying to the
messageand delete the original message immediately thereafter. 
>
> Thank you.
>
>                                   FADLD Tag
> **********************************************************************
>

--
Jeff Frost, Owner     <jeff@frostconsultingllc.com>
Frost Consulting, LLC     http://www.frostconsultingllc.com/
Phone: 650-780-7908    FAX: 650-649-1954

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Tomeh, Husam"
Дата:
Сообщение: Re: Monitoring Connections
Следующее
От: "Jeanna Geier"
Дата:
Сообщение: Re: Beginning SSL Questions