Chinaunix首页 | 论坛 | 博客
  • 博客访问: 137118
  • 博文数量: 25
  • 博客积分: 460
  • 博客等级: 下士
  • 技术积分: 252
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-11 10:48
个人简介

努力学习,谦虚请教,不断提升!

文章分类

全部博文(25)

文章存档

2015年(3)

2014年(4)

2013年(3)

2012年(9)

2011年(6)

我的朋友

分类: DB2/Informix

2011-11-11 13:52:58

  1. 问题:检查数据库时发现On-Line状态一直处于CKPT REQ状态,
  2. -bash-3.2$ onstat -
  3. IBM Informix Dynamic Server Version 11.50.UC6 -- On-Line (CKPT REQ) -- Up 04:18:49 -- 144144 Kbytes
  4. 检查逻辑日志,发现已经全部占满
  5. -bash-3.2$ onstat -l
  6. IBM Informix Dynamic Server Version 11.50.UC6 -- On-Line (CKPT REQ) -- Up 03:53:41 -- 144144 Kbytes
  7. Blocked:CKPT
  8. Physical Logging
  9. Buffer bufused bufsize numpages numwrits pages/io
  10. P-1 40 64 9402 168 55.96
  11. phybegin physize phypos phyused %used
  12. 1:263 25000 9531 104 0.42
  13. Logical Logging
  14. Buffer bufused bufsize numrecs numpages numwrits recs/pages pages/io
  15. L-3 4 32 475230 30000 4278 15.8 7.0
  16. Subsystem numrecs Log Space used
  17. OLDRSAM 475189 55702620
  18. HA 41 1804
  19. Buffer Waiting
  20. Buffer ioproc flags
  21. L-3 0 0x1 0
  22. address number flags uniqid begin size used %used
  23. 4aed9b88 1 U------ 1 1:25263 5000 5000 100.00
  24. 4aed9bd0 2 U------ 2 1:30263 5000 5000 100.00
  25. 4aed9c18 3 U------ 3 1:35263 5000 5000 100.00
  26. 4aed9c60 4 U------ 4 1:40263 5000 5000 100.00
  27. 4aed9ca8 5 U------ 5 1:45263 5000 5000 100.00
  28. 4aed9cf0 6 U---C-L 6 1:50263 5000 5000 100.00
  29. 进行逻辑日志备份
  30. -bash-3.2$ ontape -c
  31. Performing continuous backup of logical logs.
  32. File created: /home/informix/data/yuyu.com_50_Log0000000001
  33. File created: /home/informix/data/yuyu.com_50_Log0000000002
  34. File created: /home/informix/data/yuyu.com_50_Log0000000003
  35. 再次检查On-Line状态已经恢复正常
  36. -bash-3.2$ onstat -
  37. IBM Informix Dynamic Server Version 11.50.UC6 -- On-Line -- Up 04:31:15 -- 144144 Kbytes
阅读(7525) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~