Você está na página 1de 11

Agenda

Basics of memory

SAP Roll Area

SAP Extended Memory

SAP Heap memory


SAP Buffer

Sap Memory Management


Basics of Memory

Physical memory and Virtual memory

Virtual memory

Paging File

Physical memory
& /

OS Swap Space

Sap Memory Management


Basics of Memory

Local memory and shared memory

Virtual memory

Workprocess Local memory

All work processes of one instance Shared Memory

Sap Memory Management


SAP Roll Memory

SAP Roll Memory

 Local SAP Roll area of work process


- The initial part of user context stored
- Each SAP work process can only access its own roll area

Shared SAP Roll Area


- Accessible to all of instance work processes
- Buffer to temporary keep user context when a user is assigned to
new work process

- Roll in : copying user context from shared roll area to local roll area
- Roll Out : copying user context from local roll area to shared roll area

Sap Memory Management


SAP Roll Memory

Roll buffer (shared memory)


Roll area Roll area
(local) (local)
copy copy

Work
Work Process2
Process1
Roll file (disk)

ztta/roll_first Roll Buffer (shared)


Roll
(local) Roll In /
Roll Out
ztta/roll_area
Roll file

Sap Memory Management


SAP Extended Memory

SAP Extended Memory

Extended memory is the heart of the memory system

Shared memory in which objects, data, internal tables associated with individual users
are stored

 All SAP work process can edit stored user context directly

Each WP has a part of memory reserved in extended memory

 Makes roll process much faster

Sap Memory Management


SAP Extended Memory

Memory allocation for Dialog WP

Roll Roll Heap


Area Extended Memory Area 2 memory
1

Extended Memory WP has


used up Roll entered in
memory PRIV Mode
used up

Sap Memory Management


SAP Heap Memory

SAP Heap Memory

•It is used when Extended and roll memory are full.

•It is allocated and released on demand.

•It is the part of the Local memory

Sap Memory Management


SAP Heap Memory

Sap Memory Management


SAP Buffer

SAP Buffer/Client Cache

• When the object is used frequently, it is moved to the buffer.

• HIT Ratio

• SWAP Rate

• Types of buffer :
1) Repository Buffer
2) Table buffer
3) Prog Buffer
4) SAP GUI Buffer
5) Calendar Buffer
6 ) Export/Import Buffer

Sap Memory Management


SAP Buffer

Sap Memory Management

Você também pode gostar