如何查oracle数据库占用内存,如何监控可插拔数据库(PDB)的 SGA 内存使用情况...

8f4694ad83688a3b086e0b65a72a0864.png

如何监控可插拔数据库(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 | 49b66c3c850039e43e743c59ca4d4d68.png | 08c3a0fcc551beef4d932cfbc2e4dbc8.png | bc5a093e29e9ce7e90a2c4fbcd363cbf.png | Legal Notices | Terms of Use

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值