Re: Queries causing highest I/O load since pg_stat_reset?
В списке pgsql-general по дате отправления:
| От | Jim C. Nasby |
|---|---|
| Тема | Re: Queries causing highest I/O load since pg_stat_reset? |
| Дата | |
| Msg-id | 20051114225608.GS18570@pervasive.com обсуждение исходный текст |
| Ответ на | Queries causing highest I/O load since pg_stat_reset? ("Mikael Carneholm" <Mikael.Carneholm@WirelessCar.com>) |
| Список | pgsql-general |
I don't think there's any way to do this currently. Maybe if you wrote an external program that polled pg_stat_activity and then correlated procpid to the output of top, etc. On Mon, Nov 14, 2005 at 08:59:19PM +0100, Mikael Carneholm wrote: > Hi, > > is it possible to retrieve a list of queries that has caused the highest i/o load? Something like > > (1) select pg_stat_reset(); > (2) run some queries for a while > (3) list the queries that caused the highest i/o since step (1) > > ? > > /Mikael > > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend > -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера