How to Monitor SGA Memory on Pluggable Database
(Doc ID 1516229.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 18.104.22.168 and later
Information in this document applies to any platform.
This note describes how to monitor SGA memory usage on pluggable databases using queries against database views.
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.
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!