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).

Oracle Database Memory Structures的更多相关文章

  1. Basic Memory Structures

    Basic Memory Structures The basic memory structures associated with Oracle Database include: System ...

  2. CHAPTER 1 Architectural Overview of Oracle Database 11g

    Which SGA structures are required, and which are optional? The database buffer cache, log buffer, an ...

  3. Oracle Database Server 'TNS Listener'远程数据投毒漏洞(CVE-2012-1675)解决

    环境:Windows 2008 R2 + Oracle 10.2.0.3 应用最新bundle patch后,扫描依然报出漏洞 Oracle Database Server 'TNS Listener ...

  4. Linux 平台安装Oracle Database 12c

    1)下载Oracle Database 12cRelease 1安装介质 官方的下载地址: 1:http://www.oracle.com/technetwork/database/enterpris ...

  5. Linux下安裝Oracle database內核參數設置

    參考:1529864.1 ************************************************** RAM                                  ...

  6. 问题: Oracle Database 10g 未在当前操作系统中经过认证

    问题: Oracle Database 10g 未在当前操作系统中经过认证 在Windows 7中安装Oracle 10g. 使用的Orcale版本是10g. 步骤1: 在Orcale官网上下载,下载 ...

  7. P6 EPPM Manual Installation Guide (Oracle Database)

    P6 EPPM Manual Installation Guide (Oracle Database) P6 EPPM Manual Installation Guide (Oracle Databa ...

  8. 使用 Oracle GoldenGate 在 Microsoft SQL Server 和 Oracle Database 之间复制事务

    使用 Oracle GoldenGate 在 Microsoft SQL Server 和 Oracle Database 之间复制事务 作者:Nikolay Manchev 分步构建一个跨这些平台的 ...

  9. Oracle Database 12c Using duplicate standby database from active database Created Active DataGuard

    primary database db_name=zwc, db_unique_name=zwc standby database db_name=zwc, db_unique_name=standb ...

随机推荐

  1. 关于Cocos2d-x中监听物体不超越边界的解决方案

    写一个监听器 touchlistener->onTouchMoved = [this](Touch* pTouch, Event*) { auto delta = pTouch->getD ...

  2. Spring Boot集成Mybatis及通用Mapper

    集成Mybatis可以通过 mybatis-spring-boot-starter 实现. <!-- https://mvnrepository.com/artifact/org.mybatis ...

  3. MetaSploit Pro 下载地址

    Windows: https://downloads.metasploit.com/data/releases/metasploit-latest-windows-installer.exe Linu ...

  4. php将汉字转换为拼音和得到词语首字母(二)

    <?php class Pinyin{ private $_outEncoding = "GB2312"; public function getPinyin($str,$p ...

  5. 函数preg_replace()与str_replace()

    如截图,preg_replace()的用法 <?php $str="as2223adfsf0s4df0sdfsdf"; echo preg_replace("/0/ ...

  6. eclipse 远程链接访问hadoop 集群日志信息没有输出的问题l

    Eclipse插件Run on Hadoop没有用到hadoop集群节点的问题参考来源 http://f.dataguru.cn/thread-250980-1-1.html http://f.dat ...

  7. url中向后台传递中文乱码解决方法

    方法一: 1.jsp中代码 var userNo = $('#prisoner_id').val();      userNo = encodeURI(userNo);      allPrisone ...

  8. mysql中如何在创建数据库的时候指定数据库的字符集?

    需求描述: 在创建DB的时候指定字符集. 操作过程: 1.使用create database语句创建数据库 mysql> create database if not exists test03 ...

  9. conn.setAutoCommit(false)数据回滚设置

    前言:介绍一点爱混淆的概念. 1.mysql中默认 autocommit=1:事物自动提交. 可通过 select @@autocommit;查看 但是是设置事务自动提交模式为set autocomm ...

  10. MySQL性能优化(四)-- MySQL explain详解

    前言 MySQL中的explain命令显示了mysql如何使用索引来处理select语句以及连接表.explain显示的信息可以帮助选择更好的索引和写出更优化的查询语句. 一.格式 explain + ...