MongoDB preguntas y respuestas de entrevista
Pregunta 11. What is the role of the profiler in MongoDB?
The profiler is a MongoDB feature that tracks queries executed against the database. It helps in analyzing and optimizing query performance.
Pregunta 12. How do you perform aggregation in MongoDB?
MongoDB provides the `aggregate` method to perform aggregation operations, such as filtering, grouping, sorting, and projecting data.
Pregunta 13. Explain the GridFS in MongoDB.
GridFS is a specification for storing and retrieving large files in MongoDB. It divides a file into chunks and stores each chunk as a separate document.
Pregunta 14. What is the use of the `explain` method in MongoDB?
The `explain` method provides information on the query execution plan, helping in optimizing and understanding how a query is executed.
Pregunta 15. What is the TTL (Time To Live) index in MongoDB?
The TTL index is a special type of index that automatically deletes documents from a collection after a specified amount of time has passed.
Lo mas util segun los usuarios: