2018-06-24 mysql DesignDB-6-2_索引优化1 索引优化策略索引列上不能使用表达式或者函数1234567# 以下对out_date使用了函数,所以是错误的> select ... from product where to_days(out_date)-to_days(current_date)<=30;# 优化> select ... from product where out_date<=date_add(current_date,interval 30 day) Read More
2018-06-24 mysql DesignDB-5-5_MySQL高可用架构介绍 介绍高可用性H.A.(High Availability)是指尽量短的缩减日常维护计划和突发的系统奔溃所导致的停机时间,以提高系统应用的可用性. Read More