Re: Search connections created per day

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Search connections created per day
Дата
Msg-id dcc563d10801111011ma189480j7fb823151b1afcb3@mail.gmail.com
обсуждение исходный текст
Ответ на Search connections created per day  (João Paulo Zavanela <joao_zava@globo.com>)
Список pgsql-general
On Jan 11, 2008 11:29 AM, João Paulo Zavanela <joao_zava@globo.com> wrote:
> Hi there,
>
> I want to know how many connections is created simultaneously in data base
> per day.

Do you want to know the max simo connections at any given time, or the
total connections in a given day?  Assuming you want to know the max
simo connections at any given time, I think you're going to have to
check pg_stat_activity every x minutes and store the number of rows
somewhere to retrieve later.

> Are there some table where i can search it?

pg_stat_activity, but it only has the info for "right now" in it.

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

Предыдущее
От: Tom Hart
Дата:
Сообщение: Re: Online Oracle to Postgresql data migration
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Online Oracle to Postgresql data migration