# How to handle lots of small indices

**URL:** <https://discuss.elastic.co/t/how-to-handle-lots-of-small-indices/272063>\
**Category:** Elasticsearch\
**Created:** [May 4, 2021, 11:19am UTC](https://discuss.elastic.co/t/how-to-handle-lots-of-small-indices/272063 "2021-05-04T11:19:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 4, 2021, 12:08pm UTC](https://discuss.elastic.co/t/how-to-handle-lots-of-small-indices/272063/2 "2021-05-04T12:08:14Z")

</div>

Welcome!

The first thing to do is to upgrade to the latest version (7.12.1).

Then, I'd recommend not creating so many indices, which means so many shards, because it will consume too many resources (HEAP).  
Instead, I'd use on single index for all users and use filtered aliases instead.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-handle-lots-of-small-indices/272063)._
