Question: MongoDB Part 1 : Preparing the Large Dataset Task 1 : Dataset Acquisition and Import Obtain a large e - commerce dataset. This can be
MongoDB
Part : Preparing the Large Dataset
Task : Dataset Acquisition and Import
Obtain a large ecommerce dataset. This can be a publicly available dataset or one generated using tools like Mockaroo. Ensure the dataset includes at least products, customers, and orders.
Import this dataset into your MongoDB database, creating new collections: bigProducts, bigCustomers, and bigOrders.
Deliverable: Screenshots of the import process.
Part : Indexing and Query Performance
Task : Implementing Indexes
Analyze your dataset and identify fields that are frequently queried or involved in join operations.
Create appropriate indexes on these fields in each of the new collections to optimize query performance.
Deliverable: Submit the list of indexes created
Part : Data Analysis
Task : Aggregation Queries
Aggregation Queries: Find the top bestselling products, calculating the average order value, and determining the most active customers by order count.
Product Affinity Analysis: Determine which products are frequently bought together by analyzing order data.
Deliverables: Submit the MongoDB queries used for each analysis.
Part : Reflection and Optimization
Task : Query Performance Review
Choose one of your complex aggregation queries. Run it before and after applying indexes, then document the difference in performance.
Reflect on how indexing impacts the performance of big data queries in MongoDB.
Deliverable: A short report on your query performance review.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
