Leveraging Workload Prediction for Query Optimization in Multi-Tenant Parallel DBMSs
Résumé
In the realm of Database-as-a-Service (DBaaS), multi-tenancy has emerged as a key concept, enabling a single database instance to be shared among multiple tenants. Within a multi-tenant parallel DBMS, at any point, many tenants may submit SQL queries concurrently, each associated with a performance Service-Level Objective (SLO). Any violation to these SLOs requires the provider to pay fines. Given the instability of query workload in these systems, along with the need to satisfy the strict performance objectives, innovative query optimization strategies are required. These strategies should be well adapted to the specific needs of multi-tenant environments while ensuring profitability for the service provider. In this paper, we design a workload prediction management system (or Prediction Manager in short) inside the query optimizer. The main objective of this manager is to continuously predict the upcoming workload and make this information available to the optimizer. This enables the query optimizer, along with the performance SLOs, to decide when and which execution plan to select. Experimental results showed high efficiency in terms of the provider’s long-term profit relatively to those in existing literature.