Oracle数据库系统优化调整

2014-09-19 13:59:06刘超张明安
信息安全与技术 2014年7期

刘超+++张明安

【 摘 要 】 在过去的几十年中,Oracle数据库已经逐渐成为世界上最为广泛的大型数据库管理系统。而数据库DBA的重要工作就是要确保利用 Oracle的强大特性来提高企业的生产力。其中最有效的方法就是通过 Oracle 调优,它有大量的调整参数和技术来改进Oracle 数据库的性能。文章从数据库内存参数调整、索引技术、数据库分区以及SQL语句的优化等四个方面来研究Oracle 数据库的性能调整。

【 关键词 】 内存参数;数据库索引;分区技术;优化SQL语句

【 中图分类号 】 TP392 【 文献标识码 】 A

Research on Optimization of Oracle Database

LiuChao Zhang Mingan

(The Chinese PLA 91655 Troops Beijing100036)

【 Abstract 】 In the past few decades, Oracle database has become the world's large database management system. The important work of DBA is to ensure that the use of the powerful features of Oracle and improve their productivity. One of the most effective ways is through the Oracle tuning. Certainly, the performance of Oracle database can be improved through a large number of parameters and technology. The article explains the things from Database memory parameter adjustment, index technology, database partition, and SQL statement optimization etc on the performance optimization of Oracle database.

【 Keywords 】 memory parameter; database index; partition; sql optimization

1引言

目前,越来越多的现象证明,数据库系统的建设和安全性已经随着我国信息化建设进程而持续得到了国家重要机关、军队和银行等事业单位的关注。数据库系统在日常生活中与人们的衣食住行息息相关,同样也成为商业协作领域新的发展方向。随着数据库的不断发展,对数据库的性能优化也开始变得重要起来。如何使有限的数据库系统资源为更多的用户服务,并且保证用户的响应速度和服务质量?这些问题都属于数据库性能优化的范畴。如今,Oracle数据库是世界上使用最广泛的数据库管理系统,文章将从几个方面来讨论如何对Oracle数据库进行优化的。

2内存参数调整

内存参数的调整主要是指Oracle数据库系统全局区(SGA)的调整。SGA主要由几部分构成:共享池(Shared Pool)、数据高速缓冲区(Database Buffer Cache)、重做日志缓冲区(Redo Log Buffer)、大型池(Large Pool)和其他结构组成。其中共享池和数据高速缓冲区对于日常碰到的Oracle数据库系统性能调整最为重要。……

登录APP查看全文