Representations of Mongodb index files format at storage layer

Hi ,

Could you anyone please suggest , what are the representations of Mongodb index files format at storage layer ?

index-147188-368773209950180949.wt

147188 - represent for ?

368773209950180949 represent for ?

Hi @Vinay_Jaiswal welcome to the community!

The name collection_<x>_<y> or index_<x>_<y> is just an identifier to ensure the uniqueness of the name identifying a storage resource (called ident internally). Note that since MongoDB can work with other storage engines, the filenames you’re seeing is just something specific to WiredTiger, where in WiredTiger, those idents are implemented as WiredTiger tables (files) internally.

As to your question, the <x> and <y> numbers mean nothing, and currently <x> is just an incrementing counter, and <y> is just a random number. Since these conventions are for internal use, it may change in the future.

See the page Execution internals, especially the Glossary section regarding ident.

Best regards
Kevin

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.