Thread 1 cannot allocate new log
来源:互联网 发布:做淘宝月收入多少 编辑:程序博客网 时间:2024/05/19 03:27
查看alert.log发现有很多Thread 1 cannot allocate new log, sequence 31.这样信息
分析觉得应该是dbwr写的太慢,redo切换的太频繁,日志量比较大造成的.
查看redo
select * from v$log;
GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARCHIVED STATUS FIRST_CHANGE# FIRST_TIME
---------- ---------- ---------- ---------- ---------- -------- ---------------- ------------- -----------
1 1 103 100288000 1 NO INACTIVE 21308155 2014-4-3 16
2 1 104 100288000 1 NO INACTIVE 21308158 2014-4-3 16
3 1 105 100288000 1 NO CURRENT 21308162 2014-4-3 16
准备把redo增加到200M
1、增加日志组4,5
alter database add logfile group 4 '/oracle/oradata/orcl/redo04.log' size 200M;
alter database add logfile group 5 '/oracle/oradata/orcl/redo05.log' size 200M;
2、切换日志组
alter system switch logfile;
alter system switch logfile;
3、1,2,3个日志组为不活动状态,删除日志组1,2,3
alter database drop logfile group 1;
alter database drop logfile group 2;
alter database drop logfile group 3;
4、重新添加日志组1,2,3
alter database add logfile group 1 '/oracle/oradata/orcl/redo01.log' size 200M;
alter database add logfile group 2 '/oracle/oradata/orcl/redo02.log' size 200M;
alter database add logfile group 3 '/oracle/oradata/orcl/redo03.log' size 200M;
5、切换日志组
alter system switch logfile;
alter system switch logfile;
alter system switch logfile;
6、删除日志组4,5
alter database drop logfile group 4;
alter database drop logfile group 5;
7、观察alter日志文件
- Thread 1 cannot allocate new log
- Thread 1 cannot allocate new log
- Thread 1 cannot allocate new log 的处理办法
- Thread 1 cannot allocate new log(添加logfile文件)
- Thread 1 cannot allocate new log, sequence 210510
- Thread 1 cannot allocate new log 的处理办法
- Thread 1 cannot allocate new log 问题处理
- Thread 1 cannot allocate new log引起的宕机事故
- Thread 1 cannot allocate new log 的处理办法 (转方便学习)
- Thread 1 cannot allocate new log, sequence 10018 Checkpoint not complete
- checkpoint not complete(Cannot Allocate New Log)
- Android cannot allocate memory
- 动态数组new、allocate
- Which of the following statements describe the result when standard new CANNOT allocate the requeste
- MovetoThread : Widgets cannot be moved to a new thread
- swapoff错误Cannot allocate memory
- mprotect() failed: Cannot allocate memory
- linux java Cannot allocate memory
- IO中同步、异步与阻塞、非阻塞的区别
- mysql恢复和备份数据库中的表
- java开发_生成/解析自己的QRCode二维码
- 大话重构
- 使用storyboard实现页面跳转,简单的数据传递
- Thread 1 cannot allocate new log
- 关于android百度地图离线地图的使用
- 网站发展移动端选择App or HTML5?
- 获取当前app的名称和版本号
- -Z(IDATA)ISTACK+_IDATA_STACK_SIZE#08-_IDATA_END",
- U3D点滴-单例模式
- 淘金网UCskype呼叫中心(语音群呼)系统
- Android WebView js与Java调用实例
- getElementById用法