# Max number of Spaces and Roles in Kibana

**URL:** https://discuss.elastic.co/t/max-number-of-spaces-and-roles-in-kibana/316933
**Category:** Kibana
**Created:** [October 18, 2022, 8:30pm UTC](https://discuss.elastic.co/t/max-number-of-spaces-and-roles-in-kibana/316933 "2022-10-18T20:30:20Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![drewdaemon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/drewdaemon/32/97779_2.png) [@drewdaemon](https://discuss.elastic.co/u/drewdaemon)
#### Post date: [October 19, 2022, 7:14pm UTC](https://discuss.elastic.co/t/max-number-of-spaces-and-roles-in-kibana/316933/2 "2022-10-19T19:14:47Z")

</div>

The max number of spaces is [configurable](https://www.elastic.co/guide/en/kibana/current/spaces-settings-kb.html) and defaults to 1000.

Spaces should have no impact on cluster performance since they are not an Elasticsearch construct (Kibana only).

Looks like there's no limit other than disk space to the number of roles ([source](https://discuss.elastic.co/t/total-limits-of-users-and-roles-while-using-x-pack-plugin/127066)).

As far as roles impacting performance: my colleague says that hundreds is fine, millions is likely to have some impact. Numbers in the middle might have limited impact—you'd just have to feel your way.

Let me know if this helps!

---

_[View the full topic](https://discuss.elastic.co/t/max-number-of-spaces-and-roles-in-kibana/316933)._
