ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 生成AWR报告报错

生成AWR报告报错

原创 Linux操作系统 作者:tianya_2011 时间:2013-01-17 12:25:22 0 删除 编辑
今天生成oracle AWR报告的时候,报错SP2-0042,这里小记一下。现在还不知道是什么原因造成的,请有
知道的指点一下。
OS:AIX
DB:10.2.0.4.0
$cd $ORACLE_HOME/rdbms/admin
$ sqlplus "/ as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Thu Jan 16 12:11:18 2013
Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> @awrrpt.sql
SP2-0042: unknown command "awrrpt.sql" - rest of line ignored.
将@替换成start执行
SQL> start awrrpt.sql
Current Instance
~~~~~~~~~~~~~~~~
   DB Id    DB Name      Inst Num Instance
----------- ------------ -------- ------------
 1072320112 ORACLE              1 oradb1

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'
Enter value for report_type:
现在可以正常生成AWR报告。

 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/25373498/viewspace-752800/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2011-04-11

  • 博文量
    85
  • 访问量
    631253