ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 见过最全的获取数据库信息的脚本--生成html的报告

见过最全的获取数据库信息的脚本--生成html的报告

Linux操作系统 作者:thinkiger 时间:2017-03-23 14:18:20 0 删除 编辑


我在TPUB上发现的,我感觉这个脚本确实不错,按一个连接以后能用得着.http://www.itpub.net/thread-1020404-1-2.html

具体做法演示:

[oracle@rac1 ~]$ sqlplus /nolog

SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jul 11 15:57:34 2008

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

SQL> conn sys/oracle as sysdba
Connected.
SQL> @dba_snapshot_database_10g.sql

+------------------------------------------------------------------------------- ----------+
|                             Snapshot Database 10g Release 2  |
|------------------------------------------------------------------------------- ----------+
| Copyright (c) 1998-2008 Jeffrey M. Hunter. All rights reserved. (www.idevelopm ent.info) |
+------------------------------------------------------------------------------- ----------+

Creating database report.
This script. must be run as a user with SYSDBA privileges.
This process can take several minutes to complete.

Output written to: dba_snapshot_database_10g_ORCL_20080711.html
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options


 

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

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

注册时间:2012-05-30

  • 博文量
    50
  • 访问量
    88724