how to identify expensive steps in an explain analyze output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux