随笔 - 232  文章 - 1  评论 - 28  阅读 - 60万 
03 2022 档案
elasticsearch 修改默认最大分片数
摘要:curl -XPUT -H "Content-Type:application/json" http://localhost:9200/_cluster/settings -d '{"transient":{"cluster":{"max_shards_per_node":10000}}}' 阅读全文
posted @ 2022-03-14 14:15 肖建锋 阅读(311) 评论(0) 推荐(0) 编辑
elasticsearch 自允许动创建索引
摘要:curl -XPUT -H "Content-Type:application/json" http://localhost:9200/_cluster/settings -d '{"persistent":{"action.auto_create_index":"true"}}' 阅读全文
posted @ 2022-03-14 14:14 肖建锋 阅读(741) 评论(0) 推荐(0) 编辑
查找磁盘下文件超过100M大小的所有文件
摘要:[root@localhost /]# find /hytd -type f -size +100M -print0|xargs -0 du -h 阅读全文
posted @ 2022-03-14 10:31 肖建锋 阅读(159) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示