需求来源
因/u01磁盘空间较小,alert 和 trace 日志产生的很快,导致磁盘没多久就会爆满。因此决定把alert和trace 日志放在另外一块空间较大的磁盘上 /u02.
操作过程
改之前:
SYS@orcl>show parameter diagnostic_dest
NAME TYPE VALUE
------------------------------------ ---------------------- ------------------------------
diagnostic_dest string /u01/app/oracle
SYS@orcl>
SYS@orcl>alter system set diagnostic_dest = '/u02/app/oracle';
系统已更改。
SYS@orcl>
SYS@orcl>
SYS@orcl>show parameter diagnostic_dest
NAME TYPE VALUE
------------------------------------ ---------------------- ------------------------------
diagnostic_dest string /u02/app/oracle
SYS@orcl>
嗯,已经修改成功了,无需重启oracle&#