2
explain analyse select true;
╔════════════════════════════════════════════════════════════════════════════════════╗
║ QUERY PLAN ║
╠════════════════════════════════════════════════════════════════════════════════════╣
║ Result (cost=0.00..0.01 rows=1 width=0) (actual time=0.016..0.016 rows=1 loops=1) ║
║ Planning time: 0.073 ms ║
║ Execution time: 0.109 ms ║
╚════════════════════════════════════════════════════════════════════════════════════╝
explain analyze select true;
╔════════════════════════════════════════════════════════════════════════════════════╗
║ QUERY PLAN ║
╠════════════════════════════════════════════════════════════════════════════════════╣
║ Result (cost=0.00..0.01 rows=1 width=0) (actual time=0.004..0.005 rows=1 loops=1) ║
║ Planning time: 0.030 ms ║
║ Execution time: 0.036 ms ║
╚════════════════════════════════════════════════════════════════════════════════════╝
它是功能还是记录功能(分析=分析)?PostgreSQL`analyse` vs`analyze`
Analyze在美国和加拿大使用,而在英国和澳大利亚进行分析。可能会做同义词以避免混淆。 – Andre
@我听说过“色彩”和“色彩”,“沙皇”和“凯撒”等。学习外语是一件非常有趣的事情!谢谢! – Abelisto
没关系,但为什么“分析”比“分析”快得多?! – klin