Understanding explains

Поиск
Список
Период
Сортировка
От Francisco Reyes
Тема Understanding explains
Дата
Msg-id 20041011164950.J97379@zoraida.natserv.net
обсуждение исходный текст
Ответы Re: Understanding explains  (Rosser Schwarz <rosser.schwarz@gmail.com>)
Список pgsql-performance
Is there a tutorial or reference to the different terms that appear on the
explain output?


Items such as "Nested Loop", "Hash"..

Also is there a way to easily tell which of two explains is "worse".
Example I am running a query with "set enable_seqscan to off;" and i see
the explain now shows index scans, but not sure if is any faster now.

I tried "explain analyze" and the "total runtime" for the one with
seq_scan off was faster, but after repeathing them they both dropped in
time, likely due to data getting cached. Even after the time drops for
both the one with seqscan off was always faster.

Is there any disadvantage of having the enable_seqscan off?

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

Предыдущее
От: Francisco Reyes
Дата:
Сообщение: Re: why my query is not using index??
Следующее
От: Gabriele Bartolini
Дата:
Сообщение: Normal case or bad query plan?