SlideShare a Scribd company logo
Cosmos DB
Overview by Akshat Thakar
Databases - Background
1. SQL – Normalized Schema, Referential Integrity, Constraints, Indexed
data
2. OLTP vs OLAP
3. Teradata, EDW - OLAP
4. NoSQL – Not only SQL use cases
i. Document Database – MongoDB
Website Visitor profile
Case Document of Patient
Wheel traceability
ii. Column Family Database – Cassandra
Gmail with mail Id and mails
iii. Graph Database – Gremlin
most influential person(s) in a network
Cloud Concepts
High Availability in Cloud
Geography
Region Region
AZ AZ AZ AZ
• Failures can occur that affect the availability of resources that are in the same Region and AZ.
• AZ may host multiple Data Centers
• 54 regions – highest for Cloud provider, public and private regions
Cosmos DB - Background
• IaaS – Compute, Storage and Network
• PaaS – Brand of Products – OS, Databases, Middleware as managed service
Management and Sizing is planned by Provider
• SaaS – Readily available Product – SalesForce, Gmail, PeopleSoft, SAP
SuccessFactors
• DBaaS [database-as-a-service]
1. SQL Database – Structured Database as service
2. Azure Document DB – NoSQL Database service with support for Document model
3. Cosmos DB – evolution of Document DB with multi model support
Supported Models – MongoDB, Gremlin, Cassandra, Table /SQL API
ServiceModels
Globally Distributed
• Scale read and write throughput globally.
• Maintain business continuity during
regional outages.
• Globally Distributed – multiple read regions on demand
• Low Latency – 10 ms at 99th percentile
• Elastic Scalability - thousands to hundreds of
millions of requests/sec
• High Availability - 99.999% for multi region reads
• Tunable consistency – Strong, Bounded Stateless,
Session, Consistent Prefix, Eventual.
Each model has a tradeoff between
consistency and performance.
High Availability
Partitions
Logical to Physical Mapping
Group of nodes =
replication set
Container
= collection or table
London NYC
Before
MysqLDB1 MysqLDB2
2TB 2TB
Total Data = 3 TB
Pricing
Cosmos DB was expensive, now affordable to get started.
Before Now
Minimum 10000 RU/S
with scaling increments of 1,000 RU/S
400 RU/S with scaling increments of 100
RU/S.
1 region - $584 per month
Multi Region - $1,168 per month
1 region - $23.36 per month
Multi Region - $46.72 per month
RU/S – Request Unit per second
Best Practices
• Cloud keep a close eye on your usage.
• Scale on Demand – Is complete size estimate needed before deployment?
• Test production scale data in Test environment
• Technology Stack evolution with multiple model support
• Supports Manual Failover of region. Simulate failure and plan.
• Leverage automatic secondary indexing
• If using MongoDB API, get started using emulator.

More Related Content

PPTX
Indexing with solr search server and hadoop framework
PPTX
RedisConf17 - Home Depot - Turbo charging existing applications with Redis
PDF
Apache spark on Hadoop Yarn Resource Manager
PDF
Bigdata and Hadoop with Docker
PPTX
Kafka website activity architecture
PDF
Shift: Real World Migration from MongoDB to Cassandra
PPTX
NoSQL Session II
PDF
Running MySQL in AWS
Indexing with solr search server and hadoop framework
RedisConf17 - Home Depot - Turbo charging existing applications with Redis
Apache spark on Hadoop Yarn Resource Manager
Bigdata and Hadoop with Docker
Kafka website activity architecture
Shift: Real World Migration from MongoDB to Cassandra
NoSQL Session II
Running MySQL in AWS

What's hot (19)

PPTX
Ops Jumpstart: MongoDB Administration 101
PPTX
The Meta of Hadoop - COMAD 2012
PPTX
Scylla Summit 2022: New AWS Instances Perfect for ScyllaDB
PDF
Introduce to spark
PPTX
Cassandra
PPTX
HBaseConAsia2018 Track3-2: HBase at China Telecom
PPTX
Database Shrading and cassandra architecture
PPTX
Cassandra Community Webinar: CMB - An Open Message Bus for the Cloud
PDF
Cosmos DB Service
PPTX
Cassandra vs Databases
PPTX
Managing MySQL Scale Through Consolidation
PPTX
Ceph Day Santa Clara: Ceph at DreamHost
PPTX
Databases on aws part 2
PDF
Cassandra Distributions and Variants
PPTX
Cloud Optimized Big Data
PPTX
Scylla Summit 2019 Keynote - Avi Kivity
PDF
In-Memory Data Grids - Ampool (1)
PPTX
DAT304_Amazon Aurora Performance Optimization with MySQL
PPTX
Webinar: Capacity Planning
Ops Jumpstart: MongoDB Administration 101
The Meta of Hadoop - COMAD 2012
Scylla Summit 2022: New AWS Instances Perfect for ScyllaDB
Introduce to spark
Cassandra
HBaseConAsia2018 Track3-2: HBase at China Telecom
Database Shrading and cassandra architecture
Cassandra Community Webinar: CMB - An Open Message Bus for the Cloud
Cosmos DB Service
Cassandra vs Databases
Managing MySQL Scale Through Consolidation
Ceph Day Santa Clara: Ceph at DreamHost
Databases on aws part 2
Cassandra Distributions and Variants
Cloud Optimized Big Data
Scylla Summit 2019 Keynote - Avi Kivity
In-Memory Data Grids - Ampool (1)
DAT304_Amazon Aurora Performance Optimization with MySQL
Webinar: Capacity Planning
Ad

Similar to Cosmos db (20)

PPTX
cosmodb ppt project.pptxakfjhaasjfsdajjkfasd
PDF
Select Stars: A DBA's Guide to Azure Cosmos DB (Chicago Suburban SQL Server U...
PPTX
cosmodb ppt.pptxfkhkfsgkhgfkfghkhsadaljlsfdfhkgjh
PPTX
Azure Cosmos DB - Azure Austin Meetup
PDF
Dealing with Azure Cosmos DB
PPTX
cosmodb ppt personal.pptxgskjhkjsfgkhkjgskhk
PDF
Select Stars: A DBA's Guide to Azure Cosmos DB (SQL Saturday Oslo 2018)
PPTX
Azure Cosmos DB - NET Conf AR 2017 - English
PDF
Select Stars: A SQL DBA's Introduction to Azure Cosmos DB (SQL Saturday Orego...
PPTX
Technical overview of Azure Cosmos DB
PDF
Azure Cosmos DB - NoSQL Strikes Back (An introduction to the dark side of you...
PDF
Modeling data and best practices for the Azure Cosmos DB.
PPTX
Azure Cosmos DB by Mohammed Gadi AUG April 2019
PPTX
Azure CosmosDb
PPTX
NoSQL Migration Technical Pitch Deck
PPTX
MU - No SQL.pptx
PDF
Azure Cosmos DB - The Swiss Army NoSQL Cloud Database
PPTX
Introduction to Cosmos DB Presentation.pptx
PPTX
Azure data platform overview
PPTX
Azure CosmosDb - Where we are
cosmodb ppt project.pptxakfjhaasjfsdajjkfasd
Select Stars: A DBA's Guide to Azure Cosmos DB (Chicago Suburban SQL Server U...
cosmodb ppt.pptxfkhkfsgkhgfkfghkhsadaljlsfdfhkgjh
Azure Cosmos DB - Azure Austin Meetup
Dealing with Azure Cosmos DB
cosmodb ppt personal.pptxgskjhkjsfgkhkjgskhk
Select Stars: A DBA's Guide to Azure Cosmos DB (SQL Saturday Oslo 2018)
Azure Cosmos DB - NET Conf AR 2017 - English
Select Stars: A SQL DBA's Introduction to Azure Cosmos DB (SQL Saturday Orego...
Technical overview of Azure Cosmos DB
Azure Cosmos DB - NoSQL Strikes Back (An introduction to the dark side of you...
Modeling data and best practices for the Azure Cosmos DB.
Azure Cosmos DB by Mohammed Gadi AUG April 2019
Azure CosmosDb
NoSQL Migration Technical Pitch Deck
MU - No SQL.pptx
Azure Cosmos DB - The Swiss Army NoSQL Cloud Database
Introduction to Cosmos DB Presentation.pptx
Azure data platform overview
Azure CosmosDb - Where we are
Ad

Recently uploaded (20)

PDF
Lecture1 pattern recognition............
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PPTX
CEE 2 REPORT G7.pptxbdbshjdgsgjgsjfiuhsd
PPTX
Logistic Regression ml machine learning.pptx
PPTX
Major-Components-ofNKJNNKNKNKNKronment.pptx
PPTX
Business Ppt On Nestle.pptx huunnnhhgfvu
PDF
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
PPTX
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PPTX
Supervised vs unsupervised machine learning algorithms
PPTX
Global journeys: estimating international migration
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
PPT
Chapter 2 METAL FORMINGhhhhhhhjjjjmmmmmmmmm
PDF
.pdf is not working space design for the following data for the following dat...
PPT
Miokarditis (Inflamasi pada Otot Jantung)
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
PDF
Mega Projects Data Mega Projects Data
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
Lecture1 pattern recognition............
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
CEE 2 REPORT G7.pptxbdbshjdgsgjgsjfiuhsd
Logistic Regression ml machine learning.pptx
Major-Components-ofNKJNNKNKNKNKronment.pptx
Business Ppt On Nestle.pptx huunnnhhgfvu
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
Galatica Smart Energy Infrastructure Startup Pitch Deck
Supervised vs unsupervised machine learning algorithms
Global journeys: estimating international migration
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
Chapter 2 METAL FORMINGhhhhhhhjjjjmmmmmmmmm
.pdf is not working space design for the following data for the following dat...
Miokarditis (Inflamasi pada Otot Jantung)
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
Mega Projects Data Mega Projects Data
Recruitment and Placement PPT.pdfbjfibjdfbjfobj

Cosmos db

  • 1. Cosmos DB Overview by Akshat Thakar
  • 2. Databases - Background 1. SQL – Normalized Schema, Referential Integrity, Constraints, Indexed data 2. OLTP vs OLAP 3. Teradata, EDW - OLAP 4. NoSQL – Not only SQL use cases i. Document Database – MongoDB Website Visitor profile Case Document of Patient Wheel traceability ii. Column Family Database – Cassandra Gmail with mail Id and mails iii. Graph Database – Gremlin most influential person(s) in a network
  • 3. Cloud Concepts High Availability in Cloud Geography Region Region AZ AZ AZ AZ • Failures can occur that affect the availability of resources that are in the same Region and AZ. • AZ may host multiple Data Centers • 54 regions – highest for Cloud provider, public and private regions
  • 4. Cosmos DB - Background • IaaS – Compute, Storage and Network • PaaS – Brand of Products – OS, Databases, Middleware as managed service Management and Sizing is planned by Provider • SaaS – Readily available Product – SalesForce, Gmail, PeopleSoft, SAP SuccessFactors • DBaaS [database-as-a-service] 1. SQL Database – Structured Database as service 2. Azure Document DB – NoSQL Database service with support for Document model 3. Cosmos DB – evolution of Document DB with multi model support Supported Models – MongoDB, Gremlin, Cassandra, Table /SQL API ServiceModels
  • 5. Globally Distributed • Scale read and write throughput globally. • Maintain business continuity during regional outages. • Globally Distributed – multiple read regions on demand • Low Latency – 10 ms at 99th percentile • Elastic Scalability - thousands to hundreds of millions of requests/sec • High Availability - 99.999% for multi region reads • Tunable consistency – Strong, Bounded Stateless, Session, Consistent Prefix, Eventual. Each model has a tradeoff between consistency and performance.
  • 6. High Availability Partitions Logical to Physical Mapping Group of nodes = replication set Container = collection or table London NYC Before MysqLDB1 MysqLDB2 2TB 2TB Total Data = 3 TB
  • 7. Pricing Cosmos DB was expensive, now affordable to get started. Before Now Minimum 10000 RU/S with scaling increments of 1,000 RU/S 400 RU/S with scaling increments of 100 RU/S. 1 region - $584 per month Multi Region - $1,168 per month 1 region - $23.36 per month Multi Region - $46.72 per month RU/S – Request Unit per second
  • 8. Best Practices • Cloud keep a close eye on your usage. • Scale on Demand – Is complete size estimate needed before deployment? • Test production scale data in Test environment • Technology Stack evolution with multiple model support • Supports Manual Failover of region. Simulate failure and plan. • Leverage automatic secondary indexing • If using MongoDB API, get started using emulator.

Editor's Notes

  • #4: AZ has one or more DC
  • #5: Why multi model – maintenance of different databases
  • #7: Why partitions