V2EX  ›  英汉词典

Table Scan

定义 Definition

table scan(也常说 full table scan)指在数据库中不借助索引,而是逐行读取整张表来查找满足条件的数据的操作;通常在过滤条件不适合用索引或没有可用索引时发生。

发音 Pronunciation

/ˈteɪbəl skæn/

例句 Examples

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.
由于查询在未建立索引的列上进行过滤,优化器选择了表扫描而不是索引扫描,导致高峰流量下延迟升高。

词源 Etymology

table(表) + scan(扫描) 组合而成的技术词组:意思是“扫描整张数据表”。在数据库与查询优化语境中,它特指按行顺序读取表中记录的访问方式。

相关词 Related Words

文学与著作中的用例 Literary Works

  • Database System Concepts(Silberschatz, Korth, Sudarshan)中讨论查询执行计划时常提到 table scan
  • Designing Data-Intensive Applications(Martin Kleppmann)在讲解存储与索引权衡时涉及类似的全表读取/扫描概念。
  • SQL Performance Explained(Markus Winand)在解释为什么会发生全表扫描以及如何通过索引避免时使用该术语。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2856 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 32ms · UTC 14:20 · PVG 22:20 · LAX 07:20 · JFK 10:20
♥ Do have faith in what you're doing.