摘要: 1. 用下面的语句找到trace文件的路径select * from v$diag_info where name='Default Trace File';2. 创建一个directory用来加载trace文件create or replace directory tracefile as '/u... 阅读全文
posted @ 2014-06-10 00:57 princessd8251 阅读(419) 评论(0) 推荐(0) 编辑
摘要: use masterIF EXISTS (SELECT * FROM sys.databasesWHERE name = 'gpdb83sp')BEGINDROP DATABASE gpdb83spEND;CREATE DATABASE gpdb83spON( NAME = gpdb83sp_dat... 阅读全文
posted @ 2014-06-10 00:49 princessd8251 阅读(561) 评论(0) 推荐(0) 编辑
摘要: There are three DMVs you can use to track tempdb usage:sys.dm_db_task_space_usagesys.dm_db_session_space_usagesys.dm_db_file_space_usageThe first two ... 阅读全文
posted @ 2014-06-10 00:39 princessd8251 阅读(236) 评论(0) 推荐(0) 编辑