Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
DB2 Universal Database Automatic Database Configuration for DB2 Universal Database Compressing Years of Performance Expertise into Seconds of Execution Eva Kwan, Berni Schiefer, Sam Lightstone, Adam Storm and Leanne Wu -- IBM Toronto Lab February 27, 2003 | BTW 2003 © 2003 IBM Corporation DB2 Universal Database Agenda Autonomic Computing at IBM The DB2 Configuration Advisor How the Configuration Advisor works Demo Performance Results Summary 2 Automatic Database Configuration for DB2 Universal Database | BTW 2003 © 2003 IBM Corporation DB2 Universal Database Table of contents Autonomic Computing at IBM The DB2 Configuration Advisor Demo Performance Results Summary 3 Automatic Database Configuration for DB2 Universal Database | BTW 2003 © 2003 IBM Corporation DB2 Universal Database Autonomic Computing at IBM Computing systems are becoming larger and more complex Performance remains critical System management becomes more costly and time consuming Database management software has become middleware Systems should be able to manage themselves Self-Configuring Self-Healing Self-Optimizing Self-Protecting Work being done across IBM on Autonomic Computing www.ibm.com/autonomic 4 Automatic Database Configuration for DB2 Universal Database | BTW 2003 © 2003 IBM Corporation DB2 Universal Database Autonomic Computing in DB2 Heath Center Automatically diagnoses and fixes many common problems Locking, logging, heap utilization Design Advisor Suggests indexes based on workload characteristics Query Patroller Automatically schedules queries based on users specifications http://www.idug.org/member/journal/summer00/articl08.cfm 5 Automatic Database Configuration for DB2 Universal Database | BTW 2003 © 2003 IBM Corporation DB2 Universal Database Table of contents Autonomic Computing at IBM The DB2 Configuration Advisor Demo Performance Results Summary 6 Automatic Database Configuration for DB2 Universal Database | BTW 2003 © 2003 IBM Corporation DB2 Universal Database DB2 Configuration Advisor Sets up to 37 of the most important performance critical configuration parameters including those affecting: Memory usage Parallelism Asynchronous I/O Logging Three interfaces Graphical User Interface integrated into the DB2 Control Center Command Line Interface accessible through the DB2 CLP Programmatically through C APIs or Java Stored Procedure Has existed since DB2 v5 but was significantly rewritten for v8.1 to improve performance and versatility 7 Automatic Database Configuration for DB2 Universal Database | BTW 2003 © 2003 IBM Corporation DB2 Universal Database How the Configuration Advisor Works Uses three sources of information to determine an appropriate configurations User input to 9 simple questions Automatically sensed system characteristics Expert heuristics Heuristics were devised through extensive consultation with many database administrators and performance experts at IBM Extensive work done to ensure proper results regardless of the workload and environment 8 Automatic Database Configuration for DB2 Universal Database | BTW 2003 © 2003 IBM Corporation DB2 Universal Database Table of contents Autonomic Computing at IBM The DB2 Configuration Advisor Demo Performance Results Summary 9 Automatic Database Configuration for DB2 Universal Database | BTW 2003 © 2003 IBM Corporation DB2 Universal Database Table of contents Autonomic Computing at IBM The DB2 Configuration Advisor Demo Performance Results Summary 10 Automatic Database Configuration for DB2 Universal Database | BTW 2003 © 2003 IBM Corporation DB2 Universal Database Experimental Results Four sets of experimental Results Two sets of experiments on OLTP type workloads Tested both 32 and 64 bit code base Two sets of experiments on industrial workloads Conducted at two of the world’s leading investment banks 11 Automatic Database Configuration for DB2 Universal Database | BTW 2003 © 2003 IBM Corporation DB2 Universal Database Precent of Hand-tuned OLTP Tests 100 90 80 70 60 50 40 30 20 10 0 OLTP 32 Bit OLTP 64 Bit Workload Hand Tuned 12 Config. Advisor Automatic Database Configuration for DB2 Universal Database | BTW 2003 Default © 2003 IBM Corporation DB2 Universal Database Precent of Hand-tuned Investment Banks 220 200 180 160 140 120 100 80 60 40 20 0 Bank A Bank B Workload Hand Tuned 13 Config. Advisor Automatic Database Configuration for DB2 Universal Database | BTW 2003 © 2003 IBM Corporation DB2 Universal Database Summary Configuration advisor dramatically reduces the cost of tuning Compared with expertly tuned databases Configuration Advisor provides near hand-tuned performance Compared with industry tuned databases Configuration Advisor shows substantial performance improvement Part of larger Autonomic Computing effort at IBM and within DB2 14 Automatic Database Configuration for DB2 Universal Database | BTW 2003 © 2003 IBM Corporation