Research and Implementation of Database Performance Tuning Based on ORACLE (OLTP)
- Author
- LiuYuQiang
- Advisor
- GuoWenMing
- School
- Beijing University of Posts and Telecommunications
- Major
- Software Engineering
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 296
- Citations
- 1
Abstract
Database performance is the cornerstone of enterprise applications , With the continuous development of network applications and e-commerce , database size also will continue to expand the database system performance issues become increasingly prominent , and the formation of enterprise applications access bottleneck . Therefore , the study of database performance optimization method has become very urgent. China Construction Bank is a leading joint - stock commercial banks in the Chinese market , providing customers with a full range of commercial banking products and services . China Construction Bank in CRM ( Customer Relation Management ) is a unified system framework , to build a unified customer information system ECIF ( the Enterprise Customer Information ) is the bank 's enterprise-class customer information system , its construction goal is to integrate all protocol clients CCB and potential customers , building enterprise-class customers a single view . In this paper, through the analysis of the ORACLE database technology , diagnostic optimized for China Construction Bank ECIF ( enterprise-class customer information system ) , the goal is to improve concurrent access to the database , as well as to reduce the response time to meet the needs of enterprise customers . In this paper, the following aspects of work : 1. Operating system performance data (CPU, memory , I / O , and SWAP ) analysis, performance monitoring tools to identify performance bottlenecks . Database preliminary analysis on the distribution of the physical file and database parameters ( through the dynamic performance view configuration, database fragmentation and invalid object detection) . Use Statspack analysis and diagnosis ( from buffer hit ratio ORCLE the wait events, as well as the application's SQL statements ) , identify performance bottlenecks . For database performance bottlenecks , database optimization program ( from the log file physical distribution the memory parameter adjustment , defragmentation and update the database statistics and other aspects to elaborate ) . Application optimization of index use principle , and SQL writing skills . Diagnostic optimized by the above-mentioned aspects , China the Construction Bank ECIF ( enterprise-class customer information system ) database a single instance of concurrent access process 400 to 500 process , a long-running SQL statement response time is significantly reduced , reducing the deadlock with the phenomenon of lock wait , the system is in high - performance operation .
Table of contents
Abstract 4-5
ABSTRACT 5-11
The first chapter 11-15
1.1 paper background 11
1.2 ECIF Application System Overview 11
1.3 operating system, database, middleware deployment 11-13
1.3.1 operating system configuration 12
1.3.2 Database Configuration 12-13
1.4 paper structure 13-14
1.5 main job 14-15
chapter description of the problem, diagnostic solutions and optimization goals 15-18
2.1 current system problems 15
2.2 diagnostic solutions and optimization goals 15-16
2.2.1 Diagnostic Procedure 15
2.2.2 Diagnosis 15-16
2.2.3 monitoring contents 16
2.3 optimization goals 16-18
Chapter OS performance data collection 18-22
3.1 System Configuration 18
3.2 system performance analysis 18-21
3.2.1 CPU utilization 18-19
3.2.2 Memory 19
3.2.3 Paging (paging) 19-20
3.2.4 I / O analysis 20-21
3.3 System Performance Collection Summary 21-22
Chapter database performance data collection 22-34
4.1 database memory configuration profiles 22-24
4.2 database configuration 24-32
4.2.1 Control File 24
4.2.2 RedoLogs 24-25
4.2.3 Temporary Tablespace 25-26
4.2.4 Table space management 26-27
4.2.5 of tables and indexes if there is a table space 27-28
4.2.6 object debris inspection 28-29
4.2.7 Index 29-30
4.2.8 OK chain / line of migration 30-31
4.2.9 invalid objects 31-32
4.2.10 alarm log alertlog check 32
4.3 summarizes performance data collection 32-34
Chapter database system diagnostics 34-42
5.1 database instance operation 34-40
5.1.1 Load Profile 34-35
5.1.2 Instance Efficiency Percentages 35-36
5.1.3 Library Cache 36
5.1.4 Top5 Timed Events 36-37
5.1.5 Operation analysis 37-38
5.1.6 database application operation 38-40
5.2 Database Performance Diagnostic Summary 40-42
Chapter database optimization program 42-50
6.1 SGA memory zone adjustment 42
6.2 application spatial distribution table 42
6.3 database REDOLOGFILE adjusted 42-43
6.4 database ENQUEUE adjusted 43
6.5 SQL * NET configuration adjustments 43
6.6 database fragmentation problem 43-45
6.6.1 Line connection with the line of migration diagnostic finishing method 44
6.6.2 index and table space defragmentation methods 44-45
6.6.3 table and table space defragmentation methods 45
6.7 table and index statistics 45-46
6.7.1 tables and indexes and sampling interval 46
6.7.2 tables and indexes analytical methods 46
6.8 optimization measures 46-47
6.9 database optimization summary 47-50
6.9.1 CPU utilization 47
6.9.2 Memory 47-48
6.9.3 I / O analysis 48
6.9.4 PAGE (page swapping) 48-50
Chapter VII applications optimized 50-61
7.1 index uses the principle 50
7.2 Optimization Application examples 50-51
7.3 SQL writing skills 51-59
7.4 application optimization summary 59-61
Chapter VIII database planning principles 61-66
8.1 table space physics usage rules 61
8.2 tablespace storage parameters 61-63
8.2.1 Undo / Temp tablespace storage parameters 61-62
8.2.2 application tablespace storage parameters 62-63
8.3 Application Data Sheet (tables) partition 63-66
8.3.1 database partition introduced 63-64
8.3.2 logical partition 64
8.3.3 Physical segmentation 64
8.3.4 after the partition of the database management benefits 64
8.3.5 database partition plan, create negative impact 64-65
8.3.6 ORACLE partitioning technology 65-66
Chapter IX on outcomes 66-68
9.1 database performance data 66-68
9.1.1 Load Profile 66
9.1.2 Top5 Timed Events 66-68
References 68-69
Appendix 69-70
Thanks 70
Related dissertations
- Solving Methods about Optimizing and Managing of Database Application System Based on WEB
- Oracle Database Performance Optimization Research
- Design and Development on Business Management System of PHS Using Oracle Database
- Research on the Improvement of the Performance Appraisal System for the Dispatching Labors of Changsha Mobile Communication Company
- Research on Performance Management of the Credit Cooperation in Shandongacounty
- Design and Implementation of Data Acquisition and Analysis System for CAPL Line
- Several groups of simulated annealing algorithm for TSP problem based on
- Design of Identity Management Platform Based on SML-RBAC
- Research and Design of Database Performance and Reliablity Evaluation Technologies
- Based as High Concurrent Big Data Database Maximum Availability Research and Implementation
- The Research of Data Warehouse Performance Optimization Technology Based on the Coupling Index and Materialized View
- Oracle Performance Optimization Techniques Application to the Guizhou Local Tax Project
- Design and Implementation of Treasury Centralize Payment Management System Based on SSL
- Design and Implementation of Centralized Business Support System
- Design and Implementation of Pattern Evaluation Management System for Liaoning Provincial Institute of Measurement
- Research and implementation of the hospital scheduling and one-stop settlement system
- The Design and Implementation of the Bank-enterprise Reconciliation System
- The Design and Implementation of Sanming City Bus Inquiry System
- Design and Implementation of Staff Education and Training System in Electric Power Bureau of San Ming
- Warehouse Management System