The cluster is ran by a different team, but here are the configs i was able to pull out:
{
"_shards" : {
"total" : 2,
"successful" : 2,
"failed" : 0
},
"_all" : {
"primaries" : {
"docs" : {
"count" : 90631,
"deleted" : 2267
},
"shard_stats" : {
"total_count" : 1
},
"store" : {
"size_in_bytes" : 10714136,
"total_data_set_size_in_bytes" : 10714136,
"reserved_in_bytes" : 0
},
"indexing" : {
"index_total" : 1438,
"index_time_in_millis" : 1832,
"index_current" : 0,
"index_failed" : 0,
"delete_total" : 22,
"delete_time_in_millis" : 24,
"delete_current" : 0,
"noop_update_total" : 0,
"is_throttled" : false,
"throttle_time_in_millis" : 0,
"write_load" : 5.735608652774992E-6
},
"get" : {
"total" : 0,
"time_in_millis" : 0,
"exists_total" : 0,
"exists_time_in_millis" : 0,
"missing_total" : 0,
"missing_time_in_millis" : 0,
"current" : 0
},
"search" : {
"open_contexts" : 0,
"query_total" : 94,
"query_time_in_millis" : 216,
"query_current" : 0,
"fetch_total" : 57,
"fetch_time_in_millis" : 3594,
"fetch_current" : 0,
"scroll_total" : 0,
"scroll_time_in_millis" : 0,
"scroll_current" : 0,
"suggest_total" : 0,
"suggest_time_in_millis" : 0,
"suggest_current" : 0
},
"merges" : {
"current" : 0,
"current_docs" : 0,
"current_size_in_bytes" : 0,
"total" : 4,
"total_time_in_millis" : 828,
"total_docs" : 100215,
"total_size_in_bytes" : 13408159,
"total_stopped_time_in_millis" : 0,
"total_throttled_time_in_millis" : 0,
"total_auto_throttle_in_bytes" : 20971520
},
"refresh" : {
"total" : 457,
"total_time_in_millis" : 3694,
"external_total" : 253,
"external_total_time_in_millis" : 4159,
"listeners" : 0
},
"flush" : {
"total" : 200,
"periodic" : 200,
"total_time_in_millis" : 10488
},
"warmer" : {
"current" : 0,
"total" : 252,
"total_time_in_millis" : 72
},
"query_cache" : {
"memory_size_in_bytes" : 172390,
"total_count" : 823,
"hit_count" : 116,
"miss_count" : 707,
"cache_size" : 22,
"cache_count" : 30,
"evictions" : 8
},
"fielddata" : {
"memory_size_in_bytes" : 0,
"evictions" : 6,
"global_ordinals" : {
"build_time_in_millis" : 32
}
},
"completion" : {
"size_in_bytes" : 0
},
"segments" : {
"count" : 7,
"memory_in_bytes" : 0,
"terms_memory_in_bytes" : 0,
"stored_fields_memory_in_bytes" : 0,
"term_vectors_memory_in_bytes" : 0,
"norms_memory_in_bytes" : 0,
"points_memory_in_bytes" : 0,
"doc_values_memory_in_bytes" : 0,
"index_writer_memory_in_bytes" : 0,
"version_map_memory_in_bytes" : 0,
"fixed_bit_set_memory_in_bytes" : 95056,
"max_unsafe_auto_id_timestamp" : -1,
"file_sizes" : { }
},
"translog" : {
"operations" : 0,
"size_in_bytes" : 55,
"uncommitted_operations" : 0,
"uncommitted_size_in_bytes" : 55,
"earliest_last_modified_age" : 681709
},
"request_cache" : {
"memory_size_in_bytes" : 0,
"evictions" : 0,
"hit_count" : 3,
"miss_count" : 20
},
"recovery" : {
"current_as_source" : 0,
"current_as_target" : 0,
"throttle_time_in_millis" : 0
},
"bulk" : {
"total_operations" : 161,
"total_time_in_millis" : 2044,
"total_size_in_bytes" : 24625858,
"avg_time_in_millis" : 2,
"avg_size_in_bytes" : 21527
},
"dense_vector" : {
"value_count" : 0
}
},
"total" : {
"docs" : {
"count" : 181262,
"deleted" : 5390
},
"shard_stats" : {
"total_count" : 2
},
"store" : {
"size_in_bytes" : 21603531,
"total_data_set_size_in_bytes" : 21603531,
"reserved_in_bytes" : 0
},
"indexing" : {
"index_total" : 2876,
"index_time_in_millis" : 3408,
"index_current" : 0,
"index_failed" : 0,
"delete_total" : 44,
"delete_time_in_millis" : 42,
"delete_current" : 0,
"noop_update_total" : 0,
"is_throttled" : false,
"throttle_time_in_millis" : 0,
"write_load" : 5.334470640124476E-6
},
"get" : {
"total" : 0,
"time_in_millis" : 0,
"exists_total" : 0,
"exists_time_in_millis" : 0,
"missing_total" : 0,
"missing_time_in_millis" : 0,
"current" : 0
},
"search" : {
"open_contexts" : 0,
"query_total" : 216,
"query_time_in_millis" : 608,
"query_current" : 0,
"fetch_total" : 85,
"fetch_time_in_millis" : 3660,
"fetch_current" : 0,
"scroll_total" : 0,
"scroll_time_in_millis" : 0,
"scroll_current" : 0,
"suggest_total" : 0,
"suggest_time_in_millis" : 0,
"suggest_current" : 0
},
"merges" : {
"current" : 0,
"current_docs" : 0,
"current_size_in_bytes" : 0,
"total" : 8,
"total_time_in_millis" : 1080,
"total_docs" : 113235,
"total_size_in_bytes" : 17183476,
"total_stopped_time_in_millis" : 0,
"total_throttled_time_in_millis" : 0,
"total_auto_throttle_in_bytes" : 41943040
},
"refresh" : {
"total" : 909,
"total_time_in_millis" : 8559,
"external_total" : 505,
"external_total_time_in_millis" : 10081,
"listeners" : 0
},
"flush" : {
"total" : 399,
"periodic" : 399,
"total_time_in_millis" : 21825
},
"warmer" : {
"current" : 0,
"total" : 503,
"total_time_in_millis" : 188
},
"query_cache" : {
"memory_size_in_bytes" : 262211,
"total_count" : 1213,
"hit_count" : 160,
"miss_count" : 1053,
"cache_size" : 36,
"cache_count" : 44,
"evictions" : 8
},
"fielddata" : {
"memory_size_in_bytes" : 0,
"evictions" : 12,
"global_ordinals" : {
"build_time_in_millis" : 49
}
},
"completion" : {
"size_in_bytes" : 0
},
"segments" : {
"count" : 14,
"memory_in_bytes" : 0,
"terms_memory_in_bytes" : 0,
"stored_fields_memory_in_bytes" : 0,
"term_vectors_memory_in_bytes" : 0,
"norms_memory_in_bytes" : 0,
"points_memory_in_bytes" : 0,
"doc_values_memory_in_bytes" : 0,
"index_writer_memory_in_bytes" : 0,
"version_map_memory_in_bytes" : 0,
"fixed_bit_set_memory_in_bytes" : 190944,
"max_unsafe_auto_id_timestamp" : -1,
"file_sizes" : { }
},
"translog" : {
"operations" : 0,
"size_in_bytes" : 110,
"uncommitted_operations" : 0,
"uncommitted_size_in_bytes" : 110,
"earliest_last_modified_age" : 681707
},
"request_cache" : {
"memory_size_in_bytes" : 0,
"evictions" : 0,
"hit_count" : 3,
"miss_count" : 29
},
"recovery" : {
"current_as_source" : 0,
"current_as_target" : 0,
"throttle_time_in_millis" : 0
},
"bulk" : {
"total_operations" : 322,
"total_time_in_millis" : 3651,
"total_size_in_bytes" : 49251716,
"avg_time_in_millis" : 2,
"avg_size_in_bytes" : 21527
},
"dense_vector" : {
"value_count" : 0
}
}
},
"indices" : {
"myindex_products" : {
"uuid" : "UQ7QJ6WNQJG6XIYFx-h6OQ",
"health" : "green",
"status" : "open",
"primaries" : {
"docs" : {
"count" : 90631,
"deleted" : 2267
},
"shard_stats" : {
"total_count" : 1
},
"store" : {
"size_in_bytes" : 10714136,
"total_data_set_size_in_bytes" : 10714136,
"reserved_in_bytes" : 0
},
"indexing" : {
"index_total" : 1438,
"index_time_in_millis" : 1832,
"index_current" : 0,
"index_failed" : 0,
"delete_total" : 22,
"delete_time_in_millis" : 24,
"delete_current" : 0,
"noop_update_total" : 0,
"is_throttled" : false,
"throttle_time_in_millis" : 0,
"write_load" : 5.735608652774992E-6
},
"get" : {
"total" : 0,
"time_in_millis" : 0,
"exists_total" : 0,
"exists_time_in_millis" : 0,
"missing_total" : 0,
"missing_time_in_millis" : 0,
"current" : 0
},
"search" : {
"open_contexts" : 0,
"query_total" : 94,
"query_time_in_millis" : 216,
"query_current" : 0,
"fetch_total" : 57,
"fetch_time_in_millis" : 3594,
"fetch_current" : 0,
"scroll_total" : 0,
"scroll_time_in_millis" : 0,
"scroll_current" : 0,
"suggest_total" : 0,
"suggest_time_in_millis" : 0,
"suggest_current" : 0
},
"merges" : {
"current" : 0,
"current_docs" : 0,
"current_size_in_bytes" : 0,
"total" : 4,
"total_time_in_millis" : 828,
"total_docs" : 100215,
"total_size_in_bytes" : 13408159,
"total_stopped_time_in_millis" : 0,
"total_throttled_time_in_millis" : 0,
"total_auto_throttle_in_bytes" : 20971520
},
"refresh" : {
"total" : 457,
"total_time_in_millis" : 3694,
"external_total" : 253,
"external_total_time_in_millis" : 4159,
"listeners" : 0
},
"flush" : {
"total" : 200,
"periodic" : 200,
"total_time_in_millis" : 10488
},
"warmer" : {
"current" : 0,
"total" : 252,
"total_time_in_millis" : 72
},
"query_cache" : {
"memory_size_in_bytes" : 172390,
"total_count" : 823,
"hit_count" : 116,
"miss_count" : 707,
"cache_size" : 22,
"cache_count" : 30,
"evictions" : 8
},
"fielddata" : {
"memory_size_in_bytes" : 0,
"evictions" : 6,
"global_ordinals" : {
"build_time_in_millis" : 32
}
},
"completion" : {
"size_in_bytes" : 0
},
"segments" : {
"count" : 7,
"memory_in_bytes" : 0,
"terms_memory_in_bytes" : 0,
"stored_fields_memory_in_bytes" : 0,
"term_vectors_memory_in_bytes" : 0,
"norms_memory_in_bytes" : 0,
"points_memory_in_bytes" : 0,
"doc_values_memory_in_bytes" : 0,
"index_writer_memory_in_bytes" : 0,
"version_map_memory_in_bytes" : 0,
"fixed_bit_set_memory_in_bytes" : 95056,
"max_unsafe_auto_id_timestamp" : -1,
"file_sizes" : { }
},
"translog" : {
"operations" : 0,
"size_in_bytes" : 55,
"uncommitted_operations" : 0,
"uncommitted_size_in_bytes" : 55,
"earliest_last_modified_age" : 681709
},
"request_cache" : {
"memory_size_in_bytes" : 0,
"evictions" : 0,
"hit_count" : 3,
"miss_count" : 20
},
"recovery" : {
"current_as_source" : 0,
"current_as_target" : 0,
"throttle_time_in_millis" : 0
},
"bulk" : {
"total_operations" : 161,
"total_time_in_millis" : 2044,
"total_size_in_bytes" : 24625858,
"avg_time_in_millis" : 2,
"avg_size_in_bytes" : 21527
},
"dense_vector" : {
"value_count" : 0
}
},
"total" : {
"docs" : {
"count" : 181262,
"deleted" : 5390
},
"shard_stats" : {
"total_count" : 2
},
"store" : {
"size_in_bytes" : 21603531,
"total_data_set_size_in_bytes" : 21603531,
"reserved_in_bytes" : 0
},
"indexing" : {
"index_total" : 2876,
"index_time_in_millis" : 3408,
"index_current" : 0,
"index_failed" : 0,
"delete_total" : 44,
"delete_time_in_millis" : 42,
"delete_current" : 0,
"noop_update_total" : 0,
"is_throttled" : false,
"throttle_time_in_millis" : 0,
"write_load" : 5.334470640124476E-6
},
"get" : {
"total" : 0,
"time_in_millis" : 0,
"exists_total" : 0,
"exists_time_in_millis" : 0,
"missing_total" : 0,
"missing_time_in_millis" : 0,
"current" : 0
},
"search" : {
"open_contexts" : 0,
"query_total" : 216,
"query_time_in_millis" : 608,
"query_current" : 0,
"fetch_total" : 85,
"fetch_time_in_millis" : 3660,
"fetch_current" : 0,
"scroll_total" : 0,
"scroll_time_in_millis" : 0,
"scroll_current" : 0,
"suggest_total" : 0,
"suggest_time_in_millis" : 0,
"suggest_current" : 0
},
"merges" : {
"current" : 0,
"current_docs" : 0,
"current_size_in_bytes" : 0,
"total" : 8,
"total_time_in_millis" : 1080,
"total_docs" : 113235,
"total_size_in_bytes" : 17183476,
"total_stopped_time_in_millis" : 0,
"total_throttled_time_in_millis" : 0,
"total_auto_throttle_in_bytes" : 41943040
},
"refresh" : {
"total" : 909,
"total_time_in_millis" : 8559,
"external_total" : 505,
"external_total_time_in_millis" : 10081,
"listeners" : 0
},
"flush" : {
"total" : 399,
"periodic" : 399,
"total_time_in_millis" : 21825
},
"warmer" : {
"current" : 0,
"total" : 503,
"total_time_in_millis" : 188
},
"query_cache" : {
"memory_size_in_bytes" : 262211,
"total_count" : 1213,
"hit_count" : 160,
"miss_count" : 1053,
"cache_size" : 36,
"cache_count" : 44,
"evictions" : 8
},
"fielddata" : {
"memory_size_in_bytes" : 0,
"evictions" : 12,
"global_ordinals" : {
"build_time_in_millis" : 49
}
},
"completion" : {
"size_in_bytes" : 0
},
"segments" : {
"count" : 14,
"memory_in_bytes" : 0,
"terms_memory_in_bytes" : 0,
"stored_fields_memory_in_bytes" : 0,
"term_vectors_memory_in_bytes" : 0,
"norms_memory_in_bytes" : 0,
"points_memory_in_bytes" : 0,
"doc_values_memory_in_bytes" : 0,
"index_writer_memory_in_bytes" : 0,
"version_map_memory_in_bytes" : 0,
"fixed_bit_set_memory_in_bytes" : 190944,
"max_unsafe_auto_id_timestamp" : -1,
"file_sizes" : { }
},
"translog" : {
"operations" : 0,
"size_in_bytes" : 110,
"uncommitted_operations" : 0,
"uncommitted_size_in_bytes" : 110,
"earliest_last_modified_age" : 681707
},
"request_cache" : {
"memory_size_in_bytes" : 0,
"evictions" : 0,
"hit_count" : 3,
"miss_count" : 29
},
"recovery" : {
"current_as_source" : 0,
"current_as_target" : 0,
"throttle_time_in_millis" : 0
},
"bulk" : {
"total_operations" : 322,
"total_time_in_millis" : 3651,
"total_size_in_bytes" : 49251716,
"avg_time_in_millis" : 2,
"avg_size_in_bytes" : 21527
},
"dense_vector" : {
"value_count" : 0
}
}
}
}
}
The storage should be longhorn.
Regarding your question about indexing or updating at the same time as querying, we have a different service that takes care of updating the documents with bulk operations. That service updates the documents whenever there are changes in the BO, usually when we perform load tests, there are no changes at all, so there shouldnt be any updates at the same time as we are querying.
Could you please provide some insight to my bottom two questions?
- Combining two nested queries into one (like i could do), would provide better performance or elasticsearch is able to do that under the hood?
- Besides using Filters to try to improve the performance (without removing the nested) is there anything else i could do?