I was wondering what is the limit of the number of files you can have in a database.
I have 50G of data, should I create ten million of 5K file, or 1 million of 50K file, or 100,000 500K file, or 10,000 5M file?
I did some tests, seems like the biger per file, the longer it takes to load the data. It means, if ten million is a number Tamino can handle, I’d take that option.
I must admit that I would expect the 5K documents to be faster for storage/retrieval purposes.
If indexes are used then the size of the document should not really affect the speed of searches.
The general rule of thumb I would apply is that a lot of small documents is generally preferable to one very large document. Remember to apply indexes for search fields.