5.1.3.5 About XRMEM Cache Management in IORM Plans
I/O Resource Management (IORM) can provide predictable performance by guaranteeing space in Exadata RDMA Memory Cache (XRMEM cache).
With multiple databases and pluggable databases (PDBs) sharing the storage, XRMEM cache space becomes a critical resource that requires management. IORM can reserve space for critical databases or PDBs while preventing less important or rogue entities from consuming the entire XRMEM cache.
You can use the following attributes in the interdatabase plan to set limits for XRMEM cache resources. A hard limit means that the specified limit cannot be exceeded even when the cache is not full. A soft limit means that the specified limit can be exceeded if there are available resources.
-
xrmemCacheMin
— Specifies the minimum amount of XRMEM cache space that is guaranteed for the specified database, even if the blocks are cold. This is a hard limit.Because
xrmemCacheMin
is a guaranteed reservation, the sum ofxrmemCacheMin
across all directives should be less than the size of the XRMEM cache to ensure that each database gets its respective quota. xrmemCacheLimit
— Specifies the soft maximum amount of XRMEM cache space that is available to the database. If the XRMEM cache is not full, a database can exceed thexrmemCacheLimit
value.-
xrmemCacheSize
— Specifies the hard maximum amount of XRMEM cache space that is available to the database. ThexrmemCacheSize
value cannot be exceeded at any time.However, if you set
xrmemCacheSize
to a value that is lower than the current space occupied by the database, then excess data is proactively cleared from the cache.xrmemCacheSize
is not a guaranteed reservation if the sum of thexrmemCacheSize
across all directives is more than the size of the XRMEM cache. In this case, you can also specifyxrmemCacheMin
to define a guaranteed minimum quota.Note:
On Exadata X8M and X9M storage server models only, you can interchangeably use attribute names starting with
pmem
instead ofxrmem
. For example,pmemCacheMin
instead ofxrmemCacheMin
. However, you cannot have a mixture of PMEM and XRMEM attributes in the IORM plan.
Within each database, you can manage the minimum and maximum quotas for PDBs
with Oracle Database Resource Manager, in a container database (CDB) resource plan using the
memory_min
and memory_limit
directives.
Cache limits in an interdatabase IORM plan directive constrain the settings
in any corresponding CDB plan. Consequently, if an interdatabase IORM plan directive
specifies xrmemCacheMin
and xrmemCacheSize
settings
for a database, then the PDB-specific memory_min
quotas in the CDB plan
represent fractions of the xrmemCacheMin
setting, and the PDB-specific
memory_limit
values represent fractions of the
xrmemCacheSize
.
However, if the interdatabase IORM plan directive specifies
xrmemCacheSize
without xrmemCacheMin
, then the
PDB-specific memory_min
settings are ignored while the
memory_limit
settings continue to represent fractions of the
xrmemCacheSize
.
Parent topic: About Interdatabase Resource Management