用于SQL和ETL整定的离群值检测技术
Outlier Detection Techniques for SQL and ETL Tuning
摘要:
RDBMS是OLTP和OLAP类型应用程序的核心。对于这两种类型的应用程序,每天都要执行数千个以SQL表示的查询。所有商业DBMS引擎都在系统表中捕获关于这些执行的查询的各种属性。这些查询需要符合最佳实践,并且需要进行调优以确保最佳性能。虽然我们使用检查表,通常是强制执行相同的工具,但对查询进行分析的黑盒技术,离群值检测并不用于摘要级别的理解。这就是本文的动机,因为这不仅指出了系统内置的的低效率,而且还可能指出不断发展的最佳做法和不适当的使用。当然,这可以减少信息流的延迟并优化硬件和软件容量的利用。在本文中,我们开始制定的问题。我们探讨了四种异常值检测技术。我们将这些技术应用于丰富的语料库的生产查询和分析结果。我们还探讨了整体方法的好处。最后,我们谈谈今后的行动方针。在我们以前的工作中,我们已经使用了相同的哲学来优化提取,转换,加载(ETL)作业。第四部分对这一问题进行了简要的介绍。
英文摘要:
RDBMS is the heart for both OLTP and OLAP types of applications. For both types of applications thousands of queries expressed in terms of SQL are executed on daily basis. All the commercial DBMS engines capture various attributes in system tables about these executed queries. These queries need to conform to best practices and need to be tuned to ensure optimal performance. While we use checklists, often tools to enforce the same, a black box technique on the queries for profiling, outlier detection is not employed for a summary level understanding. This is the motivation of the paper, as this not only points out to inefficiencies built in the system, but also has the potential to point evolving best practices and inappropriate usage. Certainly this can reduce latency in information flow and optimal utilization of hardware and software capacity. In this paper we start with formulating the problem. We explore four outlier detection techniques. We apply these techniques over rich corpora of production queries and analyze the results. We also explore benefit of an ensemble approach. We conclude with future courses of action. The same philosophy we have used for optimization of extraction, transform, load (ETL) jobs in one of our previous work. We give a brief introduction of the same in section four.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。