| От | Russell Garrett |
|---|---|
| Тема | Re: [Fwd: Re: Optimize] |
| Дата | |
| Msg-id | MKEGJINFADFODDNOKEJCGEJEEJAA.rg@tcslon.com обсуждение |
| Ответ на | Re: [Fwd: Re: Optimize] (Torsten Schulz <comic@be-a-part.de>) |
| Список | pgsql-performance |
>>> with this query I see how much queries running, but the field
>>> current_query are free, so i can't see which queries are very slow.
>>
>>
>> You must perform that query with permission of super_user.
>>
> I've made it in root-account with psql -U postgres - but i can't see
> the query
You must have these lines in your postgresql.conf for the query stats to be
collected:
stats_start_collector = true
stats_command_string = true
--------------------------------------------------------------------
Russ Garrett russ@last.fm
http://last.fm
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера