1、读写分离, 即分别提供读进程和写进程, 提供读接口跟写接口2、主备同步: 写时,主同步数据至写, 读只从主去读, 主挂了之后, 改成只从备读写, 待备好了之后, 将备的数据复制至主中,做数据修复3、命令 show mater status, show slave status 查看双机主从备份的情况4、binary logs : show binary logs; 使用m...【阅读全文】
1、读写分离, 即分别提供读进程和写进程, 提供读接口跟写接口2、主备同步: 写时,主同步数据至写, 读只从主去读, 主挂了之后, 改成只从备读写, 待备好了之后, 将备的数据复制至主中,做数据修复3、命令 show mater status, show slave status 查看双机主从备份的情况4、binary logs : show binary logs; 使用m...【阅读全文】
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...【阅读全文】