1、创建2个新的日志组
alter database add logfile group 4 ('d:\oradata\orcl\REDO04.LOG') size 200M;
alter database add logfile group 5 ('d:\oradata\orcl\REDO05.LOG') size 200M;
2、切换当前日志到新的日志组
alter system checkpoint;
alter system switch logfile;
alter system checkpoint;
alter system switch logfile;
3、删除旧的日志组
alter database drop logfile group 1;
alter database drop logfile group 2;
alter database drop logfile group 3;
4、操作系统下删除原日志组1、2、3中的文件
5、重建日志组1、2、3
alter database add logfile group 1 ('d:\oradata\orcl\REDO01.LOG') size 1024M;
alter database add logfile group 2 ('d:\oradata\orcl\REDO02.LOG') size 1024M;
alter database add logfile group 3 ('d:\oradata\orcl\REDO03.LOG') size 1024M;
6、切换日志组
alter system checkpoint;
alter system switch logfile;
alter system checkpoint;
alter system switch logfile;
alter system checkpoint;
alter system switch logfile;
7、删除中间过渡用的日志组4、5
alter database drop logfile group 4;
alter database drop logfile group 5;
8、到操作系统下删除原日志组4、5中的文件
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/16557381/viewspace-659500/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/16557381/viewspace-659500/