# What's the maximum number of categories we can have?

**URL:** <https://meta.discourse.org/t/whats-the-maximum-number-of-categories-we-can-have/57022>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [7. Februar 2017 um 00:08 UTC](https://meta.discourse.org/t/whats-the-maximum-number-of-categories-we-can-have/57022 "2017-02-07T00:08:48Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![whizkid77](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/whizkid77/32/67398_2.png) [@whizkid77](https://meta.discourse.org/u/whizkid77)\
**Post date:** [7. Februar 2017 um 06:55 UTC](https://meta.discourse.org/t/whats-the-maximum-number-of-categories-we-can-have/57022/3 "2017-02-07T06:55:59Z")

</div>

Thanks @sam! Follow up question – what would the approximate limits be for:

- the number of tags
- the number of topics in a category

For example, can I have a few million unique tags, as well as a few million topics within a single category?

The `tags`, `topic_tags`, and `topics` tables don’t appear to be sharded, which should work for a few million rows, but I haven’t looked into the queries themselves, nor any UI that could potentially break.

---

_[View the full topic](https://meta.discourse.org/t/whats-the-maximum-number-of-categories-we-can-have/57022)._
