dg修改归档目录 oracle_oracle 11g修改归档日志目录及大小

1.查看当前归档日志目录

SQL> show parameter recovery

NAME TYPE VALUE

------------------------------------ ----------- ------------------------------

db_recovery_file_dest string /u01/app/oracle/fast_recovery_

area

db_recovery_file_dest_size big integer 4182M

recovery_parallelism integer 0

2.更改归档日志目录

SQL> alter system set db_recovery_file_dest='/u01/app/oracle/archivelog' scope=spfile;

System altered.

3.更改归档日志目录大小

SQL> alter system set db_recovery_file_dest_size=4096m scope=spfile;

System altered.

4.重启数据库并查看归档日志目录及大小

SQL> shutdown immediate

Database closed.

Database dismounted.

ORACLE instance shut down.

SQL> startup

ORACLE instance started.

Total System Global Area 759943168 bytes

Fixed Size 2257112 bytes

Variable Size 499126056 bytes

Database Buffers 255852544 bytes

Redo Buffers 2707456 bytes

Database mounted.

Database opened.

SQL> show parameter recovery

NAME TYPE VALUE

------------------------------------ ----------- ------------------------------

db_recovery_file_dest string /u01/app/oracle/archivelog

db_recovery_file_dest_size big integer 4G

recovery_parallelism integer 0

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值