how to identify expensive steps in an explain analyze output

Поиск
Список
Период
Сортировка
От Frits Hoogland
Тема how to identify expensive steps in an explain analyze output
Дата
Msg-id fbb8fbcd0802270218u3d27c829y5f615250e9786a61@mail.gmail.com
обсуждение исходный текст
Ответы how to identify expensive steps in an explain analyze output  ("Frits Hoogland" <frits.hoogland@gmail.com>)
Список pgsql-performance
I've got some long running queries, and want to tune them.
Using simple logic, I can understand what expensive steps in the query plan ought to be (seq scan and index scans using much rows), but I want to quantify; use a somewhat more scientific approach.

The manual states: "Actually two numbers are shown: the start-up time before the first row can be returned, and the total time to return all the rows.". Does this mean that the difference between the first and second is the cost or the time the step in the explain has taken?

TIA

frits

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

Предыдущее
От: "Markus Bertheau"
Дата:
Сообщение: Re: disabling an index without deleting it?
Следующее
От: "Frits Hoogland"
Дата:
Сообщение: how to identify expensive steps in an explain analyze output