Re: [Fwd: Re: Optimize]

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Torsten Schulz
Дата:
Сообщение: Re: Optimize
Следующее
От: Josh Berkus
Дата:
Сообщение: Wierd context-switching issue on Xeon