发明名称 Query scheduler
摘要 A mixed workload management system and associated operating method modify a shortest job first (SJF) by service levels. The workload management system comprises a scheduler configured for scheduling mixed workloads. The scheduler comprises an analyzer that determines query execution time, assigns scheduling priority to a query in order inverse to the query execution time, weights the assigned scheduling priority by service level of the query, and sorts a list of queries in order of weighted scheduling priority. A schedule controller selects a query for execution from head of the sorted list of queries.
申请公布号 US9047124(B2) 申请公布日期 2015.06.02
申请号 US200812251293 申请日期 2008.10.14
申请人 Hewlett-Packard Development Company, L.P. 发明人 Mehta Abhay;Gupta Chetan Kumar
分类号 G06F17/30;G06F9/50 主分类号 G06F17/30
代理机构 Koestner Bertani LLP 代理人 Koestner Bertani LLP
主权项 1. A method for scheduling queries, comprising: assigning scheduling priorities to a plurality of queries the scheduling priorities to place the queries in an order inverse to the respective query execution times of the respective queries, the queries submitted by users ranked in a hierarchy; weighting, via a logic circuit, the previously assigned scheduling priorities according to the ranks of the users in the hierarchy to generate weighted scheduling priorities; sorting a list of the queries in order based on the weighted scheduling priorities to incorporate both the ranks of the users and the query execution times of the respective queries in the sorted list; selecting a first query for execution from a head of the sorted list of queries; executing the first query to completion without preemption by other queries from the sorted list; and executing a stream of queries from the sorted list, wherein weighting the scheduling priorities comprises computing a weight wi for each query, qi, in the queries as wi=(SLi)/pi, where SLi is a service level associated with the rank in the hierarchy of the user corresponding to the query qi, and pi is the execution time of the corresponding query qi.
地址 Houston TX US