0% found this document useful (0 votes)
609 views

NoSQL Lab Exercises 3

The document provides instructions for an exercise to design an aggregate data model for a NoSQL database application. Students are asked to: 1) Name their database and identify at least 6 collections 2) Draw a diagram of the aggregate data model for the collections 3) List field names for sample documents in each collection

Uploaded by

amlakshmi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
609 views

NoSQL Lab Exercises 3

The document provides instructions for an exercise to design an aggregate data model for a NoSQL database application. Students are asked to: 1) Name their database and identify at least 6 collections 2) Draw a diagram of the aggregate data model for the collections 3) List field names for sample documents in each collection

Uploaded by

amlakshmi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Lab Manual

19AD581 - NoSQL Databases


Dr P Thendral

EXERCISE 3 :
Objective:
Design of Aggregate Data Model for NoSQL Database for Applications.

Note: This needs normal print outs for Record

1) Name your database


2) Identify all the Collections for the Database(atleast 6 Collections)
3) Give our aggregate Data Model for the Collections. Draw Diagram just like the one below.

4) List out all Field names for a sample document for Each Collection, just like the example below
In document format.

// in customers
{"
id":1,
"name":"Martin",
"billingAddress":[{"city":"Chicago"}]
}
// in orders
{"
id":99,
"customerId":1,
"orderItems":[
{
"productId":27,
"price": 32.45,
"productName": "NoSQL Distilled"
}
],
"shippingAddress":[{"city":"Chicago"}]
"orderPayment":[
{
"ccinfo":"1000-1000-1000-1000",
"txnId":"abelif879rft",
"billingAddress": {"city": "Chicago"}
}
],
}

5) Draw use case diagram for the users of the application just like the one below for library
management system

6) List our various Aggregate Queries you can fire upon your application that you are planning to
implement in your project do perform Data Analytics on the Database items(Just like questions of
Exercise 2) – (atleast 15 valuable queries involving – group, aggregation and join type queries)

You might also like