Re: use of pg_stat_database

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: use of pg_stat_database
Дата
Msg-id b42b73150906300626w3c6355b9pef9a046e2e0354c9@mail.gmail.com
обсуждение исходный текст
Ответ на use of pg_stat_database  (abdelhak benmohamed <abdelhak.benmohamed@yahoo.fr>)
Список pgsql-hackers
On Tue, Jun 30, 2009 at 7:13 AM, abdelhak
benmohamed<abdelhak.benmohamed@yahoo.fr> wrote:
> Hellow,
>
>
>
> I like to track the number of committed transaction for my database
>
> So I use the following command
>
> Select * from pg_stat_database;
>
>
>
> The column xact_commit gives me the number of transaction committed
>
>
>
> But if I execute the same command another time, the column xact_commit gives
> me an other number.
>
>
>
> Between the first select and the second select I don’t execute any
> transaction on my database
>
>
>
> Please, can any one help me to understanding the cause of the change?

try turning on statement logging (log_statement='all').  please post
q&a time questions to -general.

merlin


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

Предыдущее
От: Aidan Van Dyk
Дата:
Сообщение: Re: pre-proposal: permissions made easier
Следующее
От: Robert Haas
Дата:
Сообщение: Re: 8.5 development schedule