Adaptive Tuning Algorithm for Performance tuning of Database Management System
S.F.Rodd
1
, Dr. U.P.Kulkrani
2
1
Asst. Prof.,
Gogte Institute of Technology, Belgaum, Karnataka, INDIAEmail:sfrodd@rediffmail.com
2
Prof., SDMCET Dharwar, Karnataka, INDIA.Email:upkulkarni@yahoo.com
Abstract - Performance tuning of DatabaseManagement Systems(DBMS) is both complex andchallenging as it involves identifying and altering severalkey performance tuning parameters. The quality of tuning and the extent of performance enhancementachieved greatly depends on the skill and experience of the Database Administrator(DBA). As neural networkshave the ability to adapt to dynamically changing inputsand also their ability to learn makes them idealcandidates for employing them for tuning purpose. Inthis paper, a novel tunig algorithm based on neuralnetwork estimated tuning parameters is presented. Thekey performance indicators are proactively monitoredand fed as input to the Neural Network and the trainednetwork estimates the suitable size of the buffer cache,shared pool and redo log buffer size. The tuner altersthese tuning parameters using the estimated values usinga rate change computing algorithm. The preliminaryresults show that the proposed method is effective inimproving the query response time for a variety of workload types.
Keywords : DBA, Buffer Miss Ratio, Data Miner, NeuralNetwork, Buffer Cache.
I.
I
NTRODUCTION
Database Management Systems are an integral part of any corporate house, the online systems, and e-commerceapplications. For these systems, to provide reliable serviceswith quick query response times to their customers, theDatabase Management Systems(DBMS) must befunctioning efficiently and should have built-in support forquick system recovery time in case of partial failure orsystem resource bottlenecks. The performance of thesesystems is affected by several factors. The important amongthem include database size which grows with its usage overa period of time, increased user base, sudden increase in theuser processes, improperly or un-tuned DBMS. All of thesetend to degrade the system response time and hence call fora system that anticipates performance degradation bycarefully monitoring the system performance indicators andauto tune the system.Maintaining a database of an enterprise involvesconsiderable effort on part of a Database Administrator(DBA) as, it is a continuous process and requires in-depthknowledge, experience and expertise. The DBA has tomonitor several system parameters and fine tune them tokeep the system functioning smoothly in the event of reduced performance or partial failure. It is thereforedesirable to build a system that can tune itself and relievethe DBA of the tedious and error prone task of tuning.Oracle 9i and 10g have built in support for tuning in theform of tuning advisor. The tuning advisor estimates theoptimal values of the tuning parameters and recommendsthem to the DBA. A similar advisor is also available in SQLServer 2005 which is based on what-if analysis. In thisapproach, the DBA provides a physical design as input andthe Tuning Advisor performs the analysis without actuallymaterializing the physical design. However, the advisoravailable in 2005 recommends the changes needed at thephysical level such as creation of index on tables or views,restructuring of tables, creation of clustered index etc. whichare considered to be very expensive in terms of DatabaseServer down time and the effort on part of the DBA.II. R
ELATED
W
ORK
Several methods have been proposed that proactivelymonitor the system performance indicators analyze thesymptoms and auto tune the DBMS to deliver enhancedperformance. Use of Materialized views and Indexes,Pruning table and column sets[1-2], Use of self healingtechniques[3-4], use of physical design tuning are amongthe proposed solutions. The classical control is modified anda three stage control involving Monitor, Analyze andTune[6] is employed to ensure system stability. The
(IJCSIS) International Journal of Computer Science and Information Security,Vol. 8, No. 1, April 2010121http://sites.google.com/site/ijcsis/ISSN 1947-5500