1.條件判斷if(條件判斷,true,false)case when 條件1 then 條件2 then 值 else 默認(rèn) end 字段名稱 ...
1.隨機(jī)獲取表中100條數(shù)據(jù)select * from table order by rand() limit 100; 2.統(tǒng)計(jì)表中每10分鐘...
一、大廠技術(shù)博客平臺(tái) 百度:http://fex.baidu.com/[http://fex.baidu.com/] 百度fex-team:ht...
近期在巡檢線上環(huán)境mongodb服務(wù)時(shí)雨膨,發(fā)現(xiàn)有個(gè)400G容量的mongodb,使用容量超過200%读串,與DBA溝通,數(shù)據(jù)量快上TB恢暖,副本集數(shù)據(jù)量太...
背景 線上有一臺(tái)應(yīng)用使用單機(jī)redis作為緩存排监,在一次架構(gòu)巡檢時(shí)發(fā)現(xiàn)此單機(jī)使用redis在業(yè)務(wù)高峰期杰捂,接收請(qǐng)求的qps達(dá)到6+w/s舆床,考慮到后期...
1.redis統(tǒng)計(jì)大key命令(測(cè)試環(huán)境): redis-cli -h ip -p port -a auth --bigkeys 2.redis...
超復(fù)雜的PPT架構(gòu)圖嫁佳,怎么做才清晰美觀峭弟?https://mp.weixin.qq.com/s/5rYJHX3Rkc1_P66mn51OPw[ht...
GitHub鏡像網(wǎng)址https://github.com.cnpmjs.org[https://github.com.cnpmjs.org]ht...
負(fù)載均衡 官網(wǎng)地址:http://dubbo.apache.org/zh/docs/v2.7/user/examples/loadbalance...