Explain the structure of objectid in mongodb.?



Explain the structure of objectid in mongodb.?..

Answer / Pankaj Kumar Tripathi

An ObjectID in MongoDB consists of 12 bytes, divided into three parts: a 4-byte timestamp (seconds since Unix epoch), a 3-byte machine ID, a 2-byte process ID, and a 3-byte counter incremented for each new ObjectID created on that specific process.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MongoDB Interview Questions

Is mongodb big data?

1 Answers  


In mongodb how do you use $set to update a nested value?

1 Answers  


Is mongodb for big data?

1 Answers  


What is the difference between mongodb and redis database?

1 Answers  


How do I start mongodb in terminal?

1 Answers  


Is mongodb relational database?

1 Answers  


what is objecld composed of?

1 Answers  


How can you take database backup in mongodb?

1 Answers  


Whether use to safe backup log feature in mongodb?

1 Answers  


Does mongodb use sql?

1 Answers  


Can mongodb store binary data?

1 Answers  


Explain what is mongodb?

1 Answers  


Categories