How to Monitor Process Memory Usage on Pluggable Databases
Last updated on MAY 05, 2014
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms