.WT File Extension
WiredTiger Data File
Developer | MongoDB |
Popularity |
2.0 | 1 Vote |
What is a WT file?
A WT file is a data file used by the WiredTiger storage engine included with MongoDB database software. It contains a collection of data blocks in the WiredTiger (WT) format, a proprietary format MongoDB uses as tables to make up a database. The first block in a WT file is a WT_BLOCK_DESC block that includes metadata to verify the legitimacy of the data and prevent corruption, followed by blocks storing data that makes up the table.
More Information
WiredTiger initially developed the WiredTiger (WT) data format and released it in 2012. MongoDB then acquired WiredTiger in 2014 and made the WiredTiger storage engine its default engine in version 3.2.
MongoDB creates WT files to store data that makes up its databases. The software may also store other types of data in WT files, including metadata for the complete system and historical data for tracking previous versions of database tables.
Common WT Filenames
WiredTiger.wt - Name of the WT file that contains metadata for the complete system.
WiredTigerHS.wt - Name of the WT history store file that contains information for tracking previous versions of database tables.
How to open a WT file
You should not attempt to open WT files manually. Instead, MongoDB references WT files to load the data they store.
If you want to restore WT files downloaded from an Atlas cloud backup, copy them and paste them into the /data/db directory. Then, restart the MongoDB server and start the Mongo shell.