Continuous Cloud-Scale Query Optimization and Processing

被引:27
作者
Bruno, Nicolas [1 ]
Jain, Sapna [2 ]
Zhou, Jingren [1 ]
机构
[1] Microsoft Corp, Redmond, WA 98008 USA
[2] Indian Inst Technol, Bombay, Maharashtra, India
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2013年 / 6卷 / 11期
关键词
D O I
10.14778/2536222.2536223
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Massive data analysis in cloud-scale data centers plays a crucial role in making critical business decisions. Highlevel scripting languages free developers from understanding various system trade-offs, but introduce new challenges for query optimization. One key optimization challenge is missing accurate data statistics, typically due to massive data volumes and their distributed nature, complex computation logic, and frequent usage of user-defined functions. In this paper we propose novel techniques to adapt query processing in the Scope system, the cloud-scale computation environment in Microsoft Online Services. We continuously monitor query execution, collect actual runtime statistics, and adapt parallel execution plans as the query executes. We discuss similarities and differences between our approach and alternatives proposed in the context of traditional centralized systems. Experiments on large-scale Scope production clusters show that the proposed techniques systematically solve the challenge of missing/inaccurate data statistics, detect and resolve partition skew and plan structure, and improve query latency by a few folds for real workloads. Although we focus on optimizing high-level languages, the same ideas are also applicable for MapReduce systems.
引用
收藏
页码:961 / 972
页数:12
相关论文
共 25 条
  • [21] Stillger M., 2001, P VLDB C
  • [22] Thusoo A., 2010, P ICDE C
  • [23] Yu Y., 2008, P OSDI C
  • [24] Zhou J., 2012, VLDB J, V21
  • [25] Zhou J., 2010, P ICDE C