最近发现数据的库存在日志频繁切换,查看了才发现redo log日志太小,进行在线调整。
1.查看当前日志组成员
SQL> select member from v$logfile;
MEMBER
------------------------------------------------------
/u01/oracle/oradata/orcl/redo03.log
/u01/oracle/oradata/orcl/redo02.log
/u01/oracle/oradata/orcl/redo01.log
2.查看当前日志组状态
SQL> select group#,members,bytes/1024/1024,status from v$log;
GROUP# MEMBERS BYTES/1024/1024 STATUS
---------- ---------- --------------- ----------------
1 1