【发布时间】:2018-09-18 21:29:10
【问题描述】:
我正在分析我的查询。
postgres=# explain analyze select * from student;
QUERY PLAN
------------------------------------------------------------------------------------------------------
Seq Scan on student (cost=0.00..22.00 rows=1200 width=40) (actual time=0.005..0.005 rows=7 loops=1)
Planning time: 0.035 ms
Execution time: 0.019 ms
(3 rows)
我不知道Seq Scan on student (cost=0.00..22.00 rows=1200 width=40) (actual time=0.005..0.005 rows=7 loops=1) 中的loop=1 是什么意思。
我搜索了 postgres 文档,但没有找到任何关于循环参数的好的参考。
提前致谢。
【问题讨论】:
标签: sql postgresql select sql-execution-plan explain