# How many categories can discourse support?

**URL:** https://meta.discourse.org/t/how-many-categories-can-discourse-support/54237
**Category:** Support
**Created:** [December 14, 2016, 2:07pm UTC](https://meta.discourse.org/t/how-many-categories-can-discourse-support/54237 "2016-12-14T14:07:17Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![dgadiraju](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dgadiraju/32/64630_2.png) [@dgadiraju](https://meta.discourse.org/u/dgadiraju)
#### Post date: [December 14, 2016, 2:07pm UTC](https://meta.discourse.org/t/how-many-categories-can-discourse-support/54237/1 "2016-12-14T14:07:17Z")

</div>

Is there any limitation on number of categories?

I am planning to create forum site with 500+ categories, is it possible with discourse?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [December 14, 2016, 2:10pm UTC](https://meta.discourse.org/t/how-many-categories-can-discourse-support/54237/2 "2016-12-14T14:10:55Z")

</div>

Gotta quote Jeff here:

> [@codinghorror](#):
>
> If your users are asking for stronger boundaries between content, they are referring to categories. Categories are like walls – they exist so that people can build space for themselves and build space apart from others. They are strong divisions.
> 
> That said, of course you don’t want too many categories – build 4 walls and you have a room, build 50 walls and you have a maze.

One thing you should do when starting is to create just a few key categories, and as your forum grows, you can create new categories, and use the search to move topics to the new category.

You can also use tags, that can separate content but are more lightweight.

---

<div class="post-metadata">

### Author: ![dalerka](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dalerka/32/120265_2.png) [@dalerka](https://meta.discourse.org/u/dalerka)
#### Post date: [February 9, 2018, 3:43pm UTC](https://meta.discourse.org/t/how-many-categories-can-discourse-support/54237/3 "2018-02-09T15:43:04Z")

</div>

Can someone please address the main question stated in the title:  
**How many categories can discourse support?**

This is a valid question and very important to consider. I’m well aware of tags and tag groups.

Are there performance concerns or technical issues related to having 1000 categories?  
Or maybe there are well working forums with hundreds of categories?

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [February 9, 2018, 3:46pm UTC](https://meta.discourse.org/t/how-many-categories-can-discourse-support/54237/4 "2018-02-09T15:46:19Z")

</div>

> [@What's the maximum number of categories we can have?](https://meta.discourse.org/t/whats-the-maximum-number-of-categories-we-can-have/57022/2):
>
> 500 to 1000 is safe If you need more consider tags Additionally you can have a very large number of groups

---

<div class="post-metadata">

### Author: ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)
#### Post date: [February 9, 2018, 3:50pm UTC](https://meta.discourse.org/t/how-many-categories-can-discourse-support/54237/5 "2018-02-09T15:50:06Z")

</div>

We currently have 263 categories and counting and working well. Most of those however are private and locked down to various groups (approx 240)

---

<div class="post-metadata">

### Author: ![masterakay](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/masterakay/32/122593_2.png) [@masterakay](https://meta.discourse.org/u/masterakay)
#### Post date: [March 12, 2019, 5:14am UTC](https://meta.discourse.org/t/how-many-categories-can-discourse-support/54237/6 "2019-03-12T05:14:53Z")

</div>

Same. We hit 210 just today. Each of the categories are part of the same parent category and each of them is restricted to its very own group of 30 to 40.

---

<div class="post-metadata">

### Author: ![ieugen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ieugen/32/186703_2.png) [@ieugen](https://meta.discourse.org/u/ieugen)
#### Post date: [July 11, 2020, 3:14am UTC](https://meta.discourse.org/t/how-many-categories-can-discourse-support/54237/7 "2020-07-11T03:14:24Z")

</div>

I’m also looking into securing conversations between a patient and a medic.  
The only solution I found so far by reading the documentation is to:

- create a category for the user via API
- create a group for the user via API
- assign the pationt group, the medic and the staff groups to the category

This way, the patient can and the medic can have interactions that only they can see.  
Also more medics could be added to the discussion and they would see the discussions.  
Staff can oversee for abuse.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [July 11, 2020, 4:25am UTC](https://meta.discourse.org/t/how-many-categories-can-discourse-support/54237/8 "2020-07-11T04:25:48Z")

</div>

This isn’t possible in Discourse. There is no concept of per-topic permissions. What you want is a PM between those people.

---

<div class="post-metadata">

### Author: ![ieugen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ieugen/32/186703_2.png) [@ieugen](https://meta.discourse.org/u/ieugen)
#### Post date: [July 11, 2020, 4:44am UTC](https://meta.discourse.org/t/how-many-categories-can-discourse-support/54237/9 "2020-07-11T04:44:46Z")

</div>

I am a bit confused.  
I am considering a category per patient.  
Each patient can have multiple topics in his category.  
I guess, each topic would be a ‘visit’ / a different case.

Most categories would have a single topic probably.

I’ll research how to do this with personal messages and groups (group messages).

However I am not comfortable with the current ( lack ) of (structured) documentation around discourse.  
Topics are nice and is great to see the reasoning that lead to some features, however they have shortcomings on the following:

- I have to read through comments that are whish-list or features that are not implemented.
- I miss having a structured documentation that allows me to dig deep into the features I am looking for.

That being said, Discourse is awesome and the above is intended as constructive criticism.  
While I am writing this I am thinking that it’s just me - I am not familiar enough with Discourse.

p.s. I’m just listening to your interview 🙂  
 ![](https://global.discourse-cdn.com/meta/optimized/3X/f/e/feb6cb167704b1a0bb9e4618949005d13dfc428f_2_690x388.jpeg)https://www.youtube.com/embed/EbsACrtT9h0?feature=oembed&wmode=opaque

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [July 11, 2020, 4:46am UTC](https://meta.discourse.org/t/how-many-categories-can-discourse-support/54237/10 "2020-07-11T04:46:46Z")

</div>

> [@ieugen](#):
>
> I am considering a category per patient.  
> Each patient can have multiple topics in his category.  
> I guess, each topic would be a ‘visit’ / a different case.

It depends how many patients you plan to have. Discourse isn’t designed for a situation where there are 10,000 categories. Even 1000 categories will be a bit of a problem performance wise.

---

<div class="post-metadata">

### Author: ![ieugen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ieugen/32/186703_2.png) [@ieugen](https://meta.discourse.org/u/ieugen)
#### Post date: [July 11, 2020, 4:56am UTC](https://meta.discourse.org/t/how-many-categories-can-discourse-support/54237/11 "2020-07-11T04:56:27Z")

</div>

> [@codinghorror](#):
>
> It depends how many patients you plan to have. Discourse isn’t designed for a situation where there are 10,000 categories. Even 1000 categories will be a bit of a problem performance wise.

Well, it’s for a new small project and I expect it will take ~1 year to reach 1000.  
But I would like to have a solution that will allow me to grow and not have to migrate away / redo all of it.

What is the limitation with many categories ?  
Is it because the UI asks/ receives for all of them by default?  
If that is so, can some form of pagination be implemented to mitigate this?

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [July 11, 2020, 7:39am UTC](https://meta.discourse.org/t/how-many-categories-can-discourse-support/54237/12 "2020-07-11T07:39:25Z")

</div>

Group PMs work great for the team here on Meta. In your case, it sounds like you would have a PM between

- the patient
- the assigned medic(s)
- the @support\_staff group

The support\_staff group would benefit from our polished group inbox view, where messages can be “archived” after it’s determined that the group has nothing more to do with the message as it stands.

---

<div class="post-metadata">

### Author: ![uffehe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/uffehe/32/208266_2.png) [@uffehe](https://meta.discourse.org/u/uffehe)
#### Post date: [August 5, 2022, 2:07pm UTC](https://meta.discourse.org/t/how-many-categories-can-discourse-support/54237/13 "2022-08-05T14:07:07Z")

</div>

It’s been a couple of years, and I’m wondering what sort of experience you’ve had with this? I’m in the process of building a site that will potentially have thousands of categories (each with at least 2 groups attached), so I’m very interested in hearing how it went for you i.e. where are the bottlenecks, what to try and avoid etc.?
