(数据库)次键/辅助键:在一张表中,除了主键(Primary Key)之外,用来辅助检索、排序或建立索引的键(或键属性/字段)。它通常不要求唯一,主要用于提升查询效率或支持特定访问路径。(在不同教材与语境中也可能与“secondary index(二级索引)”相关联。)
/ˈsɛkənˌdɛri kiː/
A secondary key helps you search the table faster.
次键可以帮助你更快地在表中检索数据。
In large databases, choosing an appropriate secondary key (often implemented through an index) can greatly reduce query time for common filters like date or status.
在大型数据库中,选择合适的次键(通常通过索引实现)可以显著降低按日期或状态等常见条件过滤查询的耗时。
secondary 来自拉丁语 secundarius,意为“第二的、次要的”;key 原义为“钥匙”,在信息与数据库领域引申为“用来定位/开启访问的数据字段”。合起来 secondary key 字面意思就是“次要的键”,即相对于主键而言的辅助性键。