Is there a limit on the number of indexes that can be created on Elastic Search?

后端 未结 3 910
Happy的楠姐
Happy的楠姐 2021-01-19 00:00

I\'m using AWS-provided Elastic Search.

I have a signup page on my website, and on each signup; a new index for the new user gets created (to be used later by his wo

3条回答
  •  旧巷少年郎
    2021-01-19 00:13

    Indexes themselves have no limit, however shards do, the recommended amount of shards per GB of heap is 20(JVM heap - you can check on kibana stack monitoring tab), this means if you have 5GB of JVM heap, the recommended amount is 100.

    Remember that 1 index can take from 1 to x number of shards (1 primary and x secondary), normally people have 1 primary and 1 secondary, if this is you case then you would be able to create 50 indexes with those 5GB of heap

提交回复
热议问题