本机生成远程数据库AWR报告
发表于:2026-11-01 作者:千家信息网编辑
千家信息网最后更新 2026年11月01日,1、本机命令行连接oracle数据库sqlplus /nologSQL> conn system/oracle@981492、执行生成AWR报告命令SQL> @?/rdbms/admin/awrrpt
千家信息网最后更新 2026年11月01日本机生成远程数据库AWR报告
1、本机命令行连接oracle数据库
sqlplus /nolog
SQL> conn system/oracle@98149
2、执行生成AWR报告命令
SQL> @?/rdbms/admin/awrrpt.sql
Current Instance
~~~~~~~~~~~~~~~~
DB Id DB Name Inst Num Instance
----------- ------------ -------- ------------
1244647887 ORAL 1 oral
Specify the Report Type
~~~~~~~~~~~~~~~~~~~~~~~
Would you like an HTML report, or a plain text report?
Enter 'html' for an HTML report, or 'text' for plain text
Defaults to 'html'
-----------------------------------------------------------------此处输入html
输入 report_type 的值: html
Type Specified: html
Instances in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DB Id Inst Num DB Name Instance Host
------------ -------- ------------ ------------ ------------
* 1244647887 1 ORAL oral s11ora11
Using 1244647887 for database Id
Using 1 for instance number
Specify the number of days of snapshots to choose from
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Entering the number of days (n) will result in the most recent
(n) days of snapshots being listed. Pressing without
specifying a number lists all completed snapshots.
-----------------------------------------------------------------此处输入需要查看报告的天数
输入 num_days 的值: 1
Listing the last day's Completed Snapshots
Snap
Instance DB Name Snap Id Snap Started Level
------------ ------------ --------- ------------------ -----
oral ORAL 17512 23 3月 2018 00:00 1
17513 23 3月 2018 00:30 1
17514 23 3月 2018 01:00 1
17515 23 3月 2018 01:30 1
17516 23 3月 2018 02:00 1
17517 23 3月 2018 02:30 1
17518 23 3月 2018 03:00 1
17519 23 3月 2018 03:30 1
17520 23 3月 2018 04:00 1
17521 23 3月 2018 04:30 1
17522 23 3月 2018 05:00 1
17523 23 3月 2018 05:30 1
17524 23 3月 2018 06:00 1
17525 23 3月 2018 06:30 1
17526 23 3月 2018 07:00 1
17527 23 3月 2018 07:30 1
17528 23 3月 2018 08:00 1
17529 23 3月 2018 08:30 1
17530 23 3月 2018 09:00 1
-----------------------------------------------------------------输入对应时间的snap_id
Specify the Begin and End Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
输入 begin_snap 的值: 17529
Begin Snapshot Id specified: 17529
输入 end_snap 的值: 17530
End Snapshot Id specified: 17530
Specify the Report Name
~~~~~~~~~~~~~~~~~~~~~~~
The default report file name is awrrpt_1_17529_17530.html. To use this name,
press to continue, otherwise enter an alternative.
-----------------------------------------------------------------直接回车,在命令行启动目录路径下生成报告
输入 report_name 的值:
1、本机命令行连接oracle数据库
sqlplus /nolog
SQL> conn system/oracle@98149
2、执行生成AWR报告命令
SQL> @?/rdbms/admin/awrrpt.sql
Current Instance
~~~~~~~~~~~~~~~~
DB Id DB Name Inst Num Instance
----------- ------------ -------- ------------
1244647887 ORAL 1 oral
Specify the Report Type
~~~~~~~~~~~~~~~~~~~~~~~
Would you like an HTML report, or a plain text report?
Enter 'html' for an HTML report, or 'text' for plain text
Defaults to 'html'
-----------------------------------------------------------------此处输入html
输入 report_type 的值: html
Type Specified: html
Instances in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DB Id Inst Num DB Name Instance Host
------------ -------- ------------ ------------ ------------
* 1244647887 1 ORAL oral s11ora11
Using 1244647887 for database Id
Using 1 for instance number
Specify the number of days of snapshots to choose from
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Entering the number of days (n) will result in the most recent
(n) days of snapshots being listed. Pressing
specifying a number lists all completed snapshots.
-----------------------------------------------------------------此处输入需要查看报告的天数
输入 num_days 的值: 1
Listing the last day's Completed Snapshots
Snap
Instance DB Name Snap Id Snap Started Level
------------ ------------ --------- ------------------ -----
oral ORAL 17512 23 3月 2018 00:00 1
17513 23 3月 2018 00:30 1
17514 23 3月 2018 01:00 1
17515 23 3月 2018 01:30 1
17516 23 3月 2018 02:00 1
17517 23 3月 2018 02:30 1
17518 23 3月 2018 03:00 1
17519 23 3月 2018 03:30 1
17520 23 3月 2018 04:00 1
17521 23 3月 2018 04:30 1
17522 23 3月 2018 05:00 1
17523 23 3月 2018 05:30 1
17524 23 3月 2018 06:00 1
17525 23 3月 2018 06:30 1
17526 23 3月 2018 07:00 1
17527 23 3月 2018 07:30 1
17528 23 3月 2018 08:00 1
17529 23 3月 2018 08:30 1
17530 23 3月 2018 09:00 1
-----------------------------------------------------------------输入对应时间的snap_id
Specify the Begin and End Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
输入 begin_snap 的值: 17529
Begin Snapshot Id specified: 17529
输入 end_snap 的值: 17530
End Snapshot Id specified: 17530
Specify the Report Name
~~~~~~~~~~~~~~~~~~~~~~~
The default report file name is awrrpt_1_17529_17530.html. To use this name,
press
-----------------------------------------------------------------直接回车,在命令行启动目录路径下生成报告
输入 report_name 的值:
输入
报告
命令
生成
数据
数据库
本机
天数
时间
目录
路径
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
苏州找大状互联网科技有限公司
科技与互联网
互联网科技公司税收优惠
互联网科技英文
互联网科技小贷
壹账通互联网科技
互联网科技大会
一五八零互联网科技
互联网金融监管科技
科技类的互联网平台
卓越科技互联网 招聘
互联网科技产品
中盈科技互联网信息有限公司
深圳国际航运科技和互联网
互联网与医疗科技
乌鲁木齐新华智原互联网科技学校
工业互联网山东科技大学
小米互联网科技园入驻
吉林省码上互联网科技电话
互联网高科技行业有哪些企业
亿人帮互联网科技有限公司
西安纸贵互联网科技有限公司
科技制造互联网公司
深圳齐家互联网科技
新浪科技互联网
卓越科技互联网 招聘
青岛科技大学互联网大赛研究生
2021互联网科技公司排名
工业互联网科技成果转化
科技和互联网行业的特点