Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2844949
  • 博文数量: 200
  • 博客积分: 2413
  • 博客等级: 大尉
  • 技术积分: 3067
  • 用 户 组: 普通用户
  • 注册时间: 2011-04-01 22:07
文章分类

全部博文(200)

文章存档

2018年(2)

2017年(8)

2016年(35)

2015年(14)

2014年(20)

2013年(24)

2012年(53)

2011年(44)

发布时间:2016-12-27 16:51:08

朋友遇到Oracle数据库的 REDO LOG “写丢失”,造成数据库,且无法启动。日志如下:redo log 5无法归档,并且侦测到“写丢失”。最终导致Oracle宕机。Errors in file /u01/app/oracle/diag/rdbmsdbcontrol/GZDBCONTROL/trace/GZDBCONTROL_ora_32198.trc:ORA-16038: log 5 sequence# 23 cannot be archivedORA-00742: L.........【阅读全文】

阅读(11182) | 评论(0) | 转发(0)

发布时间:2016-11-29 10:37:47

shell中的小数运算最近在做MySQL性能指标监控,通过shell脚本计算innodb buffer pool的命中率。编写脚本时,遇到了bash小数计算的瓶颈。 网上查找,发现bash不支持小数运算,小于0的结果输出都为0。# 不支持小数预算a=$[1+0.2] -bash: 1+0.2: syntax error: invalid arithmeticoperato.........【阅读全文】

阅读(4035) | 评论(0) | 转发(0)

发布时间:2016-11-04 23:57:15

atlas是奇虎360推出的中间件。使用atlas,无需更改应用,就能实现读写分发的功能。为了查看atlas的效率,对其做了压测,并与直连主库的压测结果做了比对。环境版本:MySQL :5.5.48    一主两从,开启半同步复制。Atlas :2.2.1OS:虚拟机,单核,4G内存。压测脚本及结果:--准备sysbench --test.........【阅读全文】

阅读(3061) | 评论(0) | 转发(0)

发布时间:2016-11-01 17:20:23

使用 sysbench 工具对MySQL压测时,由于thread给的很大,多次执行 sysbench 后,分别出现了如下2个错误:FATAL:error1040:Toomany connectionsFATAL:error1129:Host'10.9.15.114'isblocked because of many connection errors;unblockwith'mysqladmin flush-hosts'一、max_connections :MySQL 允许的最大连接数。试.........【阅读全文】

阅读(4818) | 评论(0) | 转发(0)

发布时间:2016-09-06 14:44:51

MySQL事务表和非事务表查看 max_binlog_stmt_cache_size 参数解释时,有这么一句话 If nontransactional statements within a transaction require more than this many bytes of memory, the server generates an error. 那么,什么是 nontransactional statements ?在 http://dev.mysql.com/ 查找 nontransa.........【阅读全文】

阅读(13695) | 评论(0) | 转发(1)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册