文章分类 - MYSQL
摘要:1. 主库创建只读账号 CREATE USER 'user_to_salve'@'%' IDENTIFIED BY '123456';grant select on *.* to "user_to_salve"@"%" identified by "123456";flush privileges;
阅读全文
摘要:官网:https://www.percona.com/downloads/percona-toolkit/LATEST/
阅读全文
摘要:explain分析 type: system: 系统表,表里只有一行数据 const: 使用主键或唯一索引等值查询 eq_ref: 使用主键索引或唯一索引等值表连接 ref: 非唯一性索引等值查询 ref_or_null: 非唯一性索引,包含null值 冗余字段
阅读全文

浙公网安备 33010602011771号