oracle 例項記憶體結構
轉:
例項記憶體結構
System Global Area
The System Global Area (SGA) is a group of shared memory structures, known as SGA components, that contain data and control information for one Oracle Database instance. The SGA is shared by all server and background processes. Examples of data stored in the SGA include cached data blocks and shared SQL areas
lists the components of the SGA.
Table 5-2 SGA Components
Component | Description |
---|---|
Database buffer cache |
Before data stored in the database can be queried or modified, it must be read from a disk and stored in the buffer cache. All user processes connected to the database share access to the buffer cache. For optimal performance, the buffer cache should be large enough to avoid frequent disk I/O operations. |
Shared pool |
The shared pool caches information that is shared among users:
|
Redo log buffer |
This buffer improves performance by caching redo information until it can be written to the physical online redo log files stored on disk. Redo information and online redo log files are discussed in . |
Large pool |
This optional area is used to buffer large I/O requests for various server processes. |
Java pool |
The Java pool is an area of memory that is used for all session-specific Java code and data within the Java Virtual Machine (JVM). |
Streams pool |
The Streams pool is an area of memory that is used by the Oracle Streams feature. For more information about Oracle Streams, see . |
Result cache |
The result cache buffers query results. If a query is run for which the results are stored in the result cache, then the database returns the query results from the result cache instead of rerunning the query. This SGA component speeds the execution of frequently run queries. |
See Also:
-
-
for more information about the SGA
Program Global Area
A Program Global Area (PGA) is a memory region that contains data and control information for a server process. It is nonshared memory created by Oracle Database when a server process is started. Access to the PGA is exclusive to the server process. There is one PGA for each server process. Background processes also allocate their own PGAs. The total PGA memory allocated for all background and server processes attached to an Oracle Database instance is referred to as the total instance PGA memory, and the collection of all individual PGAs is referred to as the total instance PGA, or just instance PGA.
The amount of PGA memory used and the contents of the PGA depend on whether the instance is running in dedicated server or shared server mode.
The PGA is used to process SQL statements and to hold logon and other session information. A large part of the PGA is dedicated to SQL work areas, which are working memory areas for sorts and other SQL operations.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29519108/viewspace-1449610/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [20191115]oracle例項佔用記憶體計算.txtOracle記憶體
- Oracle 11gR2 ASM例項記憶體管理OracleASM記憶體
- Oracle OCP(39):Database 記憶體結構OracleDatabase記憶體
- Oracle - 資料庫的記憶體結構Oracle資料庫記憶體
- Oracle面試寶典-記憶體結構篇Oracle面試記憶體
- 記憶體結構記憶體
- Oracle記憶體結構(四)----如何獲得Oracle各記憶體段的內部資訊(轉)Oracle記憶體
- Oracle:記憶體設定注意事項Oracle記憶體
- JVM記憶體結構JVM記憶體
- PostgreSQL:記憶體結構SQL記憶體
- Android native程式間通訊例項-binder結合共享記憶體Android記憶體
- 結構體記憶體對齊結構體記憶體
- 【MEMORY】Oracle記憶體結構資源常用檢視及sqlOracle記憶體SQL
- Oracle記憶體結構(一)----SGA的區域資訊(轉)Oracle記憶體
- MySQL整體架構與記憶體結構MySql架構記憶體
- Oracle記憶體結構(三)----Process Memory的詳細資訊(轉)Oracle記憶體
- Oracle記憶體結構(二)----Shared Pool的詳細資訊(轉)Oracle記憶體
- JVM記憶體結構劃分JVM記憶體
- JVM(七):JVM記憶體結構JVM記憶體
- 理解JVM(一):記憶體結構JVM記憶體
- JVM記憶體結構、Java記憶體模型和Java物件模型JVM記憶體Java模型物件
- 用例項帶你深入理解Java記憶體模型Java記憶體模型
- Postgresql資料庫體系結構-程式和記憶體結構SQL資料庫記憶體
- JVM的基本結構和JVM的記憶體結構JVM記憶體
- JVM及其記憶體結構劃分JVM記憶體
- JVM之記憶體結構詳解JVM記憶體
- JVM學習(一)——記憶體結構JVM記憶體
- 【JVM之記憶體與垃圾回收篇】物件例項化記憶體佈局與訪問定位JVM記憶體物件
- C++ struct結構體記憶體對齊C++Struct結構體記憶體
- c 結構體記憶體對齊詳解結構體記憶體
- Oracle體系結構學習筆記Oracle筆記
- STM32記憶體結構介紹和FreeRTOS記憶體分配技巧記憶體
- YOLO例項分割預測後刪除視訊記憶體YOLO記憶體
- 物件的例項化、記憶體佈局以及訪問定位物件記憶體
- JVM中java例項物件在記憶體中的佈局JVMJava物件記憶體
- 記憶體增強型例項規格族re4記憶體
- 例項總結Oracle知識點大全Oracle
- 瀚高資料庫記憶體結構資料庫記憶體
- Redis 雜湊結構記憶體模型剖析Redis記憶體模型