arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1808.08355cs.DB
收藏

与数据库无关的数据库管理

Database-Agnostic Workload Management

Shrainik Jain, Jiaqi Yan, Thierry Cruane, Bill Howe

摘要:

我们提出了一个系统,以支持多租户和多数据库平台的通用SQL工作负载分析和管理。SQL分析应用程序在支持数据库管理、建模用户行为、审计安全和路由查询方面变得越来越复杂,但这些方法依赖于专门的特征工程,因此必须针对每个SQL方言、数据库系统和应用程序仔细实现和重新实现。与此同时,随着系统集中在云中,工作负载的规模和复杂性正在增加。我们模型的工作负载分析和管理任务的变化,查询标签,并提出了一个系统设计,可以支持跨多个应用程序和数据库后端的一般查询标签例程。该设计依赖于使用SQL查询的学习向量嵌入作为特定于应用程序的语法功能的替代品,减少了自定义代码,并允许使用现成的机器学习算法进行标记。我们在本文中提供证据的关键假设是,这些学习的特征可以在代表性的机器学习任务上优于传统的特征工程。我们提出了一个与数据库无关的工作负载管理和分析服务的设计,描述了潜在的应用程序,并表明将工作负载表示与标签任务分离提供了新的功能,并且可以优于现有的代表性任务解决方案,包括用于索引推荐的工作负载采样和用于安全审计的用户标签。

英文摘要:

We present a system to support generalized SQL workload analysis and management for multi-tenant and multi-database platforms. Workload analysis applications are becoming more sophisticated to support database administration, model user behavior, audit security, and route queries, but the methods rely on specialized feature engineering, and therefore must be carefully implemented and reimplemented for each SQL dialect, database system, and application. Meanwhile, the size and complexity of workloads are increasing as systems centralize in the cloud. We model workload analysis and management tasks as variations on query labeling, and propose a system design that can support general query labeling routines across multiple applications and database backends. The design relies on the use of learned vector embeddings for SQL queries as a replacement for application-specific syntactic features, reducing custom code and allowing the use of off-the-shelf machine learning algorithms for labeling. The key hypothesis, for which we provide evidence in this paper, is that these learned features can outperform conventional feature engineering on representative machine learning tasks. We present the design of a database-agnostic workload management and analytics service, describe potential applications, and show that separating workload representation from labeling tasks affords new capabilities and can outperform existing solutions for representative tasks, including workload sampling for index recommendation and user labeling for security audits.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑