当前位置: 代码迷 >> Oracle管理 >> 更改trace file 位置,该如何解决
  详细解决方案

更改trace file 位置,该如何解决

热度:533   发布时间:2016-04-24 05:20:40.0
更改trace file 位置
一下是我的操作

alter session set SQL_Trace=true;
 
Session altered.
 
alter session set TIMED_STATISTICS=true;
 
Session altered.
 
alter system set USER_DUMP_DEST='/home/trace' scope=both;
 
System switch log altered.

但是我发现重启数据库或者退出重进数据库后,trace file的位置又变成了原来的位置,没有变成我更改后的位置。这是为什么呢?

------解决方案--------------------
原来用的是11g
user_dump_dest参数已经是摆设了
------解决方案--------------------
楼上在哪弄到的12c
  相关解决方案