***********************************************聲明**********************************************
原創作品,出自 “深藍的blog” 部落格,歡迎轉載,轉載時請務必註明出處,否則追究著作權法律責任。
表述有錯誤之處,請您留言或郵件(hyldba@163.com)指明,不勝感激。
本文轉載必須保留此處:http://blog.csdn.net/huangyanlong/article/details/39216791
深藍的blog:http://blog.csdn.net/huangyanlong
***************************************************************************************************
(一)、9i
| 版本:Oracle9I |
| LINUX/UNIX |
| SGA |
顆粒大小(granule) |
| 小於等於128M時(SGA<=128 M) |
4M |
| 大於128M時(SGA >128 M) |
16M |
| WINDOWS |
| SGA |
顆粒大小(granule) |
| 小於等於128M時(SGA<=128 M) |
4M |
| 大於128M時(SGA >128 M) |
8M |
(二)、10g
| 版本:Oracle10G |
| LINUX/UNIX |
| SGA |
顆粒大小(granule) |
| 小於等於1G時(SGA<=1G) |
4M |
| 大於1G時(SGA >1G) |
16M |
| WINDOWS |
| SGA |
顆粒大小(granule) |
| 小於等於128M時(SGA<=1G) |
4M |
| 大於128M時(SGA >1G) |
8M |
(三)、11g
| 版本:Oracle11G |
| LINUX/UNIX |
| SGA |
顆粒大小(granule) |
| 小於等於1G時(SGA<=1G) |
4M |
| 大於1G時(SGA >1G) |
16M |
| WINDOWS |
| SGA |
顆粒大小(granule) |
| 小於等於128M時(SGA<=1G) |
4M |
| 大於128M時(SGA >1G) |
8M |
【簡而言之】
【例】記憶體顆粒
定義:SGA的最小配置單位
構成:由一些相連的虛擬記憶體構成
大小:由SGA決定,11G環境下,SGA小於1G時記憶體顆粒為4MB;SGA大於1G時記憶體顆粒為16MB
查詢範例:
環境:Oracle11G
SQL>select granule_size from v$sga_dynamic_components;GRANULE_SIZE------------4194304
單詞釋義:
granule:顆粒
components:組件
dynamic:動態
【擴充】
用此動態視圖還可以查看到SGA中記憶體的分配情況
SQL>select component,current_size/1024/1024 from v$sga_dynamic_componentsCOMPONENT CURRENT_SIZE/1024/1024--------------------------------------------------------------------------------------sharedpool 152largepool 8javapool 4streamspool 0DEFAULTbuffer cache 416KEEPbuffer cache 0RECYCLEbuffer cache 0DEFAULT2K buffer cache 0DEFAULT4K buffer cache 0DEFAULT8K buffer cache 0DEFAULT16K buffer cache 0DEFAULT32K buffer cache 0SharedIO Pool 0ASMBuffer Cache 014rows selected.
特别致謝,好友賀飛、範博施給予的技術協助。
***********************************************聲明**********************************************
原創作品,出自 “深藍的blog” 部落格,歡迎轉載,轉載時請務必註明出處,否則追究著作權法律責任。
表述有錯誤之處,請您留言或郵件(hyldba@163.com)指明,不勝感激。
本文轉載必須保留此處:http://blog.csdn.net/huangyanlong/article/details/39216791
深藍的blog:http://blog.csdn.net/huangyanlong
***************************************************************************************************