How to know which queries are to be optimised?

Поиск
Список
Период
Сортировка
От Ulrich Wisser
Тема How to know which queries are to be optimised?
Дата
Msg-id 4110CFE7.9000202@relevanttraffic.se
обсуждение исходный текст
Ответы Re: How to know which queries are to be optimised?  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-general
Hello,

my web application grows slower and slower over time. After some
profiling I came to the conclusion that my SQL queries are the biggest
time spenders (25 seconds). Obviously I need to optimise my queries and
maybe introduce some new indexes.

The problem is, that my application uses dynamic queries. I therefor can
not determine what are the most common queries.

I have used the postgresql logging ption before. Is there a tool to
analyze the logfile for the most common and/or most time consuming queries?

TIA

Ulrich


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

Предыдущее
От: Bernd Helmle
Дата:
Сообщение: Re: Updateable Views?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Test case for bug fix in 7.4.3