Summary of Memory Management Methods

Summary of Memory Management Methods

Table 18-1 summarizes the various memory management methods. If you do not enable automatic memory management, then you must separately configure one memory management method for the SGA and one for the PGA.

Note:

When automatic memory management is not enabled, the default method for the instance PGA is automatic PGA memory management.

Table 18-1 Memory Management Methods

Instance SGA PGA Description Initialization Parameters

Auto


n/a


n/a


The database tunes the size of the instance based on a single instance target size.


You set:

  • Total memory target size for the database instance (MEMORY_TARGET)
  • Optional maximum memory size for the database instance (MEMORY_MAX_TARGET)

n/a


Auto


Auto


The database automatically tunes the SGA based on an SGA target.

The database automatically tunes the PGA based on a PGA target.


You set:

  • SGA target size (SGA_TARGET)
  • Optional SGA maximum size (SGA_MAX_SIZE)
  • Instance PGA target size (PGA_AGGREGATE_TARGET)

n/a


Auto


Manual


The database automatically tunes the SGA based on an SGA target.

You control the PGA manually, setting the maximum work area size for each type of SQL operator.


You set:

  • SGA target size (SGA_TARGET)
  • Optional SGA maximum size (SGA_MAX_SIZE)
  • PGA work area parameters such as SORT_AREA_SIZE, HASH_AREA_SIZE, and BITMAP_MERGE_AREA_SIZE

n/a


Manual


Auto


You control the SGA manually by setting individual component sizes.

The database automatically tunes the PGA based on a PGA target.


You set:

  • Shared pool size (SHARED_POOL_SIZE)
  • Buffer cache size (DB_CACHE_SIZE)
  • Large pool size (LARGE_POOL_SIZE)
  • Java pool size (JAVA_POOL_SIZE)
  • Streams pool size (STREAMS_POOL_SIZE)
  • Instance PGA target size (PGA_AGGREGATE_TARGET)

n/a


Manual


Manual


You must manually configure SGA component sizes.

You control the PGA manually, setting the maximum work area size for each type of SQL operator.


You must manually configure SGA component sizes. You set:

  • Shared pool size (SHARED_POOL_SIZE)
  • Buffer cache size (DB_CACHE_SIZE)
  • Large pool size (LARGE_POOL_SIZE)
  • Java pool size (JAVA_POOL_SIZE)
  • Streams pool size (STREAMS_POOL_SIZE)
  • PGA work area parameters such as SORT_AREA_SIZE, HASH_AREA_SIZE, and BITMAP_MERGE_AREA_SIZE

See Also:

Oracle Database Administrator‘s Guide because automatic memory management is not available on all platforms

http://docs.oracle.com/cd/E25178_01/server.1111/e25789/cncptdba.htm#CHDDHBDD

时间: 2024-08-01 21:36:50

Summary of Memory Management Methods的相关文章

Objective -C Memory Management 内存管理 第一部分

Objective -C Memory Management??内存管理??第一部分 Memory management is part of a more general problem in programming called resource management. 内存管理是资源管理的一部分. Every computer system has finite resources for your program to use. These include memory, open fi

《modern operating system》 chapter 3 MEMORY MANAGEMENT 笔记

MEMORY MANAGEMENT The part of the operating system that manages (part of) the memory hierarchy is called thememory manager 这章感觉有点多...80 多页..看完都看了两天多,做笔记就更有点不想...有点懒了..但是要坚持下去,可以自己较劲 对于内存的抽象,最简单的抽象就是...没有抽象 和第一次看不一样,把summary放在最前面,对整个mamory management的

Objective-C Memory Management 内存管理 2

Objective-C Memory Management?内存管理? 2? 2.1 The Rules of Cocoa Memory Management 内存管理规则 (1)When you create an object using new, alloc, or copy, the object has aretain count of 1. You are responsible for sending the object a release or autorelease mess

Fixed Partition Memory Management UVALive - 2238 建图很巧妙 km算法左右顶点个数不等模板以及需要注意的问题 求最小权匹配

/** 题目: Fixed Partition Memory Management UVALive - 2238 链接:https://vjudge.net/problem/UVALive-2238 题意:lv 思路:lrjP352. 来自lrj训练指南. n个程序作为左边结点, n*m个结点在右边:由于只要求n个程序在右边能找到的匹配点,km算法可以求解.修改nx,ny的值. if(f[i][j]==-1){ for(int k = 1; k <= n; k++) love[i][j*n+k-

Android Memory Management, OutOfMemoryError

A Android框架强制每个进程的24 MB内存限制.在一些旧的设备,如在G1,限制为16 MB 更低,更重要的是,由位图使用的内存限制.处理图像的应用程序,它是很容易达到此限制,并获得与OOM 异常死亡 的过程:E / dalvikvm堆(12517):1048576字节外部分配这个 过程中过大的E / GraphicsJNI(12517): VM将不会让我们分配1048576字节 / AndroidRuntime(12517):关闭VM / dalvikvm(12517):主题ID = 1

2015.12.21 内存管理(memory management)

Memory Management 1.什么是内存管理? 程序在运行过程中管理内存分配的过程,当需要内存的时候就申请一片内存空间,不需要就释放掉. 2.如何去管理内存 站在分配对象拥有权的角度来操作内存. 3.内存管理的两种办法 a. MRR(Manual Retain Release)手动管理,实现的机制:reference counting(引用计数机制). b. ARC(Auto Reference Counting)自动引用计数,实现机制:系统在程序编译阶段自动添加了释放对象的办法. 4

Objective-C Memory Management Being Exceptional 异常处理与内存

Objective-C Memory Management ? ?Being Exceptional ?异常处理与内存 3.1Cocoa requires that all exceptions must be of type NSException cocoa?需要所有的异常是NSException类型的. so even though you can throw an exception from other objects, Cocoa isn't set up to deal with

Automatic Tuning of Memory Management

4.2.2 Automatic Tuning of Memory Management Two memory management initialization parameters, MEMORY_TARGET and MEMORY_MAX_TARGET, enable automatic management of the System Global Area (SGA), Program Global Area (PGA), and other memory required to run

如何展开Linux Memory Management学习?

Linux的进程和内存是两座大山,没有翻过这两座大山对于内核的理解始终是不完整的. 关于Linux内存管理,在开始之前做些准备工作. 首先bing到了Quora的<How can one really learn Linux Kernel Memory Management?>,这也是大部分初学者,或者说大部分Linux内核开发人员的疑问? 正如Vaishali Thakkar所说,最好的方法是读代码,但是面对这么庞杂的代码,往往是无从下手.Vaishali Thakkar推荐从LSF/MM论