table scan(也常说 full table scan)指在数据库中不借助索引,而是逐行读取整张表来查找满足条件的数据的操作;通常在过滤条件不适合用索引或没有可用索引时发生。
/ˈteɪbəl skæn/
A table scan can be slow on large tables.
对大表进行全表扫描可能会很慢。
Because the query filtered on an unindexed column, the optimizer chose a table scan instead of an index scan, causing high latency under peak traffic.
由于查询在未建立索引的列上进行过滤,优化器选择了表扫描而不是索引扫描,导致高峰流量下延迟升高。
由 table(表) + scan(扫描) 组合而成的技术词组:意思是“扫描整张数据表”。在数据库与查询优化语境中,它特指按行顺序读取表中记录的访问方式。