2009年7月15日

摘要: spool d:/10-10.logPrompt 192.168.10.10 WCM03 分析 Prompt 分析时间SELECT SYSDATE FROM DUAL;Prompt 数据库实例SELECT NAME FROM V$DATABASE;Prompt 检查数据文件的状态记录状态不是"online"的数据文件Select file_name from dba_data_files where status='OFFLINE';Prompt 检查表空间的使用情况 如果表空间使用超过80%,添加新的数据文件或者加大数据文件的大小SELECT tables 阅读全文
posted @ 2009-07-15 18:23 站在高处眺望 阅读(329) 评论(0) 推荐(0) 编辑
 
摘要: 查看当前数据库的所有客户端链接情况:select hostname,count(*) hostconncount from master.dbo.sysprocesses group by hostname order by count(*) desc 阅读全文
posted @ 2009-07-15 17:16 站在高处眺望 阅读(322) 评论(0) 推荐(0) 编辑