V2EX  ›  英汉词典

Index Scan

释义 Definition

(数据库)索引扫描:查询时利用索引结构(如 B-tree)定位或遍历符合条件的记录,以减少读取的数据量;相较于 full table scan(全表扫描) 通常更高效。(在某些情况下也可能是“按索引顺序扫描/遍历”的泛称。)

发音 Pronunciation

/ˈɪn.dɛks skæn/

例句 Examples

The query uses an index scan to find the user quickly.
该查询使用索引扫描来快速找到该用户。

Because the filter is selective and the index covers the needed columns, the optimizer chooses an index scan instead of a full table scan, reducing I/O dramatically.
由于过滤条件选择性高且索引覆盖所需列,优化器选择索引扫描而不是全表扫描,从而大幅减少磁盘读写。

词源 Etymology

index 来自拉丁语 index,本义与“指示者、目录”相关,后来引申为“索引、索引表”。scan 源自中古法语/古诺斯语相关词,常见义为“浏览、扫描、检查”。合在一起的 index scan 在数据库语境中指“按索引进行扫描/检索”,即用索引来引导数据访问路径。

相关词 Related Words

文学与著作中的用例 Literary Works

  • Database System Concepts(Silberschatz, Korth, Sudarshan):在查询处理与索引章节中讨论索引访问路径(包括 index scan)的选择。
  • SQL Performance Explained(Markus Winand):讲解索引如何影响执行计划,常涉及 index scan 与 table scan 的对比。
  • PostgreSQL: Up and Running(Regina Obe, Leo Hsu):介绍 PostgreSQL 执行计划时会出现 “Index Scan” 等节点名称与含义。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2820 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 54ms · UTC 13:00 · PVG 21:00 · LAX 06:00 · JFK 09:00
♥ Do have faith in what you're doing.