Performance tuning of database systems using a context-aware approach

Database system performance problems have a cascading effect into all aspects of an enterprise application. Database vendors and application developers provide guidelines, best practices and even initial database settings for good performance. But database performance tuning is not a one-off task. Database administrators have to keep a constant eye on the database performance as the tuning work carried out earlier could be invalidated due to multitude of reasons. Before engaging in a performance tuning endeavor, a database administrator must prioritize which tuning tasks to carry out first. This prioritization is done based on which tuning action would yield highest performance benefit. However, this prediction may not always be accurate. Experiment-based performance tuning methodologies have been introduced as an alternative to prediction-based performance tuning approaches. Experimenting on a representative system similar to the production one allows a database administrator to accurately gauge the performance gain for a particular tuning task. In this paper we propose a novel approach to experiment-based performance tuning with the use of a context-aware application model. Using a proof-of-concept implementation we show how it could be used to automate the detection of performance changes, experiment creation and evaluate the performance tuning outcomes for mixed workload types through database configuration parameter changes.

[1]  Herodotos Herodotou,et al.  Automated SQL tuning through trial and (sometimes) error , 2009, DBTest '09.

[2]  Anind K. Dey,et al.  Understanding and Using Context , 2001, Personal and Ubiquitous Computing.

[3]  Benoît Dageville,et al.  A Decade of Oracle Database Manageability , 2011, IEEE Data Eng. Bull..

[4]  Daniel Moldovan,et al.  A self-adapting algorithm for context aware systems , 2010, 9th RoEduNet IEEE International Conference.

[5]  Alsayed Algergawy,et al.  NNMonitor: Performance modeling for database servers , 2013, 2013 8th International Conference on Computer Engineering & Systems (ICCES).

[6]  Kwang-Eun Ko,et al.  Development of context aware system based on Bayesian network driven context reasoning method and ontology context modeling , 2008, 2008 International Conference on Control, Automation and Systems.

[7]  Benoît Dageville,et al.  Oracle's SQL Performance Analyzer , 2008, IEEE Data Eng. Bull..

[8]  Benoît Dageville,et al.  Self-Tuning for SQL Performance in Oracle Database 11g , 2009, 2009 IEEE 25th International Conference on Data Engineering.

[9]  Yali Zhu,et al.  Optimizer plan change management: improved stability and performance in Oracle 11g , 2008, Proc. VLDB Endow..

[10]  Babs Oyeneyin,et al.  Situation awareness in context-aware case-based decision support , 2011, 2011 IEEE International Multi-Disciplinary Conference on Cognitive Methods in Situation Awareness and Decision Support (CogSIMA).

[11]  Raymond Cunningham,et al.  Self-Adapting Context Definition , 2007, First International Conference on Self-Adaptive and Self-Organizing Systems (SASO 2007).

[12]  Seng Wai Loke Incremental awareness and compositionality: A design philosophy for context-aware pervasive systems , 2010, Pervasive Mob. Comput..

[13]  Graham Wood,et al.  Oracle database replay , 2009, Proc. VLDB Endow..

[14]  Shivnath Babu,et al.  Tuning Database Configuration Parameters with iTuned , 2009, Proc. VLDB Endow..

[15]  Vladimir Getov,et al.  System Evolution for Unknown Context through Multi-action Evaluation , 2013, 2013 IEEE 37th Annual Computer Software and Applications Conference Workshops.

[16]  Herodotos Herodotou,et al.  Automated Experiment-Driven Management of (Database) Systems , 2009, HotOS.

[17]  Lionel Brunie,et al.  Semantic approach to context management and reasoning in ubiquitous context-aware systems , 2007, 2007 2nd International Conference on Digital Information Management.

[18]  Graham Wood,et al.  Automatic Performance Diagnosis and Tuning in Oracle , 2005, CIDR.

[19]  Marc Holze Self-Management Concepts for Relational Database Systems , 2012 .