Re: Query Feromance

Поиск
Список
Период
Сортировка
От Marco Furetto
Тема Re: Query Feromance
Дата
Msg-id 441FCDD2.8010905@bluestudio.it
обсуждение исходный текст
Ответ на Re: Query Feromance  (Thomas Pundt <mlists@rp-online.de>)
Ответы Re: Query Feromance
Список pgsql-performance
ok, I enable query duration logging in postgresql.conf.

where is the instruments for analyze the statistics queries executing on
my  db?

Eg.: Number of query executing, total time for executing a single query,
etc...


Thank's

Marco "Furetto" Berri


Thomas Pundt wrote:
> Hi,
>
> On Tuesday 21 March 2006 09:25, Marco Furetto wrote:
> | I'm managing the db of a "Content Management environment" and I'm
> | searching for a "Query analyzer" to improve performance because i don't
> | know how many and what type of queries are executing on the system (for
> | the "where and join" block).
>
> as a first step, I'd enable query duration logging; in postgresql.conf
> I have set
>
>   log_min_duration_statement = 3000
>
> this will log each query that needs more than 3 seconds to complete.
>
> The next step would be to "explain analyze" the problematic queries.
>
> Ciao,
> Thomas
>

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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: planner with index scan cost way off actual cost, advices to tweak cost constants?
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: planner with index scan cost way off actual cost, advices to tweak cost constants?