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 肖建锋 阅读(359) 评论(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 肖建锋 阅读(813) 评论(0) 推荐(0)
查找磁盘下文件超过100M大小的所有文件
摘要:[root@localhost /]# find /hytd -type f -size +100M -print0|xargs -0 du -h 阅读全文
posted @ 2022-03-14 10:31 肖建锋 阅读(172) 评论(0) 推荐(0)