You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongod...@googlegroups.com
Hi,
I was trying new wiredTiger storage in 3.0.0 with some of my production data. But I am not able to understand its storage structure. I restored one collection from 2.6.7 to 3.0. the data directory created below files/directories. I am not able to find any description for this:-
collection-0--7880187485072602249.wt
collection-2--7880187485072602249.wt
index-1--7880187485072602249.wt
index-3--7880187485072602249.wt
index-4--7880187485072602249.wt
index-5--7880187485072602249.wt
index-6--7880187485072602249.wt
index-7--7880187485072602249.wt
index-8--7880187485072602249.wt
journal
_mdb_catalog.wt
mongod.lock
mongo.log
sizeStorer.wt
storage.bson
_tmp
WiredTiger
WiredTiger.basecfg
WiredTiger.lock
WiredTiger.turtle
WiredTiger.wt
Can somebody help me with this?
Tim Callaghan
unread,
Mar 10, 2015, 10:02:14 AM3/10/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongod...@googlegroups.com
This is the current state of not just WiredTiger but also TokuMXse, and it's unfortunate. There is no way that I can see to map files to indexes/collections.
-Tim
Asya Kamsky
unread,
Mar 10, 2015, 1:58:39 PM3/10/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-user
The metadata mapping the collection and index names to files is in the
_mdb_catalog.wt for WiredTiger.
What's the primary reason for wanting to match up files to objects in
the DB? You can probably get the mapping by comparing
db.collection.stats().storageSize and matching it with sizes of
collection-xxx files and same for index sizes...
We can also decode the contents of _mdb_catalog.wt but I guess I'd
like to understand why that's important to have available...
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-user
Hi Megha
Use directoryperdb=1 option in config file while running mongod process. It will create all the database folders and map all the database collection and index files with that particular database folder.