| От | georgy_zhukov@hotmail.com (Georgy Zhukov) |
|---|---|
| Тема | Postgresql monitoring question |
| Дата | |
| Msg-id | a53824e.0201150000.35e645b9@posting.google.com обсуждение исходный текст |
| Ответы |
Re: Postgresql monitoring question
|
| Список | pgsql-general |
I inherited a postgresql database which has queries run against it from perl scripts. I need to determine which query from the scripts is taking an extremely long time, but do not know how to monitor or identify queries as they are run against the database. I know little of postgresql, but quite a bit about SQL and databases in general. Are there tools I can use to monitor or log (*not* transaction log) what is going on inside the database. Once I can identify the query, I can go into the perl code (several thousand lines) and figure out the part I need to modify (assuming that I need to change the perl), or which tables/indexes to optimize. Thanks for any help.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера