Ansicht
Dokumentation

ABENBUFFER_MEMORY - BUFFER MEMORY

ABENBUFFER_MEMORY - BUFFER MEMORY

BAL_S_LOG - Application Log: Log header data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

- Buffer Management

Storage in the Memory

Table buffering takes place in the shared memory of each . The table buffer consists of a central management structure, an alphabetical directory of tables, and a data area. The individual areas of a generically buffered table or view are managed as individual fully buffered tables. The buffered data is stored in the data area as internal tables. The data area is managed using SAP Memory Management.

When a buffered table or view is accessed using , a search first takes place for the name of the table in the table directory and then a binary search takes place for the data.

In both single record buffering and in generic buffering, information about nonexistent rows in a table or view is also saved. The first time a nonexistent row is read, the key values of the primary key or generic key are loaded into the associated data area with an otherwise empty row and a corresponding flag. The next time an attempt is made to read this row, the buffer already indicates that this row does not exist.

Notes

  • The management of single record buffering slightly less efficient than generic or full buffering. In single record buffering, the rows are loaded into the internal table in the data area gradually. In generic buffering and full buffering, all data of a table or view is loaded in a single step and sorted on the database.
  • When saved to memory, null values are handled as such and are not transformed to type-dependent initial values.

Buffer Monitor

The buffer monitor is an SAP Memory Management tool (transaction ST02) used, among other things, to analyze the table buffer of the current . This includes tasks such as:

  • Displaying the buffer load on the over the last few days
  • Displaying and modifying the associated profile parameters
  • Displaying table statistics for analyzing the effectiveness of a buffer. The displayed values are useful when optimizing the associated profile parameters and when detecting expensively buffered tables.

For more information, see the documentation Buffering in SAP Help Portal.






BAL_S_LOG - Application Log: Log header data   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 3235 Date: 20240329 Time: 054104     sap01-206 ( 57 ms )