NoSQL database have grown popularity in recent years due to the flexibility of data modeling and scaling up capabilities. NoSQL database also have been using in big data landscape. The demo rich session will elaborate difference between SQL and NoSQL. And end to end solution for data moving capabilities from NoSQL database MongoDB by using Azure data factory.
4. What we cover
Refresh our memory with traditional SQL
Know about NoSQL (MongoDB)
Demo: No SQL
Comparison
Azure data factory: Copy data
from MongoDB
Demo: MongoDB with
ADF
6. SQL Syntax
SELECT Id, Product, Price
From Product
Where ProductCategory=’Bikes’
Join, Insert, Update, Delete
7. Well defined Schema
CREATE TABLE [Production].[Product](
[ProductID] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](100) NOT NULL,
[ProductNumber] [nvarchar](25) NOT NULL,
[MakeFlag] [dbo].[Flag] NOT NULL,
[FinishedGoodsFlag] [dbo].[Flag] NOT NULL,
[Color] [nvarchar](15) NULL,
[SafetyStockLevel] [smallint] NOT NULL,
[StandardCost] [money] NOT NULL,
[ListPrice] [money] NOT NULL,
[Size] [nvarchar](5) NULL)
8. Relationship/Normalization
Customer Bridge table (Order)
Product
Id Name Price Description
1 “Mountain
Bike “
2500 “Bike for mountain trek”
2 “City Bike” 1000 “Best fit to roam around
city”
Id Customer_ID Product_ID
1 2 1
2 2 2
3 1 1
Id Name Email
1 Morten
Sorenson
m.s@outlook.com
2 Andersen Lu al@yahoo.com
3 Derek Paul dp@outlook.com
19. SQL vs NoSQL
SQL NoSQL
Data uses Schema Schema-less (Schema Agnostic)
Maintain Relationship No relations– though you can design
relationship
Data distributed in multiple tables Data in one table (embedded)
Monolithic, you can easily Scale-Up.
Scale out is also possible but difficult
(e.g. Azure Elastic Database tools)
Scale up and scale out- Globally
distributed
21. Azure Data Lake
Azure Data Lake is a scalable data storage and analytics
service
-Fully HDFS compliance file system
-Azure AD integrated
-Microsoft’s PAAS service big data solution
23. Pre-requisite
• azure account
• Azure data factory resource
• Linked services (Source and
target connection)
• Integration run time
Integration
Runtime
Linked Service