Re: [GENERAL] How to know which queries are to be optimised?

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: [GENERAL] How to know which queries are to be optimised?
Дата
Msg-id 411B5184.6090106@archonet.com
обсуждение исходный текст
Ответ на Re: [GENERAL] How to know which queries are to be optimised?  (Ulrich Wisser <ulrich.wisser@relevanttraffic.se>)
Ответы Re: [GENERAL] How to know which queries are to be optimised?  (Rudi Starcevic <tech@wildcash.com>)
Список pgsql-performance
Ulrich Wisser wrote:
>> You can log queries that run for at least a specified amount of time.
>> This will be useful in finding what the long running queries are.
>> You can then use explain analyse to see why they are long running.
>
> But is there a tool that could compile a summary out of the log? The log
> grows awefully big after a short time.

You might want to look at the "Practical Query Analyser" - haven't used
it myself yet, but it seems a sensible idea.

http://pqa.projects.postgresql.org/

--
   Richard Huxton
   Archonet Ltd

В списке pgsql-performance по дате отправления:

Предыдущее
От: Ulrich Wisser
Дата:
Сообщение: Re: [GENERAL] How to know which queries are to be optimised?
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: Hardware upgrade for a high-traffic database