Oracle Database Memory Structures

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

时间: 2024-10-05 09:54:27

Oracle Database Memory Structures的相关文章

Basic Memory Structures

Basic Memory Structures The basic memory structures associated with Oracle Database include: System global area (SGA) The SGA is a group of shared memory structures, known as SGA components, that contain data and control information for one Oracle Da

P6 EPPM Manual Installation Guide (Oracle Database)

Contents Oracle Database Manual Configuration Overview ,,★★5 Oracle Database Installation ,,★★6 Creating the Database Structure for Oracle and Loading Application Data ,,★★7 Creating the P6 EPPM Database Structure for Oracle ,,★★7 Copying the Script

【翻译自mos文章】设置了RemoveIPC=yes 的RHEL7.2上 会crash掉Oracle asm 实例和Oracle database实例

设置了RemoveIPC=yes 的RHEL7.2  会crash掉Oracle asm 实例和Oracle database实例,该问题也会在使用Shared Memory Segment (SHM) or Semaphores (SEM)的应用程序中发生. 来源于: ALERT: Setting RemoveIPC=yes on Redhat 7.2 Crashes ASM and Database Instances as Well as Any Application That Uses

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

使用 Oracle GoldenGate 在 Microsoft SQL Server 和 Oracle Database 之间复制事务 作者:Nikolay Manchev 分步构建一个跨这些平台的简单事务复制示例. 2011 年 8 月发布 大多数关注数据复制的 Oracle 技术专家都熟悉 Oracle Streams.在 2009 年之前,Streams 一直是推荐使用的最流行的 Oracle 数据分发技术. 2009 年 7 月,Oracle 收购了 GoldenGate 这一数据库复

Oracle database 11.2.0.3.0 升级至 11.2.0.3.14

下载PSU p20299017_112030_Linux-x86-64(DATABASE PATCH SET UPDATE 11.2.0.3.14 (INCLUDES CPUAPR2015)).zip 及Opatch p6880880_112000_Linux-x86-64(OPatch patch of version 11.2.0.3.10 for Oracle software releases 11..zip 下载地址 http://yunpan.cn/cHACmBerMb526 访问密

OGG-02050 Not enough database memory to honor requested MAX_SGA_SIZE

在测试GoldenGate Integrated Capture Mode的时候,启动抽取进程报 OGG-02050 Not enough database memory to honor requested MAX_SGA_SIZE 错误 参数配置如下: GGSCI (zbdba1) 20> view param ext1 EXTRACT ext1 USERID ogg, PASSWORD ogg TRANLOGOPTIONS INTEGRATEDPARAMS (MAX_SGA_SIZE 50

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

參考:1529864.1 ************************************************** RAM                                  Swap Space Between 1 GB and 2 GB       1.5 times the size of RAM Between 2 GB and 16 GB      Equal to the size of RAM More than 16 GB                

在RHEL7 or OL7上安装oracle database 12c的要求

本文来自: Requirements for Installing Oracle Database 12.1on RHEL7 or OL7 64-bit (x86-64) (文档 ID 1961997.1) 本文不做翻译,仅作原文转载: Applies to: Oracle Database - Enterprise Edition - Version 12.1.0.2 and later Linux x86-64 Purpose This note explains the requireme

Oracle database 11gR2静默安装

环境为OL 6.5和CentOS 6.5; Oracle database版本: linux.x64_11gR2 Oracle数据库静默安装,1)不用安装桌面: 2)安装速度快,且不用人一直守着: 需要做四件事,不过在做这些之前,你需要正确的添加oracle相关的用户及组,并且分配相应的权限,以及检查安装的前提条件. 1) 解压: unzip linux.x64_11gR2_database_1of2.zip unzip linux.x64_11gR2_database_2of2.zip 2)复