首页> 外国专利> 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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号