Re: Monitoring Object access

Поиск
Список
Период
Сортировка
Искать
От
tv@fuzzy.cz
Тема
Re: Monitoring Object access
Дата
Msg-id
1cfa65aa5a296cfee4767507f366cd8d.squirrel@sq.gransy.com
Ответ на
Список
Дерево обсуждения
Monitoring Object access adi hirschtein <adiso75@gmail.com>
Re: Monitoring Object access Craig Ringer <craig@postnewspapers.com.au>
Re: Monitoring Object access adi hirschtein <adiso75@gmail.com>
Re: Monitoring Object access Craig Ringer <craig@postnewspapers.com.au>
Re: Monitoring Object access adi hirschtein <adiso75@gmail.com>
Re: Monitoring Object access Satoshi Nagayasu <satoshi.nagayasu@gmail.com>
Re: Monitoring Object access Greg Smith <greg@2ndquadrant.com>
Re: Monitoring Object access adi hirschtein <adiso75@gmail.com>
Re: Monitoring Object access tv@fuzzy.cz
> I'd like to look at it from the object level and see how much I/O is being
> done on specific table or index and then check which sessions are
> responsible for that.
>
> also, what's the catalog table you would recommend me to use if I want to
> see I/O activity on an object regardless of the session?

There is a bunch of interesting tables - see pg_stat_ and pg_statio_ tables.

Don't forget the values grow all the time, so you'll have to do snapshots
and subtract them. You could do that by hand, or use a tool for that.
There is a "pgstatspack" (should work fine, although it's not developed
since 8.1 AFAIK) and I'm working on an alternative tool with a web GUI
(http://sourceforge.net/projects/pgmonitor/). Still under development and
I know about several issues, but generally works (thanks in advance for
any feedback).

Tomas

В списке pgsql-general по дате отправления
От: Luís de Sousa
Дата:
От: Satoshi Nagayasu
Дата:
Сообщение: Re: Monitoring Object access
FAQ