我无法理解EXPLAIN
很简单的查询:了解简单的PostgreSQL的EXPLAIN
select * from store order by id desc limit 1;
QUERY PLAN Limit (cost=0.00..0.03 rows=1 width=31) -> Index Scan Backward using store_pkey on store (cost=0.00..8593.28 rows=250000 width=31)
为什么顶级节点(限制)花费比嵌套(索引扫描)还低?我从文件中看到它应该是累计成本,即8593.28 + 0.03