摘要:
https://www.hangge.com/blog/cache/detail_1885.html 阅读全文
摘要:
参考:https://www.cnblogs.com/noah-luo/p/11643361.html find / -type f -name 'jvm.options' 修改上面命令找到的文件中的 -Xms1g -Xmx1g 然后重启ES 阅读全文
摘要:
主页地址 https://github.com/lmenezes/cerebro wget https://github.com/lmenezes/cerebro/releases/download/v0.9.0/cerebro-0.9.0.tgztar xzf cerebro-0.9.0.tgzr 阅读全文
摘要:
select version() 阅读全文
摘要:
SELECT @rownum:=@rownum+1 AS rownum, t_s_base_user.* FROM (SELECT @rownum:=0) r, t_s_base_user 阅读全文
摘要:
https://www.jianshu.com/p/f1486b6e0a89 阅读全文
摘要:
转自https://tvzr.com/archives/134 因为我的服务器上有几个常见的服务,例如mysql,memcached,redis等,默认端口都太安全,我都会改成其他端口,但是这些端口有需要多外提供服务,所以只能用iptables来管理了: iptables -I INPUT 4 -p 阅读全文
摘要:
POST /index-name/_delete_by_query { "query" : { "bool" : { "must_not" : [ { "exists" : { "field" : "字段名" } } ] } } } 阅读全文
摘要:
yum install -y monit vi /etc/monitrc set daemon 1 ... set httpd port 2812 and use address 0.0.0.0 #allow localhost vi /etc/monit.d/redis check process 阅读全文
摘要:
比如,我要查看kiddo库中有哪些表带有触发器,可以用下面的SQL: SELECT DISTINCT EVENT_OBJECT_TABLE FROM information_schema.`TRIGGERS` WHERE EVENT_OBJECT_SCHEMA='kiddo' 阅读全文