Oracle不同版本下記憶體顆粒大小的規範____Oracle

來源:互聯網
上載者:User

 ***********************************************聲明********************************************** 

原創作品,出自 “深藍的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

***************************************************************************************************

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.