发明名称 Database system providing methodology for optimizing latching/copying costs in index scans on data-only locked tables
摘要 A database system is described that provides a methodology for significantly reducing latching costs associated with index pages in non-covered index scans, all without the need for using a conventional "shadow page." The database system uses a "look ahead" list (LA) to save up to a preset number (e.g., 60) of ROWIDs (row identifiers) from the qualifying index keys. Since a ROWID is typically small (e.g., about 6 bytes), the space needed to store 60 ROWIDs is typically much smaller than the underlying page size (which typically range from 2K to 32K in systems). Thus, instead of finding just one next qualifying key as is conventionally done, up to a selected number (e.g., 60) of qualifying keys on the current page are found and the ROWIDs from them are stored in the look ahead list. In many cases, the copying costs are eliminated too. In this manner, the system may avoid the substantial copying/latching overhead typically incurred for large scans for which several rows may be of interest.
申请公布号 US6631366(B1) 申请公布日期 2003.10.07
申请号 US19990421783 申请日期 1999.10.19
申请人 SYBASE, INC. 发明人 NAGAVAMSI PONNEKANTI;MARTIN JAMEISON B.
分类号 G06F17/30;(IPC1-7):G06F17/00 主分类号 G06F17/30
代理机构 代理人
主权项
地址