Each index comes with a cost and probably having million of indices will require a lot of machines. Also the cluster state will be a way too big so it could affect cluster stability.
You will probably have at the end of the day a lot of small indices. I mean: don't do this! :) Share indices between users but use routing to make sure all docs for a given user go to the same shard. Having rolling indices is a good idea though. Here are my first thoughts about this. Hope this helps. -- David ;-) Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs > Le 14 mars 2015 à 02:46, zehong yin <[email protected]> a écrit : > > Hi, all > > Is there limitation how many indices could I create in ES cluster? and Does > the number of indices affect performance? > I have used DATE as indice for logs from MMO game servers. That give me > chance to remove old data. > > But right now, I'm considering use userid as indice, that means there might > be milliion users, as well as million indices created. > > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/b2f0d724-f1b1-40b4-8457-318a195ebdd7%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/BEB80606-4151-4308-B32C-556906E302E3%40pilato.fr. For more options, visit https://groups.google.com/d/optout.
