Re: Query Optimization

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: Query Optimization
Дата
Msg-id 20060521073419.GA5582@KanotixBox
обсуждение исходный текст
Ответ на Query Optimization  (shakil tanvir <tanvirshakil@yahoo.com>)
Список pgsql-novice
shakil tanvir <tanvirshakil@yahoo.com> schrieb:

> Hi Guys,
>
> Can anyone tell me, how i can see at psql that how fast my query is executing?

You can use "\timing" to switch timing on/off, and you can use explain
and explain analyse.

09:33 < akretschmer|home> ??explain
09:33 < rtfm_please> For information about explain
09:33 < rtfm_please> see http://techdocs.postgresql.org/oscon2005/robert.treat/OSCON_Explaining_Explain_Public.sxi
09:33 < rtfm_please> or http://www.postgresql.org/docs/current/static/sql-explain.html

Btw.: please no HTML, and please don't hijacking other threads.


HTH, Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."    (unknow)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°

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

Предыдущее
От: shakil tanvir
Дата:
Сообщение: Query Optimization
Следующее
От: "sam karush"
Дата:
Сообщение: Re: PG on zeta 1.0