Let's make a complex dataset simple using Azure Cosmos DB

Slides:



Advertisements
Similar presentations
DBI210. Cloud and BI Overview Integrating cloud within BI BI services in the cloud.
Advertisements

Training Workshop Windows Azure Platform. Presentation Outline (hidden slide): Technical Level: 200 Intended Audience: Developers Objectives (what do.
NoSQL Databases NoSQL Concepts SoftUni Team Technical Trainers Software University
WINDOWS AZURE MOBILE SERVICES AN INTRODUCTION Bret Stateham Technical Evangelist
Dynamo: Amazon’s Highly Available Key-value Store DAAS – Database as a service.
Building Connected Windows Store apps with Windows Azure Mobile Services Nick Harris Windows Azure Tech Evangelist Microsoft Corporation WCL217.
CMPE 226 Database Systems May 3 Class Meeting Department of Computer Engineering San Jose State University Spring 2016 Instructor: Ron Mak
What if your app could put the power of analytics everywhere decisions are made? Modern apps with data visualizations built-in have the power to inform.
Aaron Stanley King. What is SQL Azure? “SQL Azure is a scalable and cost-effective on- demand data storage and query processing service. SQL Azure is.
Presented by: Aaron Stanley King.  Benefits of SQL Azure  Features of SQL Azure  Demos, Demos, Demos!  How to query in SQL Azure  More Demos!  Recent.
Dive into NoSQL with Azure Niels Naglé Hylke Peek.
Using abstract data layers in Microsoft SQL Server Speaker:Uwe Ricken (db Berater GmbH)
Microsoft Dynamics NAV Dynamics NAV 2016 one Azure SQL Dmitry Chadayev Microsoft.
Polyglot persistence with Azure data storage services. SQL Database, Azure Table Storage and Document DB June 18, 2016.
Introduction to Mongo DB(NO SQL data Base)
Deep-Dive w/ Azure Cosmos DB
11/7/2017 2:56 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Azure ServiceBus SQLRelay 2016 Stuart Moore.
NO SQL for SQL DBA Dilip Nayak & Dan Hess.
NoSQL: Graph Databases
How to tune your applications before moving your database to Microsoft Azure SQL Database (MASD) OK, you've jumped into your Azure journey by creating.
Scalable Web Apps Target this solution to brand leaders responsible for customer engagement and roll-out of global marketing campaigns. Implement scenarios.
Connected Maintenance Solution
Azure Cosmos DB: Design Patterns and Case Studies
SQL Server 2017 Graph Database Inside-Out
MongoDB Er. Shiva K. Shrestha ME Computer, NCIT
Globally distributed, secure MongoDB with Azure Cosmos DB
Data Management Agenda
Connected Maintenance Solution
Azure Cosmos DB Venitta J Microsoft Connect /6/2018 4:36 PM
Couchbase Server is a NoSQL Database with a SQL-Based Query Language
Scalable Web Apps Target this solution to brand leaders responsible for customer engagement and roll-out of global marketing campaigns. Implement scenarios.
Twitter & NoSQL Integration with MVC4 Web API
Exploring Azure Event Grid
Azure Cosmos DB: The globally distributed, multi-model database
A developers guide to Azure SQL Data Warehouse
Building Scalable Serverless Apps in the Cloud: AWS or Azure ?
Russ Thomas Director, Information Services, TSYS
Microsoft Azure Fundamentals: Data Understanding Microsoft Azure SQL
1 Demand of your DB is changing Presented By: Ashwani Kumar
Arrested by the CAP Handling Data in Distributed Systems
11/18/2018 2:14 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
G063 - Distributed Databases
Let's make a complex dataset simple using Azure Cosmos DB
Learning Google
Cloud Foundry on Azure and Azure Stack
Explore the Azure Cosmos DB with .NET Core 2.0
12/5/ :36 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Power-up NoSQL with Azure Cosmos DB
Learn. Imagine. Build. .NET Conf
XtremeData on the Microsoft Azure Cloud Platform:
AWS Cloud Computing Masaki.
relational thoughts on NoSql
Azure Cosmos DB with SQL API .Net SDK
5 Azure Services Every .NET Developer Needs to Know
Modelling data & best practices for Azure Cosmos DB SQL API
Polyglot Persistence: Column Stores
Hello My Friends, Welcome to CosmosDB
Troubleshooting.
Request Units & Billing
Global Distribution.
Microsoft Virtual Academy
Polyglot Persistence: Document Databases
Developer Intro to Cosmos DB
Cosmic DBA Cosmos DB for SQL Server Admins and Developers
Hello My Friends, Welcome to CosmosDB
The Database World of Azure
Polyglot Persistence: Putting it all together
Azure Cosmos DB – FY20 Top Use Cases
Presentation transcript:

Let's make a complex dataset simple using Azure Cosmos DB Hansamali Gamage Senior Engineer (TIQRI) ● Blogger ● Speaker ● Traveler Let's make a complex dataset simple using Azure Cosmos DB

Azure Cosmos DB

Azure Cosmos DB Not a database, It’s a database service Low latency Multi model & Multi API support Global Distribution Elastic scale out Multiple data models & APIs Global distribution Scaling throughput & storage Service level agreements Comprehensive SLAs

Why Azure CosmosDB Difference in Azure SQL database vs Azure Cosmos DB

Partitioning & Global Distribution R/W R South East Asia Product Category = ‘A’ Product Category = ‘B’ Product Category = ‘C’ R R/W Central US Data partitioning and sectioning Product catalog Fail over regions R R/W East Europe

Consistency vs Availability vs Response Time Data Distribution Consistency Availability Can’t achieve both Data availability & consistency Shopping cart application Consistency levels Session consistency Change consistency programmatically

Scale throughput and storage Low response time Per application requirements Scale throughput & storage Throughout in seconds and minutes If host in a physical server Per second & per minute granularities

RU (Request Units) & Pricing RU is the Currency Control RU when you scale your apps RU is the currency Based on the calculations need to process the request Remodel your database Throttled database requests Notifcation for throttled requests calculated based on the computation per request

Cosmos DB is a database service Azure Cosmos DB Cosmos DB is a database service Key - value Column family Documents Graph DB

Azure Document API De-normalized data Document is a JSON object Flexible schema Azure Document API De-normalized data Stores data in documents Document is a JSON object Can have mixed data in a document Data stored as documents JSON object Data types in Document API Referential Integrity Referential integrity is not enforced

Database Schema & Index Management in Document API Schema free Scheme free Automatically indexed all the paths Properties automatically indexed

Modeling data for a document database Data modeling is important as in a relational DB Important Enforcement of schema is a need by the developers

Are You Non-relational

ORM Normalized data What you store is what you get

Modeling the data in relational way Order Order Item Customer Product

Modeling the data in document way Order Id (key) Customer Items Item Product Item Product

Embed or Reference

Embed vs Reference

DEMO

Connect the dots You can try it yourself, check this article, Azure Cosmos DB: Designing your data structure

Thank you hansamaligamage@gmail.com http://hansamaligamage.blogspot.com/ https://goo.gl/DWDzdg https://goo.gl/7Pa5X8 @hansamaligamage