I’ve now got another database server with 3.2 installed and noticed the
filestructure is completely different.
The files i can see are a bunch of collection-nn-nnnnnnnnnnnnnnnn.wt and
Is there a configuration or parameter to set so that the filestructure
contained by database??
No. The file structure is determined by the selected database storage
engine and cannot be changed. I would also strongly discourage copying
individual files between dbpath (especially on a running mongod instance)
as this will likely introduce data corruption.
Also, there are many advantages of using WiredTiger compared to MMAPv1,
- Document level concurrency
- Better multithreaded performance
- MultiVersion Concurrency Control to ensure data consistency
Unless you have a very specific need for MMAPv1 features, I would recommend
you to use the WiredTiger storage engine instead due to WiredTiger’s
generally better performance, concurrency abilities, and compression
capabilities. Also, MMAPv1 files may be larger compared to the actual data
size, due to storage padding and fragmentation
You received this message because you are subscribed to the Google Groups "mongodb-user"