六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 116|回复: 0

awr报表生成方法

[复制链接]

升级  25.33%

20

主题

20

主题

20

主题

秀才

Rank: 2

积分
88
 楼主| 发表于 2013-2-7 19:49:30 | 显示全部楼层 |阅读模式
可以通过调用oracle数据库服务器里awrrpt.sql或awrrpti.sql生成awr报表。存储位置在$ORACLE_HOME/rdbms/admin之中。awrrpti.sql脚本与awrrpt.sql类不同就是在awrrpti.sql脚本中,可以指定数据库ID和实例ID。

以sys身份登录sqlplus.运行@/home/oracle//app/oracle/product/10.2.0/db_1/rdbms/admin/awrrpti.sql命令。SQL*Plus: Release 10.2.0.4.0 - Production on Sun Mar 6 00:30:12 2011Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.Connected to:Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionWith the Partitioning, Real Application Clusters, OLAP, Data Miningand Real Application Testing optionsSQL> @/home/oracle//app/oracle/product/10.2.0/db_1/rdbms/admin/awrrpti.sqlSpecify the Report Type~~~~~~~~~~~~~~~~~~~~~~~Would you like an HTML report, or a plain text report?Enter 'html' for an HTML report, or 'text' for plain textDefaults to 'html'Enter value for report_type: 根据实际情况进行操作
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表