Skip to content

Glossary: PostgreSQL Beyond the Basics

Cost (startup cost, total cost)

Also written: cost, startup cost, total cost

The planner's own estimate of work, shown as `cost=0.29..8.30`. The first number is the cost before the first row comes out, and the second is the cost to return all rows. It is not in milliseconds.

Where the book teaches it

Related terms

Estimate vs actualEXPLAIN