Re: How to clock the time spent for query parsing and planning?

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: How to clock the time spent for query parsing and planning?
Дата
Msg-id CAFj8pRARtqa16g50X_nk-J_qq0kahbE=vFVMf47XErHkFTaz4g@mail.gmail.com
обсуждение исходный текст
Ответ на How to clock the time spent for query parsing and planning?  (Igor Schtein <ischtein@gmail.com>)
Ответы Re: How to clock the time spent for query parsing and planning?
Список pgsql-performance
Hello

2011/12/23 Igor Schtein <ischtein@gmail.com>:
> I'd like to find some measurements/figures of query preparation and planning
> time to justify the use of prepared statements and stored procedures.
> I know that complex queries have larger preparation time. Though, is it
> possible to explicitly measure the time the optimizer spends parsing and
> planning for query execution?

You can use time for EXPLAIN statement

Regards

Pavel Stehule

>
> Thank you,
> James

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

Предыдущее
От: "Michael Smolsky"
Дата:
Сообщение: Exploring memory usage
Следующее
От: MirrorX
Дата:
Сообщение: parse - bind take more time than execute