Motivation Business analysis Order entry Maintenance

Slides:



Advertisements
Similar presentations
Using the SQL Access Advisor
Advertisements

TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Chapter 5: CPU Scheduling
Zhongxing Telecom Pakistan (Pvt.) Ltd
Java Autonomic Agent Framework with Self-Testing Andrew Diniz da Costa Camila Nunes
Technische Universität München + Hewlett Packard Laboratories Dynamic Workload Management for Very Large Data Warehouses Juggling Feathers and Bowling.
Slide 1 Insert your own content. Slide 2 Insert your own content.
Pricing for Utility-driven Resource Management and Allocation in Clusters Chee Shin Yeo and Rajkumar Buyya Grid Computing and Distributed Systems (GRIDS)
Chapter 26 Legacy Systems.
Effective Change Detection Using Sampling Junghoo John Cho Alexandros Ntoulas UCLA.
SecuBat: An Automated Web Vulnerability Detection Framework
Challenge the future Delft University of Technology Overprovisioning for Performance Consistency in Grids Nezih Yigitbasi and Dick Epema Parallel.
GEONETCast Initiative of GEO presented at the EC GEONETCast workshop 5 March 2006 GEO Secretariat.
12 Copyright © 2005, Oracle. All rights reserved. Query Rewrite.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
Confidential and Proprietary XBRL in Santander Group Munich, May 10th 2007 Confidential and Proprietary.
Financial Management of Rural Development Programmes. IT systems SFC 2007 and RDIS Brussels, 3 October 2007.
0 - 0.
ADDING INTEGERS 1. POS. + POS. = POS. 2. NEG. + NEG. = NEG. 3. POS. + NEG. OR NEG. + POS. SUBTRACT TAKE SIGN OF BIGGER ABSOLUTE VALUE.
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
The ANSI/SPARC Architecture of a Database Environment
Limitations of the relational model 1. 2 Overview application areas for which the relational model is inadequate - reasons drawbacks of relational DBMSs.
1 Term 2, 2004, Lecture 9, Distributed DatabasesMarian Ursu, Department of Computing, Goldsmiths College Distributed databases 3.
Evaluating Provider Reliability in Risk-aware Grid Brokering Iain Gourlay.
Technische Universität München Massively Parallel Sort-Merge Joins (MPSM) in Main Memory Multi-Core Database Systems Martina Albutiu, Alfons Kemper, and.
Jiexing Li #*, Rimma Nehme *, Jeff Naughton #* # University of Wisconsin-Madison * Microsoft Jim Gray Systems Lab Toward Progress Indicators on Steroids.
Cluster Computing with Dryad Mihai Budiu, MSR-SVC LiveLabs, March 2008.
The Order Fulfillment Process
Configuration management
Software change management
Independent Consultant
DOROTHY Design Of customeR dRiven shOes and multi-siTe factorY Product and Production Configuration Method (PPCM) ICE 2009 IMS Workshops Dorothy Parallel.
On-line Index Selection for Physical Database Tuning
Managing Web server performance with AutoTune agents by Y. Diao, J. L. Hellerstein, S. Parekh, J. P. Bigu Jangwon Han Seongwon Park
© Bharati Vidyapeeths Institute of Computer Applications and Management, New Delhi © Bharati Vidyapeeths Institute of Computer Applications and.
Web Performance Tuning Lin Wang, Ph.D. US Department of Education Copyright [Lin Wang] [2004]. This work is the intellectual property of the author. Permission.
Copyright © 2011 by the Commonwealth of Pennsylvania. All Rights Reserved. Load Test Report.
The Platform as a Service Model for Networking Eric Keller, Jennifer Rexford Princeton University INM/WREN 2010.
1 SLA Enforcement in the Service Cloud Anja Grünheid Fakultät für Informatik Lehrstuhl III - Datenbanksysteme.
State of Connecticut Core-CT Project Query 8 hrs Updated 6/06/2006.
Copyright © Wondershare Software
Adding services to PA and Plesk infrastructure with APS Ilya Baimetov Director of Program Management, Automation.
Implementation of MPC in a deethanizer at the Kårstø Gas plant
Destaff Overview – A reduction form is used for destaffs for Certified and Administrative positions. Please remember to indicate the current position/location,
Database System Concepts and Architecture
Florian Waas, EMC Corp. Leo Giakoumakis, Microsoft Corp. Shin Zhang, Microsoft Corp 06/13/2011 Plan Space Analysis Detecting Plan Regressions in Cost-based.
Efficient Top-k Search across Heterogeneous XML Data Sources Jianxin Li 1 Chengfei Liu 1 Jeffrey Xu Yu 2 Rui Zhou 1 1 Swinburne University of Technology.
Introduction to Indexes Rui Zhang The University of Melbourne Aug 2006.
Copyright © 2010, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks.
Past Tense Probe. Past Tense Probe Past Tense Probe – Practice 1.
DRM P-CM Roadmap V5_MCS Change Control: Rolling updates for Taxonomy, Adjusting Training, Technology, DRM Process, Facilities 5. Design Change Controls.
Continued Investment in ATML
Addition 1’s to 20.
Requirements Analysis 1. 1 Introduction b501.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis Introduction.
Setting Next Year’s Standard Cost David Jones. ` Budget Year N Std Cost Year N -ve variance vs.Std cost +ve variance vs.Std cost €10 €8 Budget Year N+1.
Test B, 100 Subtraction Facts
Technische Universität München Beam Simulation at COMPASS Gentner Day Karl A. Bicker.
Week 1.
We will resume in: 25 Minutes.
Database Administration
CMU SCS : Multimedia Databases and Data Mining Lecture#1: Introduction Christos Faloutsos CMU
University of Minnesota Optimizing MapReduce Provisioning in the Cloud Michael Cardosa, Aameek Singh†, Himabindu Pucha†, Abhishek Chandra
Reporting Systems and OLAP Chapter Extension 13. ce13-2 Study Questions Q1: How do reporting systems enable people to create information? Q2: What are.
Testing adaptive workload management Harumi Kuno HP Labs Stefan Krompass (TUM), Kevin Wilkinson, Umeshwar Dayal, Goetz Graefe, Janet Wiener.
Outline SQL Server Optimizer  Enumeration architecture  Search space: flexibility/extensibility  Cost and statistics Automatic Physical Tuning  Database.
CDA 3101 Fall 2013 Introduction to Computer Organization Computer Performance 28 August 2013.
1 Admission Control and Request Scheduling in E-Commerce Web Sites Sameh Elnikety, EPFL Erich Nahum, IBM Watson John Tracey, IBM Watson Willy Zwaenepoel,
MROrder: Flexible Job Ordering Optimization for Online MapReduce Workloads School of Computer Engineering Nanyang Technological University 30 th Aug 2013.
Admission Control and Request Scheduling in E-Commerce Web Sites
Presentation transcript:

Managing Long-Running Queries Stefan KrompassTUM, Harumi KunoHPL, Janet WienerHPL, Kevin WilkinsonHPL, Umeshwar DayalHPL, and Alfons KemperTUM TUMTechnische Universität München Munich, Germany HPLHewlett-Packard Laboratories Palo Alto, CA, USA

Motivation Business analysis Order entry Maintenance Customer relations Sales DBMS Administrator

Goals of this work Develop technology to study policies for mixed workloads Initial study of managing mixed workloads, in particular: impact of long-running queries on a workload Unreliable cost estimates under-informed admission control and scheduling decisions Unobserved resource contention monitored resource not the source of contention System overload

Outline Workload management components & workload management policies Experiments Conclusions

Workload management overview

Experimental approach Create workloads that inject “problem” queries (our workloads are derived from actual mixed workload queries) Develop a workload management software that implements admission control, scheduling, and execution control policies Workload manager feeds queries into database engine simulator Investigate workloads that run for hours Obtain reproducible results Experiment with comprehensive set of workload management policies Inject problem queries

Experimental input: queries query type size of query pool queries per workload average elapsed time short 2807 400 30 sec medium 247 23 10 min long 48 3 1 hr Problem queries

Taxonomy of long-running queries Query type Query expected to be long Query progress reasonable Uses equal share of resources expected-long yes yes yes expected-hog yes yes no (> equal) surprise-long no yes yes surprise-hog no yes no (> equal) overload no no yes starving no no no (< equal)

Experimental inputs Workload types: expected-long, surprise-long, surprise-hog Admission control Policies: none, limit expected costs of a query Thresholds: 0.2m, 0.5m, and 1.0m Scheduling Queue: FIFO Multiprogramming level (MPL) Execution control Policies: none, kill, kill&requeue, suspend&resume Thresholds: absolute 5000 (time units), absolute 12000, absolute 5000 & progress < 30%, relative 1.2x

How did we choose the thresholds? Expected = actual CPU costs Surprise-*

Experimental measure - weighted makespan (Q4 filtered, as expected  no penalty) 13 31 Penalty for treating Q2 as false positive Q4 Makespan (Q2 and Q4 filtered) Q3 4 Elapsed time of queries 9 4.5 Weighted makespan Q2 9 5 Q1

Experimental measure - weighted makespan 1A1C “one long query admitted” (1A) “one long query completed” (1C)

Can WM handle unreliable cost estimates? Admission control thresholds

Can WM handle unreliable cost estimates? Adm ctl + exec ctl with different kill thresholds

Can WM handle unreliable cost estimates? Execution control actions (w/ admission control 1.0m)

Can workload management handle system overload?

Conclusion Systematic study of workload management policies to mitigate the impact of long-running queries Can workload management handle… unreliable cost estimates unobserved resource contention system overload Value of this work: experimental framework for studying more challenging workload management problems   

Related work (excerpt) D. G. Benoit. Automated Diagnosis and Control of DBMS Resources. EDBT PhD. Workshop, 2000 S. Chaudhuri, R. Kaushik, and R. Ramamurthy. When Can We Trust Progress Estimators for SQL Queries? SIGMOD 2005 S. Chaudhuri, R. Kaushik, R. Ramamurthy, and A. Pol. Stop-and-Restart Style Execution for Long Running Decision Support Queries. VLDB 2007 S. Krompass, H. Kuno, U. Dayal, and A. Kemper. Dynamic Workload Management for Very Large Data Warehouses: Juggling Feathers and Bowling Balls. VLDB 2007 G. Luo, J. F. Naughton, and P. S. Yu. Multi-query SQL Progress Indicators, EDBT 2006 Workload management tools: HP Neoview, IBM Workload Manager for DB2, Microsoft SQL Server, Oracle Database Resource Manager, Teradata Dynamic Workload Manager