首页> 外国专利> Implementing descending indexes with a descend function

Implementing descending indexes with a descend function

机译:用降序函数实现降序索引

摘要

A method and apparatus is disclosed for implementing descending indexes in a database management system. A key value to be inserted within an index is decomposed into individual data bytes, such as an integer character value, that make up the key value and dictate the location where the key value will be inserted relative to other key values. A first function is applied to the data sequences in order to generate a reversed key value having reversed sorting properties. The reversed key values are then inserted into the index. The resulting index thus contains key values that are sorted in descending order. Additionally, indexes may be created on multiple key columns, with the sub_keys being independently sorted in either ascending or descending order. The present invention also discloses transformations that may be performed by a server in order to properly interpret statements that require the creation of standard or functional indexes in descending order.
机译:公开了一种用于在数据库管理系统中实现降序索引的方法和装置。将要插入索引中的键值分解为单个数据字节,例如整数字符值,这些数据字节构成键值并指示相对于其他键值插入键值的位置。将第一功能应用于数据序列,以便生成具有反向排序属性的反向键值。然后将反转的键值插入索引中。因此,结果索引包含按降序排序的键值。此外,可以在多个键列上创建索引,并且sub_keys可以按升序或降序独立排序。本发明还公开了可以由服务器执行的转换,以便正确地解释需要以降序创建标准或功能索引的语句。

著录项

  • 公开/公告号US6496830B1

    专利类型

  • 公开/公告日2002-12-17

    原文格式PDF

  • 申请/专利权人 ORACLE CORP.;

    申请/专利号US19990330071

  • 发明设计人 ROBERT J. JENKINS JR.;

    申请日1999-06-11

  • 分类号G06F173/00;

  • 国家 US

  • 入库时间 2022-08-22 00:06:11

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号