Entire repo in crx-quickstart/segmentstore (tar files) vs items over 4k in crx-quickstart/datastore
When we installed AEM 6.1, the default configuration has everything stored in crx-quickstart/segmentstore.
Our segmentstore now has over 3000 tar files and is roughly 120GB.
Compaction, if not done frequently, can take several hours, depending on the strength of the machine.
I'm working to change the repository configuration to store blobs over 4k on the filesystem in crx-quickstart/repository/datastore.
I would like to confirm this is a better practice than having everything in tar files.
A benefit of all in tar files may be a central location for everything and (more or less) the single maintenance task of compaction?
A separate datastore seems like it might perform better due to less overhead compared to searching through tar files? A separate datastore also seems to be the default config in later AEM versions?
A possible downside to a split repo would possibly be the need to run a separate and manual garbage collection process for maintenance?
Please advise on which is the best practice, and why it is the best practice.
Thanks!