首页> 外国专利> Program storage device and computer program product for outer join operations using responsibility regions assigned to inner tables in a relational database

Program storage device and computer program product for outer join operations using responsibility regions assigned to inner tables in a relational database

机译:程序存储设备和计算机程序产品,用于使用分配给关系数据库中内部表的责任区进行外部联接操作

摘要

A computer database system utilizes a method for performing a right outer join of database tables without sorting the inner table (T. sub.2). The processing of each tuple in the outer table (T.sub.1) includes the preservation in the joint output of all tuples in T.sub.2 which are in its responsibility region. The initialization step of the process preserves in the join output all of the tuples in T.sub.2 which have column set values less than the lowest column set value in T.sub.1, i.e. the first tuple in T.sub.1, since T.sub.1 is sorted or accessed using a sorted index. The responsibility region for tuples in T.sub.1, other than the last tuple, is defined as those tuples which have column set values less than the column set value for the next tuple in T.sub.1 and greater than or equal to the column set value for the current T.sub.1 tuple. The last tuple in T.sub.1 must preserve all of the tuples in T.sub. 2 which have not already been preserved in T.sub.2, i.e. all tuples greater than or equal to its column set value. If T.sub.1 has duplicate values for the column set value, only the last one preserves the associated T.sub.2 tuples. Additional methods for parallel execution of the outer join methods and methods for applying the outer join methods to subqueries (i. e., an All (or universal) Right Join (ARJOIN) and an Existential Right Join (ERJOIN)) are described.
机译:计算机数据库系统利用一种方法来执行数据库表的右外部联接,而不对内部表进行排序(T. sub.2)。外部表(T.sub.1)中每个元组的处理包括将T.sub.2中位于其职责区域中的所有元组保留在联合输出中。该过程的初始化步骤在联接输出中保留T.sub.2中所有元组,这些元组的列设置值小于T.sub.1中的最低列设置值,即T.sub.1中的第一个元组。 ,因为T.sub.1是使用排序索引进行排序或访问的。 T.sub.1中除最后一个元组之外的元组的职责区域定义为那些列设置值小于T.sub.1中下一个元组的列设置值且大于或等于的那些元组。当前T.sub.1元组的列设置值。 T.sub.1中的最后一个元组必须保留T.sub.sub中的所有元组。 2个尚未保留在T.sub.2中的元素,即所有大于或等于其列设置值的元组。如果T.sub.1具有重复的列设置值,则只有最后一个保留相关的T.sub.2元组。描述了用于并行执行外部联接方法的附加方法以及将外部联接方法应用于子查询的方法(即,所有(或通用)右联接(ARJOIN)和现有右联接(ERJOIN))。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号