Regis University ePublications at Regis University All Regis University Theses Summer 2013 Evaluation of Sql Performance Tuning Features in Oracle Database Software Katarzyna Marta Dobies Regis University Follow this and additional works at: https://epublications.regis.edu/theses Part of the Computer Sciences Commons Recommended Citation Dobies, Katarzyna Marta, "Evaluation of Sql Performance Tuning Features in Oracle Database Software" (2013). All Regis University Theses. 220. https://epublications.regis.edu/theses/220 This Thesis - Open Access is brought to you for free and open access by ePublications at Regis University. It has been accepted for inclusion in All Regis University Theses by an authorized administrator of ePublications at Regis University. For more information, please contact [email protected]. Regis University College for Professional Studies Graduate Programs Final Project/Thesis Disclaimer Use of the materials available in the Regis University Thesis Collection ("Collection”) is limited and restricted to those users who agree to comply with the following terms of use. Regis University reserves the right to deny access to the Collection to any person who violates these terms of use or who seeks to or does alter, avoid or supersede the functional conditions, restrictions and limitations of the Collection. The site may be used only for lawful purposes. The user is solely responsible for knowing and adhering to any and all applicable laws, rules, and regulations relating or pertaining to use of the Collection. All content in this Collection is owned by and subject to the exclusive control of Regis University and the authors of the materials. It is available only for research purposes and may not be used in violation of copyright laws or for unlawful purposes. The materials may not be downloaded in whole or in part without permission of the copyright holder or as otherwise authorized in the "fair use” standards of the U.S. copyright laws and regulations. EVALUATION OF SQL PERFORMANCE TUNING FEATURES IN ORACLE DATABASE SOFTWARE A THESIS SUBMITTED ON 23 OF AUGUST, 2013 TO THE DEPARTMENT OF INFORMATION SYSTEMS OF THE SCHOOL OF COMPUTER & INFORMATION SCIENCES OF REGIS UNIVERSITY IN PARTIAL FULFILLMENT OF THE REQUIREMENTS OF MASTER OF SCIENCE IN SOFTWARE ENGINEERING AND DATABASE TECHNOLOGIES BY fn<x Zbb/es Katarzyna Marta Dobies APPROVALS ,____/ ________ Darl Kuhn, Thesis Advisor u - Don Ina, Faculty of Record Nancy Birkenheuer, Program Coordinator Abstract Timely access to data is one of the most important requirements of database management system. Having access to data in acceptable time is crucial for efficient decision making. Tuning inefficient SQL is one of the most important elements of enhancing performance of databases. With growing repositories and complexity of underlying data management systems maintaining decent levels of performance and tuning has become a complicated task. DBMS providers acknowledge this tendency and developed tools and features that simplify the process. DBAs and developers have to make use of these tools in the attempt to provide their companies with stable and efficient systems. Performance tuning functions differ from platform to platform. Oracle is the main DBMS provider in the world and this study focuses on the tools provided in all releases of their software. A thorough literature analysis is performed in order to gain understanding of the functionality and assessment of each tool is performed. It also provides insight into factual utilization of tools by gathering responses through the use of online survey and analysing the results. SQL P e r f o r m a n c e Tu n in g ii Acknowledgements To my fellow students, Thank you for sharing your knowledge with me. It has been a pleasure... To Darl, One o f the greatest achievements o f my life would be to become your equal in a discussion, It has been a privilege... To Marcin, For some only exist thanks to the silent presence by their side... To Mom, You’ve given me strength and determination that made me who I AM ... To Dad, You’re my STAR, shining on me now... To Robert, I f I could pick from all the boys in the world, I would pick you, Always... SQL P e r f o r m a n c e Tu n in g iii Table of Contents Abstract .................................................................................................................................................. i Acknowledgements.............................................................................................................................. ii Table of Contents................................................................................................................................ iii List of Figures.....................................................................................................................................vii List of Tables........................................................................................................................................x Chapter 1 - Introduction......................................................................................................................1 Thesis statement ............................................................................................................................... 2 Scope ................................................................................................................................................. 3 Research Methodology....................................................................................................................3 Significance of the Study.................................................................................................................3 Success Criteria................................................................................................................................ 4 Structure............................................................................................................................................4 Chapter 2 - Review of Literature........................................................................................................ 6 What is database performance?....................................................................................................... 8 Categories of database performance tuning...................................................................................9 Incentives for database tuning....................................................................................................... 12 SQL Performance Tuning............................................................................................................. 15 SQL Tuning Benefits.................................................................................................................16 SQL P e r f o r m a n c e Tu n in g iv Current Tendencies in Database Tuning...................................................................................... 18 Oracle Performance Tuning M ethod....................................................................................... 21 SQL Tuning Methodology....................................................................................................22 Oracle’s presence in relational database market..........................................................................25 Summary ......................................................................................................................................... 26 Chapter 3 - Research Methodology..................................................................................................28 Literature Analysis ......................................................................................................................... 28 Questionnaire Analysis..................................................................................................................28 Chapter 4 - Results............................................................................................................................ 30 SQL Tuning Tools.........................................................................................................................30 EXPLAIN PLAN.......................................................................................................................30 DBMS_XPLAN.........................................................................................................................33 SQLTXPLAIN...........................................................................................................................35 SQL Trace.................................................................................................................................. 38 trcsess .......................................................................................................................................... 41 Tkprof (Trace Kernel PROfiler)...............................................................................................43 Autotrace.....................................................................................................................................46 STATSPACK............................................................................................................................. 48 SQL Tuning Advisor (STA).....................................................................................................51 SQL Access Advisor..................................................................................................................54
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages133 Page
-
File Size-