orphan record 是数据库和信息管理领域的术语,指"孤立记录"或"孤儿记录"——即在数据库中失去了与其关联的父记录或主记录的数据条目。这类记录因为关联关系断裂而变得无主、无法被正常引用或访问。
在更广泛的语境中,也可泛指任何因关联丢失而被遗留、无人管理的记录或档案。
/ˈɔːr.fən ˈrɛk.ərd/
When we deleted the customer table without cascading, hundreds of orphan records were left in the orders table.
当我们删除客户表却没有设置级联删除时,订单表中留下了数百条孤立记录。
The database administrator wrote a cleanup script to identify and remove orphan records that had accumulated over years of schema migrations and manual data edits.
数据库管理员编写了一个清理脚本,用于识别并删除在多年架构迁移和手动数据编辑过程中累积的孤立记录。
orphan 源自晚期拉丁语 orphanus,再追溯至希腊语 orphanos,意为"失去父母的、孤独的"。record 源自古法语 recorder,来自拉丁语 recordari,意为"回忆、记录"。两词组合后,orphan record 作为技术术语在关系型数据库兴起的20世纪后期被广泛使用,用来比喻那些像"孤儿"一样失去了"父记录"关联的数据条目。