May length array in documents?

Hello, I’m learning MongoDB and one of the first things I learned is that Documents should not have very large arrays but instead separate it out in its own collection, is there any rule of thumb other than size of the Document? Most of the time when Arrays are longer than Developers also need pagination so is this some indicator for creating a collection, or is an array with 100 items ok but everything above should be a collection?


Some links about arrays:

I recommend

1 Like