发明名称 System and method for dynamic collaboration during query processing
摘要 A system and method of dynamic collaboration during query processing includes determining a load factor for a data source, receiving a query at a query assistant running on a computer server, determining a complexity of the query, adjusting the complexity by the load factor, simplifying the query by removing one or more first query elements from the query when the adjusted complexity is above a threshold, forming a query plan where the first query elements are designated for processing outside the data source, and performing the query plan by sending one or more abbreviated queries to the data source and processing the first query elements using the query assistant. The abbreviated queries are based on the query with the first query elements removed. In some examples, the query may be iteratively simplified until a second adjusted complexity of a simplified version of the query falls below the threshold.
申请公布号 US9391902(B2) 申请公布日期 2016.07.12
申请号 US201314106411 申请日期 2013.12.13
申请人 Red Hat, Inc. 发明人 Eliá{hacek over (s)} Filip;Nguyen Filip
分类号 G06F17/30;H04L12/803 主分类号 G06F17/30
代理机构 Haynes & Boone, LLP 代理人 Haynes & Boone, LLP
主权项 1. A method of processing a data source query, the method comprising: determining, by one or more processors of a computer server, a load factor for a data source; receiving the data source query at a query assistant being executed by the one or more processors; calculating, by the one or more processors, a complexity of the data source query; adjusting, by the one or more processors, the calculated complexity by the load factor; simplifying, by the one or more processors, the data source query by removing one or more first query elements from the data source query to form one or more abbreviated queries in response to determining that the adjusted complexity is above a threshold; forming, by the one or more processors, a query plan where the first query elements are designated for processing outside the data source; and performing, by the one or more processors, the query plan by sending the one or more abbreviated queries to the data source and processing the first query elements outside the data source.
地址 Raleigh NC US