MongoDB 면접 질문과 답변
Ques 6. What is indexing in MongoDB?
Indexing is the process of creating an index (like in a book) to improve the performance of queries. Indexes are used to quickly locate and access the data.
Ques 7. What is sharding in MongoDB?
Sharding is the process of distributing data across multiple servers. It is MongoDB's approach to meeting the demands of data growth.
Ques 8. What is the significance of the ObjectId in MongoDB?
ObjectId is a 12-byte identifier typically employed as the primary key in a MongoDB document. It consists of a timestamp, machine identifier, process ID, and a random incrementing value.
Ques 9. Explain replication in MongoDB.
Replication is the process of synchronizing data across multiple servers. It provides redundancy and increases data availability.
Ques 10. How can you achieve ACID properties in MongoDB?
MongoDB sacrifices ACID properties for performance and scalability. However, it supports multi-document transactions in recent versions to some extent.
Most helpful rated by users: