【发布时间】:2013-07-03 14:23:29
【问题描述】:
在这样的 PostgreSQL 解释计划中:
http://explain.depesz.com/s/wwO
什么可以证明最后一个 hashjoin 和 hashaggregate 之间的时间?
只处理数据量?
【问题讨论】:
标签: postgresql sql-execution-plan postgresql-performance
在这样的 PostgreSQL 解释计划中:
http://explain.depesz.com/s/wwO
什么可以证明最后一个 hashjoin 和 hashaggregate 之间的时间?
只处理数据量?
【问题讨论】:
标签: postgresql sql-execution-plan postgresql-performance
可能是因为将 290 万行减少到 32 行。
无关:您是否对该查询引用的表运行了 ANALYZE?估计与实际数量相差甚远。
【讨论】: