首页> 外国专利> A computer readable memory for storing a database and indices

A computer readable memory for storing a database and indices

机译:用于存储数据库和索引的计算机可读存储器

摘要

A database having fixed length records stored together in record number order and an index structure for the database. The index structure comprises a separate index for each searchable field of the records. For purposes of indexing, the records are logically divided into fine slices of 8,000 records each, and the fine slices are grouped into coarse slices of 4,000 fine slices each. The indexes include fine and coarse keys, each of which corresponds to a particular data value and a particular fine or coarse slice. Associated with each key is a link that is used to determine which records contain the data value. For the fine keys, the link includes a pointer to a bit vector that has a single bit for each of the records within the fine slice associated with the key. For the coarse keys, the link includes a pointer to a bit vector that has a single bit for each of the fine slices contained in the coarse slice. The coarse bit vector comprises two bit vectors, one that identifies which of the fine slices within the coarse slice contains any records having the data value and one that identifies which fine slices, if any, contain the data value in every one of its records. The keys are stored in a B-tree in order of a unique key value so that they are processed in record number order and the resulting list of records for any query is generated in record number order. IMAGE
机译:一种数据库,具有按记录编号顺序存储在一起的固定长度记录和该数据库的索引结构。索引结构包括针对记录的每个可搜索字段的单独索引。为了建立索引,逻辑上将记录分为每个8,000个记录的细切片,并将这些细切片分组为每个4,000个细切片的粗切片。索引包括细键和粗键,每个键对应于特定的数据值和特定的细或粗片。与每个键相关联的是一个链接,该链接用于确定哪些记录包含数据值。对于精细键,该链接包括指向位向量的指针,该位向量对于与该键相关联的精细切片内的每个记录都具有单个位。对于粗键,该链接包括指向位向量的指针,该位向量对于包含在该粗片中的每个细片具有单个位。粗略的位向量包括两个位向量,一个用于识别粗略片中的哪个细片包含任何具有数据值的记录,另一个用于识别哪个细片(如果有)在其每个记录中包含数据值。键按唯一键值的顺序存储在B树中,以便按记录号顺序对其进行处理,并按记录号顺序生成任何查询的结果记录列表。 <图像>

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号