CPC G06F 16/24542 (2019.01) | 20 Claims |
1. A physical article of manufacture including one or more non-transitory computer-readable storage media, encoding computer-executable instructions for executing on a computer system a computer process, the computer process comprising:
receiving query logs from various query engines to a cloud data service;
extracting various query traces from the query logs, wherein the query traces including at least one of query metadata, query plans, and query runtime statistics;
parsing query traces using a plurality of parsers with each of the plurality of parsers configured to parse a different types of queries to generate a set of common workload features;
generating intermediate representations of the query workloads using the set of common workload features, wherein the intermediate representations are agnostic to the language of the plurality of the queries and are common across workloads and query engines;
identifying a plurality of workload patterns based on the intermediate representations of the query workloads;
categorizing the workloads in one or more workload type categories based on the workload patterns and the workload features; and
selecting an optimization scheme based on the category of workload pattern.
|