首页> 外国专利> SPLITTING A TIME-RANGE QUERY INTO MULTIPLE SUB-QUERIES FOR PARALLEL EXECUTION

SPLITTING A TIME-RANGE QUERY INTO MULTIPLE SUB-QUERIES FOR PARALLEL EXECUTION

机译:将时间范围查询分解为多个子查询以进行并行执行

摘要

Techniques for splitting a time-range query into sub-queries for parallel execution are provided. In one embodiment, a user query requesting items from a database is received. A total number of items in the database that correspond to a time range of the user query is determined. Based on the total number of items, target values are determined. Each target value represents a target number of items in the database to be assigned to a respective sub-query. Based on the target values, a plurality of time periods within the time range are determined. Each time period corresponds to a respective set of items in the database platform, and a total number of items in the respective set of items corresponds to a respective target value. Sub-queries defining respective time periods of the plurality of time periods are then generated from the user query and executed in parallel.
机译:提供了将时间范围查询分为子查询以并行执行的技术。在一个实施例中,接收从数据库请求项目的用户查询。确定数据库中与用户查询的时间范围相对应的项目总数。根据项目总数,确定目标值。每个目标值表示数据库中要分配给各个子查询的目标项目数。基于目标值,确定时间范围内的多个时间段。每个时间段对应于数据库平台中的各个项目组,并且各个项目组中的项目总数对应于各个目标值。然后,从用户查询中生成定义多个时间段中的各个时间段的子查询并并行执行。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号