How to Monitor Process Memory Usage on Pluggable Databases
(Doc ID 1516202.1)
Last updated on AUGUST 01, 2019
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
The purpose of this note is to demonstrate how to determine process memory usage of pluggable databases.
On RAC configuration, the scripts should be run on each instance since only V$ views are used to provide a accurate memory usage for individual database instance.
The scripts must be run in SQL*Plus session since specific SQL*Plus functions are used.
Scripts must be run as sysdba or database user account having access to CDB*, DBA* and V$ tables.
Example scripts and their output are provided to demonstrate that purpose.
A file containing all sql is included as an attachment as well as example spool output.
This sample code is provided for educational purposes only and not supported by Oracle Support Services. It has been tested internally, however, and works as documented. We do not guarantee that it will work for you, so be sure to test it in your environment before relying on it.
Proofread this sample code before using it! Due to the differences in the way text editors, e-mail packages and operating systems handle text formatting (spaces, tabs and carriage returns), this sample code may not be in an executable state when you first receive it. Check over the sample code to ensure that errors of this type are corrected.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document