摘要:數(shù)據(jù)庫(kù)系統(tǒng)的性能最終決定數(shù)據(jù)庫(kù)的可用性。因此而言數(shù)據(jù)庫(kù)的性能是數(shù)據(jù)庫(kù)的發(fā)展的生命力。在我們對(duì)于數(shù)據(jù)庫(kù)的使用過程中,數(shù)據(jù)庫(kù)在運(yùn)行一段時(shí)間后都會(huì)存在一定的性能問題,該文主要針對(duì)數(shù)據(jù)庫(kù)性能的五個(gè)方面進(jìn)行分析和說明,分別是整體吞吐量問題、用戶響應(yīng)時(shí)間問題、內(nèi)存比例問題、磁盤的輸入輸出問題、數(shù)據(jù)庫(kù)的命中率問題,最后針對(duì)數(shù)據(jù)的優(yōu)化策略進(jìn)行分析,同時(shí)為我們數(shù)據(jù)庫(kù)性能調(diào)整與優(yōu)化提供相應(yīng)的理論支撐。
關(guān)鍵詞:ORACLE數(shù)據(jù)庫(kù);性能;調(diào)整與優(yōu)化
中圖分類號(hào):TP391 文獻(xiàn)標(biāo)識(shí)碼:A 文章編號(hào):1009-3044(2014)20-4629-02
ORACLE Database Performance Tuning and Optimization
LIU En-jun
(Network Information Center,Qiqihaer University, Qiqihaer 161006,China)
Abstract: The final decision on the performance of database systems database availability. Therefore, in terms of performance of the database is a database development vitality. In the course of our database, the database will be some performance problems after running for some time, the paper mainly for the five aspects of database performance analysis and explanation, namely, the overall throughput issues, user response time issues, memory proportion problem, the problem of disk input and output, the hit rate of the database, the final analysis of data optimization strategy, while providing appropriate theoretical support for our database performance tuning and optimization.
Key words: ORACLE database; performance; adjustment and optimization
對(duì)于我們現(xiàn)階段不斷發(fā)展的數(shù)據(jù)庫(kù)而言,Oracle數(shù)據(jù)庫(kù)的地位已經(jīng)完全超越了同等數(shù)據(jù)庫(kù)在數(shù)據(jù)庫(kù)行業(yè)的發(fā)展。對(duì)于我們用戶而言隨著現(xiàn)階段數(shù)據(jù)庫(kù)用戶的數(shù)量以極快的速度發(fā)展增加,對(duì)于數(shù)據(jù)庫(kù)而言其相應(yīng)的負(fù)載和相應(yīng)的規(guī)模都是呈現(xiàn)相同比例增加,Oracle數(shù)據(jù)庫(kù)作為現(xiàn)階段性能較好的主流數(shù)據(jù)庫(kù)之一,在一定程度上可以稱之為應(yīng)用最廣泛的數(shù)據(jù)庫(kù),現(xiàn)在已經(jīng)發(fā)展到Oracle 12C,相較于之前的Oracle 11G版本而言,Oracle 12c在很大程度上得到了提升,首先是PL/SQL性能增強(qiáng),相應(yīng)的改善了一些過去的Defaults等,數(shù)據(jù)庫(kù)在實(shí)際應(yīng)用過程中性能調(diào)整與優(yōu)化問題,該文主要針對(duì)ORACLE數(shù)據(jù)庫(kù)性能調(diào)整與優(yōu)化進(jìn)行相應(yīng)的研究和分析。
1 Oracle數(shù)據(jù)庫(kù)性能調(diào)整與架構(gòu)
1.1 Oracle數(shù)據(jù)庫(kù)性能的評(píng)價(jià)指標(biāo)
對(duì)于我們所有的數(shù)據(jù)庫(kù)的性能問題無外乎以下幾種,首先系統(tǒng)的整體吞吐量問題,這個(gè)問題面向所有的數(shù)據(jù)庫(kù)都是行之有效的;……