Research On Database Application Performance Optimization Method
Research On Database Application Performance Optimization Method
Abstract. Optimization of database systems for the normal operation of the whole system plays a
vital role, but it is a very complex task. The final decides the database performance database
availability. A database can be up and running, but if you want to take a long time to return results,
then their use will be limited. From the user's point of view, if the actual throughput for a given
period of time in the database is high, the actual performance of the database is higher. On the other
hand, the poor performance of the database to run a large complex query seems to stop at some
point, like a database does not exist, so was anxious to let the user. Therefore it emphasizes
optimization is very important.
Introduction
Database application system currently used by the main database platform Oracle, Sybase, SQL,
Server, DB2 other large relational database, Oracle for its openness, efficiency, reliability and
confidentiality has become the first choice of many developers. However, due to the huge Oracle
architecture, and the management is very complex, so a lot of database application system after
Oracle as the database backend development for some time, there have been some problems in the
use of performance, such as running slower reaction time becomes longer and the like. Usually
developers often done at the application layer optimization process, such as the optimization of SQL
statements, but sometimes the effect is not obvious, this is because many performance optimization
must be adjusted to the DB server to complete.
Database is a database management system is more widely used, but the response time with the
information age and the rapid expansion of the continuous generation of data, database applications
have increased. How to network traffic, disk I / O and CPU time is minimized, so that the shortest
response time of each query and maximize the throughput of the entire database server, to optimize
the performance of database applications, it is particularly important. When the database
optimization requires a thorough analysis of the requirements of the application, understand the
logical and physical structure of the data, co-ordination from the viewpoint of the operating system,
application design, indexes, stored procedures, transactions, etc., form the overall scheme of the
system this paper made some research on this.
Consideration of performance issues should be run through the whole process of the
development phase. The life cycle of a database system can be divided into: the design,
development, and finished three stages. In the design and development phase of database
performance optimization into wood a minimum, the largest gains.
Database Design
Logic Design. Logical database design, including relationships between tables, which is the core
relational database optimization. A good logical database design can lay a good foundation for the
optimization of databases and applications. Comply with the rules of database design usually
comprises a large number, there is the relationship between the narrow tables instead of wide data
table with many columns, columns and more tables to produce less, thus reducing data redundancy,
thus reducing the page for storing data, to improve the efficiency and reduce the possibility of the
application due to data inconsistencies caused the error. However, table relationships may need to
merge through a complex process that will reduce system performance. Some degree of
© 2016. The authors - Published by Atlantis Press 2236
standardization of the non-performance of the system can be improved, non-standardized procedure
can be carried out using a variety of different ways depending on performance considerations, the
preferred strategy is standardized design as a starting point, and for specific reasons selective some
tables.
Physical Design. To achieve physical design optimization, we must understand and make good
use of database access format and operating characteristics of hardware resources, especially
memory and disk subsystem I / O. Associated with each table column's data type should reflect the
minimum required data storage space, especially for indexed columns even more so. For example,
be able to use type do not use integer type, so the index fields can be read faster, and more data can
be placed in rows on a data page, therefore reducing the I / O operations.
Conclusion
Database optimization is a complex, involving very broad question, there is no fixed pattern to
solve the need to analyze specific issues. Given above is only a general principle of optimization, in
front of the main article in the Oracle database, for example, from the database server, SQL
statements, running the operating system and network performance and other aspects of the Oracle
database application system may encounter various performance issues provides a general solution
under different circumstances, we hope to provide a database application system the general idea of
optimization methods.
References
[1] Guo Weihua. Computer Engineering and Applications, Vol. 6 (2004) No 53, p.25-26
[2] Lu Chenyin, Wang Qunyong. Computer Engineering, Vol. 12 (2005) No 27, p.74-76
[3] Jing Jianfen, Hou XuSiem. Computer Engineering, Vol. 30 (2004) No 19, p.144-145
[4] Wang Kuailiang. Mining machinery, Vol. 29 (2008) No 27, p.21-23
[5] Zhang Gongxu, Sun Jing. New Quality Management, Vol. 8 (2003) No 27, p.57-60
2239