首页> 外国专利> Scheduling Database Queries Based on Elapsed Time of Queries

Scheduling Database Queries Based on Elapsed Time of Queries

机译:基于查询的经过时间调度数据库查询

摘要

A system, for example, an online system or a database system schedules requests received for execution. The system maintains consumer groups and receives a measure of amount of resources allocated for each consumer group. The system maintains a measure of accumulated elapsed time of execution of requests received from each consumer group. If the system determines that resources are available for executing a request, the system selects a request for execution from a consumer group based on the measure of accumulated elapsed time for processing queries for the consumer group and the measure of amount of resources allocated for the consumer group. The system maintains relative cumulative elapsed times of queries across consumer groups in the same ratio as the allocated share for the consumer groups. Accordingly, the system schedules requests such that each consumer group approaches its allocation of resources compared to other groups smoothly over time.
机译:系统,例如,在线系统或数据库系统,调度接收到的执行请求。该系统维护消费者组并接收为每个消费者组分配的资源量的度量。系统维护从每个消费者组接收到的请求执行所累积的经过时间的度量。如果系统确定有资源可用于执行请求,则系统会根据用于处理消费者组查询的累计经过时间的度量以及为消费者分配的资源量的度量,从消费者组中选择执行请求。组。系统将各个消费群体之间查询的相对累积经过时间保持为与为消费群体分配的份额相同的比率。相应地,系统调度请求,使得与其他组相比,每个消费者组随着时间的推移都更加接近其资源分配。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号