如何监控可插拔数据库(PDB)的 SGA 内存使用情况
(Doc ID 2248684.1)
Last updated on JULY 24, 2019
适用于:
Oracle Database - Enterprise Edition - 版本 12.1.0.1 和更高版本
Oracle Database Cloud Schema Service - 版本 N/A 和更高版本
Oracle Database Exadata Cloud Machine - 版本 N/A 和更高版本
Oracle Cloud Infrastructure - Database Service - 版本 N/A 和更高版本
Oracle Database Cloud Exadata Service - 版本 N/A 和更高版本
本文档所含信息适用于所有平台
目标
该文档描述如何通过数据库的视图监控可插拔数据库的 SGA 内存使用情况。
在 RAC 环境中,应该在每个实例都运行脚本,因为 V$ 视图仅提供单个实例的准确的内存使用情况。
脚本只能在 SQL*Plus 中运行,因为用到了 SQL*Plus 的特殊功能。
脚本必须使用 sysdba 或者可以访问 CDB*,DBA* 和 V$ 视图的用户执行。
所提供的示例脚本和输出说明了该目的。
附件中的文件包含了所有的 SQL 和示例输出。
此示例代码仅供教育目的,Oracle Support 服务不提供支持。脚本已内部测试过,可以正常工作。我们不保证脚本同样适用于您的环境,所以使用之前,请在您的环境做测试。
在使用该代码之前要对其进行校对!由于文本编辑器,e-mail 和操作系统处理文本格式(空格,制表符和回车)的差异,当你收到代码的时候,该代码可能是不可执行状态。请检查示例代码来纠正这类错误。
解决方案To view full details, 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 a vibrant support community of peers and Oracle experts.
Oracle offers a comprehensive and fully integrated stack of cloud applications and platform services. For more information about Oracle (NYSE:ORCL), visit oracle.com.
© Oracle | Contact and Chat | Support | Communities | Connect with us | |
|
| Legal Notices | Terms of Use