首页> 外国专利> Database system with improved methods for filtering duplicates from a tuple stream

Database system with improved methods for filtering duplicates from a tuple stream

机译:具有用于从元组流中过滤重复项的改进方法的数据库系统

摘要

A Client/Server Database system is described which includes a Database Server providing methods eliminating duplicates from an ordered tuple stream (e.g., resulting from a query involving a database "join"), without the need for performing an expensive sort operation. Specifically, the system provides a "filter" which eliminates duplicates without having to perform a sort. The filter, which is implemented as an optimization at the level of the query processor, comprises two basic pieces. The first piece, INIT.sub.-- FILTER, simply serves to initialize the filter--that is, the piece sets a flag that forces the filter to pass the first tuple encountered and to construct a first key from it. The second piece, FILTER, serves as the actual filter, when the system scans the tuple stream. If the current tuple has the same key as the preceding tuple, then the current tuple is thrown away. Otherwise, the current tuple is passed and a new key is constructed from it. The positions of both INIT.sub.-- FILTER and FILTER in a given join order are important. INIT.sub.-- FILTER immediately preceeds the scan which initializes the filter; FILTER immediately follows the scan which actually performs the filtering.
机译:描述了一种客户机/服务器数据库系统,该系统包括数据库服务器,该数据库服务器提供了从有序元组流中消除重复的方法(例如,由于涉及数据库“ join”的查询而导致的结果),而无需执行昂贵的排序操作。具体地,系统提供了“过滤器”,其消除了重复项而无需执行分类。在查询处理器级别实现为优化的过滤器包括两个基本部分。第一部分,INIT.sub .-- FILTER,仅用于初始化过滤器,也就是说,该部分设置了一个标志,该标志迫使过滤器通过遇到的第一个元组并从中构造第一个键。当系统扫描元组流时,第二部分FILTER充当实际的过滤器。如果当前元组与先前的元组具有相同的键,则将当前元组丢弃。否则,将传递当前的元组,并从中构造一个新的键。在给定的连接顺序中,INIT-FILTER和FILTER的位置都很重要。 INIT.sub。-FILTER紧随扫描之前,初始化过滤器; FILTER会立即跟随实际执行过滤的扫描。

著录项

  • 公开/公告号US5937401A

    专利类型

  • 公开/公告日1999-08-10

    原文格式PDF

  • 申请/专利权人 SYBASE INC.;

    申请/专利号US19960757367

  • 发明设计人 RICHARD HILLEGAS;

    申请日1996-11-27

  • 分类号G06F17/30;

  • 国家 US

  • 入库时间 2022-08-22 02:07:32

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号