elasticsearch 生产参数配置

本文详细介绍了Elasticsearch集群的配置参数,包括节点角色设定、存储路径、缓存策略、索引设置、网络绑定及发现机制等关键内容,旨在帮助读者理解并优化Elasticsearch的运行效率。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

完全的配置参数如下

 cluster.name: testindex
 node.master: false
 node.data: true
 index.store.type: niofs    
 index.cache.field.type: soft
 indices.recovery.max_bytes_per_sec: 250mb  
 node.max_local_storage_nodes: 1
 index.number_of_shards: 5
 index.number_of_replicas: 0
 refresh_interval: 120s
 index.store.throttle.type: none
 indices.store.throttle.type: none
 indices.store.throttle.max_bytes_per_sec: 500mb 
 index.translog.flush_threshold_size: 600MB
 index.translog.flush_threshold_ops: 500000
 #transport.tcp.port: 9300
 http.port: 9200
 network.bind_host: 0:0:0:0:0:0:0:0
 network.publish_host: _non_loopback:ipv4_
 discovery.zen.ping.multicast.enabled: false   
 discovery.zen.ping.unicast.hosts: ["10.21.1.1","10.21.1.2","10.21.1.3"]
 discovery.zen.fd.ping_timeout: 120s  
 discovery.zen.fd.ping_retries: 5 
 discovery.zen.fd.ping_interval: 20s 
 bootstrap.mlockall: true
 threadpool.bulk.type: fixed 
 threadpool.bulk.size: 20
 threadpool.bulk.queue_size: 800
 threadpool.index.type: fixed 
 threadpool.index.size: 20
 threadpool.index.queue_size: 800
 index.merge.scheduler.max_thread_count: 8  
 path.data: /data1/es/es1,/data2/es/es1,/data3/es/es1,/data4/es/es1,/data5/es/es1,/data6/es/es1,/data7/es/es1,/data8/es/es1,/data9/es/es1,/data10/es/es1,/data11/es/es1
 node.name: "test_111"
 index.translog.durability: async
 index.translog.interval: 10s
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值