Oracle Database creates and uses memory structures for various purposes. For example, memory
stores program code being run, data that is shared among users, and private data areas for each
connected user.
Two basic memory structures are associated with an instance:
• System Global Area (SGA):Group of shared memory structures, known as SGA
components, that contain dataand 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.
• Program Global Areas (PGA):Memory regions that contain data and control information
for a server or background process. A PGA is nonshared memory created by Oracle
Database when a server or background process is started. Access to the PGA is exclusive
to the server process. Each server process and background process has its own PGA

The SGA is the memory area thatcontains data and control information for the instance. The
SGA includes the following data structures:
• Shared pool:Caches various constructs that can be shared among users
• Database buffer cache:Caches blocks of data retrieved from the database
• KEEP buffer pool:A specialized type of database buffer cache that is tuned to retain
blocks of data in memoryfor long periods of time
• RECYCLE buffer pool:A specialized type of database buffer cache that is tuned to
recycle or remove block from memory quickly
• nK buffer cache:One of several specialized database buffer caches designed to hold
block sizes different than the default database block size
• Redo log buffer:Caches redo information (used for instance recovery) until it can be
written to the physical redo log files stored on the disk
• Large pool:Optional area that provides large memory allocations for certain large
processes, such as Oracle backup and recovery operations, and I/O server processes
• Java pool:Used for all session-specific Java code and data in the Java Virtual Machine
(JVM)
• Streams pool:Used by Oracle Streams to store information required by capture and apply
When you start the instance by using Enterprise Manager or SQL*Plus, the amount of memory
allocated for the SGA is displayed.
A Program Global Area (PGA) isa memory region that containsdata and control information
for each server process. An Oracle server process services a client’s requests. Each server
process has its own private PGA that is allocated when the server process is started. Access to
the PGA is exclusive to that server process, and the PGA is read and written only by the Oracle
code acting on its behalf. The PGA is divided into two major areas: stack space and the user
global area (UGA).
With the dynamic SGA infrastructure, the sizes ofthe database buffer cache, the shared pool, the
large pool, the Java pool, and the Streams pool can change without shutting down the instance.
The Oracle database uses initialization parametersto create and manage memory structures. The
simplest way to manage memory isto allow the database to automatically manage and tune it for
you. To do so (on most platforms), you only have to set a target memory size initialization
parameter (MEMORY_TARGET) and a maximum memory size initialization parameter
(MEMORY_MAX_TARGET).

最新文章

  1. JAVA 日期格式工具类DateUtil.java
  2. 深入理解定位父级offsetParent及偏移大小
  3. javaweb中实现在线人数统计
  4. YUM软件管理
  5. Unix 网络编程(2)——TCP API
  6. 常用apt cli
  7. C# 导出word文档及批量导出word文档(3)
  8. TCP/IP笔记(五)IP协议相关技术
  9. DevOps之三 Git的安装与配置
  10. MonolithFirst
  11. mysql.user表详解
  12. maven 中的pom中的 dependencyManagement 和 dependencies
  13. 此请求已被阻止,因为当用在 GET 请求中时,会将敏感信息透漏给第三方网站。若要允许 GET 请求,请将 JsonRequestBehavior 设置为 AllowGet。
  14. Redhat 下 XAMPP 安装和部署 DVWA 教程
  15. webmin改https访问
  16. 【洛谷p2430】严酷的训练
  17. angularjs探秘<五> 举足轻重的scope
  18. Lucene.net之解决锁的问题
  19. C语言 结构体传值与传址分析
  20. Python爬虫学习笔记之模拟登陆并爬去GitHub

热门文章

  1. javascript时钟代码 DEMO-002
  2. ViZDoom安装
  3. BCM_SDK命令
  4. windows下定时任务设置
  5. Javascript 严格模式 strict mode(转)
  6. BinarySearchTree二叉搜索树的实现
  7. 如何将ppt转换为高清图片?
  8. 如何:为 IIS 7.0 配置 <system.webServer> 节
  9. Maven------pom.xml自动加载各种类库代码
  10. day23<File类递归练习>