程序人生

Redis sentinel 哨兵模式

一、sentinel介绍 Sentinel作用: 1):Master状态检测 2):如果Master异常,则会进行Master-Slave切换,将其中一个Slave作为Mas...

程序人生

MySQL的show index 选择率

show index from tbl_name\G; 里面的每个字段信息各代表什么呢? DROP TABLE IF EXISTS t; CREATE TABLE t( a int not null, b...