Presentation is loading. Please wait.

Presentation is loading. Please wait.

Dive into NoSQL with Azure Niels Naglé Hylke Peek.

Similar presentations


Presentation on theme: "Dive into NoSQL with Azure Niels Naglé Hylke Peek."— Presentation transcript:

1 Dive into NoSQL with Azure Niels Naglé Hylke Peek

2 Thanks to our platinum sponsors :

3 Thanks to our silver and gold sponsors :

4 Wie zijn wij Niels.Nagle@infosupport.com Niels Naglé @NielsNagle Data Solutions Consultant & Trainer Hylke.Peek@infosupport.com Hylke Peek @HylkePeek Data Solutions Consultant & Trainer

5 WWhy NoSQL? KKey/Value store DDocument store CColumn Family store GGraph database RRECAP Topics

6 Relational Database PK int Title string Speaker string Track string Level int NULLNULL 1 2 3 4 RDBMS APP SQL NULL

7 Horizontal partitioning RDBMS 123 4 5 678 9 10 111213 14 15 Sharded RDBMS 1 2 3 4 5 Shard 1 1213 14 15 Shard 3 6 7 8 9 1011 Shard 2

8 ACID vs BASE UPDATE Sessions SET Level = 200 WHERE ID = 1 U U U U UPDATE Sessions SET Level = 200 WHERE ID = 1 U U U U ACID BASE

9 Aggregates

10 NoSQL Characteristics Non-relation data model Horizontal scalability More data flexibility Pros Horizontal scalability Easier coding Schema less Cons No ACID transactions Communication with other tools Schema less

11 Azure options Azure Service Aggregate StorageQuery language Transaction support Secundairy indexes Procs and Triggers Pricing

12 Azure options Azure Service Aggregate StorageQuery language Transaction support Secundairy indexes Procs and Triggers Pricing SQL Database Relational No Table, column, row T-SQLYes Yes, in T- SQL Throughput

13  Why NoSQL?  Key/Value store  Document store  Column Family store  Graph database  RECAP Topics

14 Key/Value store 1 2 3 4 Key Value

15 Azure Tables Table Azure Tables APP A 1 Title string Partition Entity Property A – Partition key 1 – Row key Data Speaker string Track string A 2 Title string Speaker string B 2 Title string EndDate string B 1 Title string Level string EndDate date Partition A Partition B A 2 A 2 Key/Value store

16 Azure options Azure Service Aggregate StorageQuery language Transaction support Secundairy indexes Procs and Triggers Pricing SQL Database Relational No Table, column, row T-SQLYes Yes, in T- SQL Throughput Azure Tables Key/Value Yes Table, partition, entity Subset of OData queries Within the partitionNo Data storage

17  Why NoSQL?  Key/Value store  Document store  Column Family store  Graph database  RECAP Topics

18 Document store 1 2 id Document { "UserName":"johnclarkson", "Email" :"john@infosupport.com", "MemberSince" :"03-05-2015", "DateOfBirth" :"06-04-1980", "BillingAddress" :"Mainstreet 14, New York……" } { "ProductName":"Shirts", "Size" :"L", "Colour" :"White", "RetailPrice" :"30", } Implicit schema!

19 DocumentDB APP Request Document store Data (Documents) Collection {...}

20 Azure options Azure Service Aggregate StorageQuery language Transaction support Secundairy indexes Procs and Triggers Pricing SQL Database Relational No Table, column, row T-SQLYes Yes, in T- SQL Throughput Azure Tables Key/Value Yes Table, partition, entity Subset of OData queries Within the partitionNo Data storage DocumentDB Document Yes Collection, document Extended subset of SQL Documents within a collection YesYes, in JavaScript Throughput

21  Why NoSQL?  Key/Value store  Document store  Column Family store  Graph database  RECAP Topics

22 Column Family store 1 Column Qualifier Column value Row key Column Family Profile Product Implicit schema! UserNameJohnclarkson Emailjohn@infosupport.com MemberSince03-05-2015 ProductNameShirts SizeL ColourWhite RetailPrice : 30000 : 30 2 Profile Manager UserNameJohnclarkson Emailjohn@infosupport.com MemberSince ManagerNameHenk DepartmentFinance

23 HDInsight HBase Column Family store Table HDInsight HBase APP Session Column Family Row Column 1 – Row key Data Speaker V2 2 Name Country Title Level Room 1 2 3 4 Session Title 2

24 Azure options Azure Service Aggregate StorageQuery language Transaction support Secundairy indexes Procs and Triggers Pricing SQL Database Relational No Table, column, row T-SQLYes Yes, in T- SQL Throughput Azure Tables Key/Value Yes Table, partition, entity Subset of OData queries Within the partitionNo Data storage DocumentDB Document Yes Collection, document Extended subset of SQL Documents within a collection YesYes, in JavaScript Throughput HDInsight Hbase Column Family Yes Table, column family, column, row, version None (commands like create, get, put and scan) RowNoYes, in Java Data storage en VM’s

25  Why NoSQL?  Key/Value store  Document store  Column Family store  Graph database  RECAP Topics

26 Graph database Node Relationship

27 Azure Service Aggregate StorageQuery language Transaction support Secundairy indexes Procs and Triggers Pricing SQL Database Relational No Table, column, row T-SQLYes Yes, in T- SQL Throughput Azure Tables Key/Value Yes Table, partition, entity Subset of OData queries Within the partitionNo Data storage DocumentDB Document Yes Collection, document Extended subset of SQL Documents within a collection YesYes, in JavaScript Throughput HDInsight Hbase Column Family Yes Table, column family, column, row, version None (commands like create, get, put and scan) RowNoYes, in Java Data storage en VM’s VM’s All Yes and No -----Per VM Azure options

28  Why NoSQL?  Key/Value store  Document store  Column Family store  Graph database  RECAP Topics

29 ACID vs BASE UPDATE Sessions SET Level = 200 WHERE ID = 1 U U U U UPDATE Sessions SET Level = 200 WHERE ID = 1 U ACID BASE SQL Database Azure Tables DocumentDB HBASE GRAPH Neo4J

30 Azure Data technologiën Operational dataAnalytical data NoSQL Technologies SQL Technologies Document - DocumentDB - MongoDB… Key/Value - Tables - Riak… Column Family - HDInsight HBase - Cassandra… Big Data Analytics - HDInsight - Hadoop… Relational Database - SQL Database - SQL Server - Oracle - MySQL… Relational Analytics - SQL Data Warehouse - SQL Server - Oracle - MySQL… Managed service in Azure Software that can run in Azure VM Graph - Neo4j…

31 Use Cases  Key/Value: Amazon Shopping Cart  Document store: MetLife 360 Customer information  Column Family store: Facebook Message store  Graph database: Wallmart Realtime Recommendation Social graphs

32 Polyglot Persistence

33 ? ? ? Questions

34 Announcement 28-11-2015

35 Raffle! +=

36

37 Please review the event and sessions  http://www.sqlsaturday.com/434/eventeval.aspx http://www.sqlsaturday.com/434/eventeval.aspx  http://www.sqlsaturday.com/434/sessions/sessionevaluation.aspx http://www.sqlsaturday.com/434/sessions/sessionevaluation.aspx

38 Is there Demo time left?

39 Demo Document DB

40 Demo Graph database in Azure VM Neo4j Graph database IS_A

41  Azure Documentation (http://azure.microsoft.com/nl-nl/documentation/services/)http://azure.microsoft.com/nl-nl/documentation/services/  Youtube teched 2014 – Introduction to NoSQL on Azure (https://www.youtube.com/watch?v=sDUHsUQC8NM)https://www.youtube.com/watch?v=sDUHsUQC8NM  Martin fowler 2013 – Introduction to No SQL (https://www.youtube.com/watch?v=qI_g07C_Q5I)https://www.youtube.com/watch?v=qI_g07C_Q5I  Graph databases (2 nd edition) O’Reilly (http://graphdatabases.com/)http://graphdatabases.com/  HBASE 101 (https://www.youtube.com/watch?v=KZps2dzr_u4)https://www.youtube.com/watch?v=KZps2dzr_u4 Used Sources & Extra information


Download ppt "Dive into NoSQL with Azure Niels Naglé Hylke Peek."

Similar presentations


Ads by Google