做个辛勤的搬运工
发布时间:2015-05-27 16:36:15
select...lock in share mode和select...for update一直模模糊糊的.. 这次刚好碰到..就测了一把... 首先看官方的说明: SELECT ... LOCK IN SHARE MODE sets a shared mode lock on the rows read. A shared mode lock enables other sessions to read the rows but not to modify them. The rows read.........【阅读全文】
发布时间:2015-05-13 18:16:06
错误:mysqldump: Couldn't execute 'SHOW FUNCTION STATUS WHERE Db = 'born_CRM'': Cannot load from mysql.proc. The table is probably corrupted (1728)Warning: Using a password on the command line interface can be insecure.mysqldump: Couldn't execute 'SHOW FUNCTION STATUS WHERE Db = 'mysql'': Cannot .........【阅读全文】
发布时间:2015-05-05 16:14:48
故障现象:在数据库重启后,碰巧遇到业务高峰期,连接数满,导致用户登录一直等待,此时数据库处于无响应状态.故障分析:当数据库重启后,在数据库buffer中的热数据需要innodb本身去预热.如果buffer太大,依靠innodb自己去预热,将会有很长一个周期才能实现.此时热数据就需要到磁盘去寻找,就给磁盘的I/O带来很大的压力.遇到瓶.........【阅读全文】