首页> 外国专利> USING ROW VALUE CONSTRUCTOR (RVC) BASED QUERIES TO GROUP RECORDS OF A DATABASE FOR MULTI-THREAD EXECUTION

USING ROW VALUE CONSTRUCTOR (RVC) BASED QUERIES TO GROUP RECORDS OF A DATABASE FOR MULTI-THREAD EXECUTION

机译:使用基于行值构造器(RVC)的查询对数据库的记录进行分组以实现多线程执行

摘要

Methods for splitting a plurality of records into subsets for parallel processing by separate threads are disclosed. In one embodiment, a plurality of records are added to a database. The adding includes tracking, for each unique value found in the plurality of records within a selected one of the sequence of fields, a statistic based on the values found in the plurality of records within a next one of the sequence of fields. Then a plurality of queries are generated, each includes a row value constructor (RVC) with a logical operation, a specific one of the unique values found within the selected one of the sequence of fields, and, for that specific value, the tracked statistic. Then a plurality of threads are caused to execute that each submit one of the queries and operate on a subset of the plurality of records responsive to execution of that query.
机译:公开了用于将多个记录分成子集以通过单独的线程进行并行处理的方法。在一实施例中,多个记录被添加到数据库。添加包括针对在字段序列中的一个选定字段中的多个记录中找到的每个唯一值,跟踪基于在字段序列的下一个字段中的多个记录中找到的值的统计量。然后,生成多个查询,每个查询都包含具有逻辑运算的行值构造器(RVC),在选定的一系列字段中找到的唯一值中的特定一个,以及针对该特定值的跟踪统计信息。然后,使多个线程执行以使每个线程都提交查询之一,并响应于该查询的执行而对多个记录的子集进行操作。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号