Skip to the content.

EXPLAIN 使用浅析

Options:


explain 结果 cost、rows、width 的说明

cost=0.00…234.00 rows=10000 width=74

cost=0.00…234.00
rows=10000

表示会返回 10000行。

width=74

表示每行平均宽度为74字节。

actual time、rows、loops说明

actual time=0.049..0.049 rows=100 loops=1

actual time=0.049..0.049
loops=1
rows=100

参考链接