Research of Database Performance Optimization in Large Scale Application System
- Author
- SongHaiPing
- Advisor
- WuXinHua
- School
- Wuhan University of Technology
- Major
- Applied Computer Technology
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 287
- Citations
- 11
Abstract
Database is widely used in network information gathering system. The data volume is much bigger. The data process is more complex and the requirement of the database performance is getting higher than before. How to take full advantage of the hardware and software resource to improve the database performance becomes a hot topic. How to optimize the performance of database application system is mainly discussed in this thesis. The work of performance optimization of database application system is extremely complex. It includes mainly operating system, application procedure, and database, network optimization and so on. Therefore, we need to consider all the possible factors comprehensively in the system optimization process.The primary cause of the performance question is whether reasonable optimization for web server and the database server system. How to discover and diagnose the performance question of database application system by testing the application and the database system is introduced in the thesis, and we analyze the performance effect made by these questions in detail.The content of Oracle database optimization is complex. It mainly includes the memory optimization, I/O optimization, and database objects optimization and so on. The application program optimization mainly includes several important aspects, code optimization, how to use the database connection pool and to optimize the SQL sentence. The highly effective database connection pool makes data exchange between the application procedure and the database steadier and more effective, and reduces the response time of the system. The SQL sentence optimizes may reduce the system response time, enhance the utilization ratio of the CPU and reduce the expense of the system resources (memory, I/O and so on).College Enrollment Network Gathering Voluntary System is well known for the large scale data volume, the high requirement for data security, centralized access and so forth. This paper takes College Enrollment Network Gathering Voluntary System for example, focuses on Oracle database memory optimization, disk optimization, inquiry method optimization and the database connection pool optimization, and provides a good reference for the optimization of the large scale database application system.In addition, according to the special requirement of system, we complete the test procedure for the system, and test the inquiry method optimized and the database connection pool optimized by utilizing the test procedure and the J meter. By testing, we know that the system optimized improves the performance and meet the system requirement.
Table of contents
Abstract 3-4
Abstract 4-9
Chapter 1 Introduction 9-13
1.1 Background topics
1.2 In this paper, the content 9-10
1.3 Research and meaning 10-11
1.4 DBMS selection and introduction 11
1.5 research steps 11-13
Chapter 2 Summary of performance tuning and optimization of database application system 13-16
2.1 performance tuning and optimization concept 13
2.2 performance tuning and optimization goals 13-14
2.3 performance tuning and optimization 14-15
2.4 performance tuning and optimization methods 15-16
Chapter 3 DBMS performance tuning and optimization strategy 16-37
3.1 initialization parameter adjustment (INIT.ORA) 16-18
3.2 memory optimization 18-21
3.3 disk I / O optimization 21-31
3.3.1 adjustment table space data files 22-26
3.3.2 remove debris 26-28
3.3.3 optimized data sorting 28
3.3.4 adjust the rollback segment 28-30
3.3.5 adjust to redo log 30-31
3.4 database objects optimization 31-37
3.4.1 index optimization 32-33
3.4.2 view application 33-34
3.4.3 stored procedures (procedures, functions, packages) 34-35
3.4.4 triggers application 35-37
Chapter 4 of the application system performance tuning and optimization strategies 37-51
4.1 code optimization 37-38
4.2 SQL statement optimization 38-43
4.2.1 SQL statement processing 38-39
4.2.2 optimizer management 39-40
4.2.3 optimization strategy 40-43
4.3 operating system optimized 43-44
4.4 network environment optimized 44-46
4.4.1 Oracle network protocol introduced 44
4.4.2 detecting network performance 44-45
4.4.3 to adjust the network I / O 45-46
4.5 WEB server optimization 46-51
4.5.1 Tomcat adjustment 46-47
4.5.2 Web server cluster with load balancing are found; 47-51
4.5.2.1 cluster load balancing Introduction 47-48
4.5.2.2 the Tomcat cluster with load balancing 48-51
Chapter 5 ordinary high enrollment online voluntary reporting system design and realization 51-58
5.1 Introduction 51-56
5.1.1 System Requirements 51
5.1.2 system functional modules 51-54
5.1.3 user permissions 54
5.1.4 system developed technology 54-56
5.2 database design 56-58
Chapter 6 ordinary high enrollment online voluntary reporting system performance tuning and optimization 58-82
6.1 performance test concept and purpose 58-60
6.2 performance test 60-61
6.3 testing tools 61
6.4 for the test program 61-65
6.4.1 testing program principle 62
6.4.2 test procedures to achieve 62-65
6.5 memory and disk I / O optimization 65-67
6.5.1 memory parameter adjustment 66-67
6.5.2 disk I / O optimization 67
6.6 stored procedure application 67-72
6.7 database connection pooling optimization 72-82
6.7.1 traditional database connection pool work process 73
6.7.2 Java threads Introduction 73-74
6.7.3 Java threads improved connection pool 74-77
6.7.3.1 threaded connection pooling works 74-75
6.7.3.2 thread pooling implementations 75-77
6.7.4-threaded connection pool with connection pooling performance compared 77-82
Chapter 7 summarizes 82-83
the
References 83-86
Acknowledgements 86-87
studying for a master's degree during the thesis 87
Related dissertations
- Database Design of Ubiquitous Network of Integrated Measurement and Control
- The Design and Implementation of the Hlgher Vocational College Graduates Employment Information System Based on B/S Structure
- Performance Testing and Optimization Based on the Portal and OA System of Electric Power Company
- Performance Test and Analysis of Database for Color Ring Back Tone Service
- Design and implementation of high - performance the Jave SAX parser
- Research on the Optimization of the System of Urban-rural Integrated Residents Social Pension Insurance of Laiwu City
- Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
- The Optimization of Fund Contract in the Perspective of Governance Structure
- The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
- Research on Optimization of commercial bank loans business processes Chinese micro enterprise
- Optimization of Commercial Bank Credit Rating Index System for SMEs
- An Optimization Study on Proscenium Support Facilities of Commercial Banks on Queuing Theory
- The Credit Process Optimization of A Bank
- The branches of commercial banks, credit risk management process - a case study of A bank D branch cases
- The Research of Mode of Corporate Governance of China’s Trust Industry Defect and Optimization
- Under the New Situation of the International Monetary System Unbalance Influence on China’s Foreign Exchange Reserves and Its Optimization
- The Study on Constructing Harmony in Urban Communities
- An Investigation of the Management System of Yancheng Local Tax Inspection
- Based on the Subjective Well-being to Optimize the China’s Rural Public Expenditure
- Research on China’s Tax Cost and Optimization