- Linux
- max_file_descriptors: 65536
- vm.max_map_count: 262144 (per process)
- elasticsearch.yml
- bootstrap.mlockall: true
- discovery.zen.minimum_master_nodes
- gateway.recover_after_nodes
- gateway.expected_nodes
- gateway.recover_after_time
- index.number_of_shards
- index.number_of_replicas
- index.refresh_interval
- indices.fielddata.cache.size: 50%
- indices.breaker.fielddata.limit: 50%
- Create index
- index.number_of_shards
- index.number_of_replicas
- index.refresh_interval: 30s
- #index.merge.policy.type: tiered
- #index.translog.flush_threshold_size
- #index.search.slowlog.threshold.query
- #index.search.slowlog.threshold.fetch
- #index.routing.allocation.include.box_type
- #indices.memory.index_buffer_size
- #indices.memory.min_index_buffer_size
- #indices.memory.min_shard_index_buffer_size
- #indices.ttl.interval
- Search time tips
- _optimize?max_num_segments=1 (less segments more efficiency)
- Index per Time Frame
- Faking Index per User with Aliases
- shard_size & size, by default, shard_size = size * shards
- Index Warmer (suffer refresh time)
- collect_mode: breadth_first
- Fielddata
- enable doc_values, it will use mmapfs by default
- Fielddata Filtering
- Eagerly Loading Fielddata (suffer merge time)
- Global ordinals
- Eager Global ordinals (suffer refresh time)
You could google above terms for more information.
沒有留言:
張貼留言