第十八天 oracle體繫結構(1)

來源:互聯網
上載者:User

標籤:記錄   red   訪問   共用池   包括   global   lob   資料字典   from   

oracle 管理:

 

 

instance
執行個體

 

RAC(real application cluster) oracle工作環境,一對一或多對一
instance1 instance2
\ /
database


SGA 緩衝區 shared pool共用池 用於緩衝最近執行過的sql語句的執行計畫
主要包括:Library cache(共用SQL區)和Data dictionary cache(資料字典緩衝區)
(system global area) 資料庫在訪問時以塊為單位
background process
server process

 


PGA(program global area)
SGA是動態

show系列命令:
SQL>show sga 看到的total是sga的上限。
SQL>show parameter 查看系統初始化參數 show parameter sga_max_size 也是sga上限
SQL>select * from V$SGAINFO; 查看動態效能檢視 類似Windows工作管理員。
查看當前sga大小 可以用上限-free sga大小。

 


1.確認執行計畫,放入共用池2.把原值讀入buffer cache 產生兩個塊, 複製一份(old inage),再修改原值產生新版本(new image)。3.redo log buffer 使用者提交後將修改過的新鏡像(new image)記錄到磁碟的記錄檔log file
盡量減少磁碟的讀寫。

database
資料庫

dbw
每3秒鐘
髒資料區塊到達限額
沒有空閑buffer
檢查點出現

lgwr
commit
log buffer 1/3滿
沒產生1M redo data
每3秒鐘
在dbw寫髒資料之前

 

第十八天 oracle體繫結構(1)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.