首页> 外国专利> Early exit from table scans of loosely ordered and/or grouped relations using nearly ordered maps

Early exit from table scans of loosely ordered and/or grouped relations using nearly ordered maps

机译:使用近乎有序的映射关系从表扫描中提前退出松散有序和/或分组的关系

摘要

According to embodiments of the present invention, methods, systems and computer-readable media are presented for scanning a plurality of storage regions within memory for a specified quantity of results, wherein each storage region is associated with an interval including first and second interval values indicating a value range for values within that storage region. The techniques comprise sorting the first interval values into an order, wherein the order of the first interval values determines a scanning order for the plurality of storage regions, determining a result value, wherein the result value is an upper bound, a lower bound, or is outside of the specified quantity of results, and examining the sorted first interval values and scanning corresponding individual storage regions in response to a comparison of the determined result value with the first interval value of that storage region. In some embodiments, scanning exits upon establishing that the specified quantity of results has been achieved and that a first interval value in a list of sorted first interval values is greater than the determined result value.
机译:根据本发明的实施例,提出了用于扫描存储器内的多个存储区域以获得指定数量的结果的方法,系统和计算机可读介质,其中每个存储区域与包括第一和第二间隔值的间隔相关联,该第一和第二间隔值指示该存储区域内的值的值范围。该技术包括将第一间隔值排序为一个顺序,其中第一间隔值的顺序确定多个存储区域的扫描顺序,确定结果值,其中结果值是上限,下限或在确定的结果数量之外,检查排序的第一间隔值并响应于确定的结果值与该存储区域的第一间隔值的比较来扫描相应的单个存储区域。在一些实施例中,在确定已经达到指定数量的结果并且已排序的第一间隔值的列表中的第一间隔值大于确定的结果值时退出扫描。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号