SQL Tuning Research about Short Message System’s Database

Author
LiJie
Advisor
FuZuo , FangZhiHu
School
Chongqing University
Major
Software Engineering
Classification
TP311.138 Database system: sub- system name
Degree
Master's thesis
Year
2007
Downloads
218
Citations
1

Request the full text

Abstract

The database optimization is an important branch of the platform system optimization, which is a concern of many researchers around the world in recent years. The major purpose of the database optimization is to find out problems of database programming and applied designs, via analyzing the functions and situations of the database. Then the focus is to resolve the problems, to improve the performance of the database and optimize its working capability.This paper is engaged in the research of analyzing the bottleneck problems related to database of the text message system. Therefore, it works out the corresponding optimizing measures, which turns out to be quite effective. The paper also explains the principles of one critical process of the database optimization ----applied performance optimization of SQL. In addition, the paper deals with how to get the performing plan with AUTOTRACE and pick out the best performing plan by using OPTIMIZER, and so on and so forth. The paper takes a typical case of text message system database optimization for example and talks about the process of SQL optimization at length as well as how it helps improve the performance of the database.

Table of contents

Abstract 3-4 ABSTRACT 4-7 1 Introduction 7-13 1.1 Introduction to Database Optimization 1.2 the ORACLE database optimization Profile 7-11 1.3 This article studies the work we 11-12 1.3.1 Objective 11-12 1.3.2 The main research content 12 1.4 This article organizational structure 12-13 The SMS Database Status and Performance Analysis 13-23 2.1 Introduction 13-14 2.2 SMS database status quo 14-23 2.2.1 operating system performance analysis 15-17 2.2.2 database performance analysis 17-23 3 for SQL optimization, analysis and research 23-31 3.1 Introduction 23 3.2 Analysis Measurement SQL performance 23-26 3.2.1 TKPROF tool 23-24 3.2.2 Explain Plan 24-25 3.2.3 AUTOTRACE 25-26 3.2.4 STATSPACK 26 3.3 optimizer to choose the best SQL 26-28 3.3.1 RBO optimizer 27 3.3.2 CBO optimizer 27-28 3.4 improve application performance 28-30 3.4.1 Stored Outline (stored outlines) 28-29 3.4.2 materialized view (materialized views) 29 3.4.3 use the index to optimize I / O are found; 29-30 3.5 Summary 30-31 4 SMS database to optimize the design of the implementation of the program 31-34 4.1 according to the analysis of the optimization program drawn 31-32 4.1.1 extended memory swap area 31 4.1.2 adjust REDO LOG configuration 31 4.1.3 to adjust the size of the LOG BUFFER 31 the the 4.1.4 data object storage parameters adjustment 31 4.1.5 adjustment table space management 31-32 4.1.6 FOR ALL insert bulk data 32 4.1.7 using bind variables 32 4.2 optimized effect 32-34 4.2.1 test the effect of adjusting database parameters and data object attributes 32 4.2.2 testing using FOR ALL way to do bulk data insert effect 32-34 the the 5 SMS system SQL optimization implementation case 34-43 5.1 Introduction 34 5.2 SQL Optimization Case 34-40 5.2.1 operating system performance analysis 34-35 5.2.2 on SQL application performance analysis 35-39 5.2.3 optimize SQL 39-40 5.3 optimization results analysis and comparison 40-41 5.4 Summary 41-43 6 Conclusion 43-44 6.1 This work summarizes 43 6.2 Future research prospects 43-44 Acknowledgements 44-45 the References 45-47 Appendix 47

Related dissertations

  1. Database Design of Ubiquitous Network of Integrated Measurement and Control
    GuoWei ·Dalian Polytechnic University ·2012 ·Master's thesis
  2. The Design and Implementation of the Hlgher Vocational College Graduates Employment Information System Based on B/S Structure
    ZhangJianHua ·Ocean University of China ·2013 ·Master's thesis
  3. Research on the Optimization of the System of Urban-rural Integrated Residents Social Pension Insurance of Laiwu City
    HaoXiaoJuan ·Shandong Agricultural University ·2013 ·Master's thesis
  4. Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
    SunZuo ·Ningxia University ·2014 ·Master's thesis
  5. The Optimization of Fund Contract in the Perspective of Governance Structure
    YaoZhuangLong ·Central South University ·2013 ·Master's thesis
  6. The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
    LiuMing ·Northwestern University ·2012 ·Master's thesis
  7. Research on Optimization of commercial bank loans business processes Chinese micro enterprise
    ZhouXiaoDan ·Inner Mongolia University ·2013 ·Master's thesis
  8. Optimization of Commercial Bank Credit Rating Index System for SMEs
  9. An Optimization Study on Proscenium Support Facilities of Commercial Banks on Queuing Theory
    ChenMei ·Harbin Institute of Technology ·2012 ·Master's thesis
  10. The Credit Process Optimization of A Bank
    WangHe ·Liaoning University ·2012 ·Master's thesis
  11. The branches of commercial banks, credit risk management process - a case study of A bank D branch cases
    JinYanXin ·Yunnan University of Finance ·2013 ·Master's thesis
  12. The Research of Mode of Corporate Governance of China’s Trust Industry Defect and Optimization
    HuZuo ·East China Normal University ·2013 ·Master's thesis
  13. Under the New Situation of the International Monetary System Unbalance Influence on China’s Foreign Exchange Reserves and Its Optimization
    LinLeTing ·Dongbei University of Finance ·2013 ·Master's thesis
  14. The Study on Constructing Harmony in Urban Communities
    ZhaoZuoZuo ·Yanshan University ·2012 ·Master's thesis
  15. An Investigation of the Management System of Yancheng Local Tax Inspection
    YanXueJun ·Suzhou University ·2012 ·Master's thesis
  16. Based on the Subjective Well-being to Optimize the China’s Rural Public Expenditure
  17. Research on China’s Tax Cost and Optimization
  18. Analysis on Tax Scale Optimization of Liaoning Province
    LuZuoZuo ·Shenyang University ·2013 ·Master's thesis
  19. Study on the optimization of tax system of China's current stock market
    WangBing ·Capital University of Economics ·2014 ·Master's thesis
  20. The Optimal Decision of Slotting Fee and Percentage of Revenue under the Consignment Model