MongoDB is a popular NoSQL database system renowned for its flexibility and scalability. It uses a document-oriented model, storing data in JSON-like BSON format, allowing for dynamic schemas and easy data manipulation. MongoDB's distributed architecture supports horizontal scaling, ensuring high availability and performance. It's widely utilized for applications requiring real-time data access and complex data structures. Its features include automatic sharding, replication, and support for geospatial data, making it a versatile choice for a broad range of industries, from e-commerce and social media to IoT and big data analytics.
151. What is the primary goal of aggregation in MongoDB?
152. Which aggregation stage is used to filter documents in MongoDB?
153. What is the primary purpose of the MapReduce function in MongoDB?
154. In MongoDB aggregation, what does the "$group" stage do?
155. What does the "reduce" function in MapReduce do?
156. In MapReduce, what is the purpose of the "map" function?
157. Which stage in the MongoDB aggregation pipeline is used to reshape documents and calculate expressions?
158. What is the primary benefit of using aggregation over MapReduce in MongoDB?
159. What type of data processing does MapReduce excel at in MongoDB?
160. In MongoDB, what does the "$sort" stage do in the aggregation pipeline?