SlideShare a Scribd company logo
Introduction to Azure DocumentDB
Introduction to Azure DocumentDB
Introduction to Microsoft Azure
DocumentDB
Radenko Zec - Lanaco
Introduction to Azure DocumentDB
Agenda
• NoSQL
• Introduction to Azure DocumentDB
• Storing data
• Querying data
• Transactions over data
No SQL in Database what ???
Is DocumentDB NoSQL database?
• database management system that is non relational
• schema less, avoids joins & easy to scale
• NoSQL =
DocumentDB at MSN.com
• over 425 million unique users
• store 20TB of JSON document data
• available globally to serve all markets
• under 15ms writes and single digit ms reads
Introduction to Azure DocumentDB
Resource Model
• Entities addressable by logical URI
• Partitioned for scale out
• Replicated for HA
• Entities represented as JSON
• Accounts scale out through addition of
capacity units
Interaction Model
• RESTful interaction over
HTTP
• HTTP and TCP
connectivity
Attachments
• Store large blobs/media outside core storage
• Document DB managed
– Submit raw content in POST
– Document DB stores into Azure Blob storage (2GB
today)
– Document DB manages lifecycle
DEMO - Getting Started
Indexing in DocumentDB
• By default everything is indexed
• Indexing is not a B-Tree (based on BWTree used in
Hackaton) and works really well under write pressure and
at scale
DocumentDB
Consistency options
DocumentDB
Consistency options
Tunning indexes
• synchronous (Consistent)
• asynchronous (Lazy)
Sharding
Multi Document JavaScript Transactions
• Execution wrapped in an implicit transaction
• Preregistered and scoped to a collection
• Performed with ACID guarantees
• If exceptions are thrown through the server side
execution of JavaScript application code, the entire
transaction is rolled back.
DEMO – Queries, CRUD, Stored
Procedures
Known limits
• Stored procedure 5 second execution timeout
• Index policies can be specified only at collection creation time
• no aggregate functions for now, no datetime type
• no joins between documents and collections
• Maximum request size of document and attachment
512KB
• Maximum response size - 1MB
• Maximum Request Units / sec per collection 2000
etc…
The End
• Radenko Zec – Lanaco
• http://blog.developers.ba
• @radenkozec
Introduction to Azure DocumentDB
Ne zaboravite ispuniti upitnike.
Čekaju vas vrijedne nagrade!

More Related Content

What's hot (20)

PPTX
Azure DocumentDB
Neil Mackenzie
 
PDF
An Introduction to Druid
RedBlackTree
 
PPTX
WiredTiger Overview
WiredTiger
 
PPTX
Mongo db
Akshay Mathur
 
PPTX
Mongo DB
Pradeep Shanmugam
 
ODP
Draft slide of Demystifying DHT in GlusterFS
Ankit Raj
 
PPT
Introduction to mongodb
neela madheswari
 
PPTX
MongoDB Internals
Siraj Memon
 
PPTX
Azure DocumentDB 101
Ike Ellis
 
PPTX
mongodb_Introduction
Vikas Pratap Singh
 
PPTX
MongoDB
Albin John
 
PPTX
Mango Database - Web Development
mssaman
 
PDF
MongoDB for Coder Training (Coding Serbia 2013)
Uwe Printz
 
KEY
MongoDB Hadoop DC
Mike Dirolf
 
PPSX
Mongodb
foliba
 
PDF
MongodB Internals
Norberto Leite
 
PDF
Mongo db dhruba
Dhrubaji Mandal ♛
 
PPTX
Mongo DB
Karan Kukreja
 
PPTX
SharePoint Saturday Durban Presentation
Warren Marks
 
PPT
Introduction to mongoDB
Cuelogic Technologies Pvt. Ltd.
 
Azure DocumentDB
Neil Mackenzie
 
An Introduction to Druid
RedBlackTree
 
WiredTiger Overview
WiredTiger
 
Mongo db
Akshay Mathur
 
Draft slide of Demystifying DHT in GlusterFS
Ankit Raj
 
Introduction to mongodb
neela madheswari
 
MongoDB Internals
Siraj Memon
 
Azure DocumentDB 101
Ike Ellis
 
mongodb_Introduction
Vikas Pratap Singh
 
MongoDB
Albin John
 
Mango Database - Web Development
mssaman
 
MongoDB for Coder Training (Coding Serbia 2013)
Uwe Printz
 
MongoDB Hadoop DC
Mike Dirolf
 
Mongodb
foliba
 
MongodB Internals
Norberto Leite
 
Mongo db dhruba
Dhrubaji Mandal ♛
 
Mongo DB
Karan Kukreja
 
SharePoint Saturday Durban Presentation
Warren Marks
 
Introduction to mongoDB
Cuelogic Technologies Pvt. Ltd.
 

Viewers also liked (11)

PPTX
The Challenges of SQL on Hadoop
DataWorks Summit
 
PPTX
Tajo and SQL-on-Hadoop in Tech Planet 2013
Gruter
 
PDF
SQL on Hadoop: Defining the New Generation of Analytic SQL Databases
OReillyStrata
 
PDF
Apache ranger meetup
nvvrajesh
 
PDF
SQL on Hadoop
nvvrajesh
 
PDF
Big SQL Competitive Summary - Vendor Landscape
Nicolas Morales
 
PPTX
Azure Document Db
Marco Parenzan
 
PDF
An overview of Amazon Athena
Julien SIMON
 
PDF
Hadoop과 SQL-on-Hadoop (A short intro to Hadoop and SQL-on-Hadoop)
Matthew (정재화)
 
PPTX
HBaseCon 2015: Optimizing HBase for the Cloud in Microsoft Azure HDInsight
HBaseCon
 
PPTX
SQL on Hadoop
Bigdatapump
 
The Challenges of SQL on Hadoop
DataWorks Summit
 
Tajo and SQL-on-Hadoop in Tech Planet 2013
Gruter
 
SQL on Hadoop: Defining the New Generation of Analytic SQL Databases
OReillyStrata
 
Apache ranger meetup
nvvrajesh
 
SQL on Hadoop
nvvrajesh
 
Big SQL Competitive Summary - Vendor Landscape
Nicolas Morales
 
Azure Document Db
Marco Parenzan
 
An overview of Amazon Athena
Julien SIMON
 
Hadoop과 SQL-on-Hadoop (A short intro to Hadoop and SQL-on-Hadoop)
Matthew (정재화)
 
HBaseCon 2015: Optimizing HBase for the Cloud in Microsoft Azure HDInsight
HBaseCon
 
SQL on Hadoop
Bigdatapump
 
Ad

Similar to Introduction to Azure DocumentDB (20)

PPTX
When to Use MongoDB
MongoDB
 
PPTX
TechEd AU 2014: Microsoft Azure DocumentDB Deep Dive
Intergen
 
KEY
Non-Relational Databases at ACCU2011
Gavin Heavyside
 
PPTX
Azure doc db (slideshare)
David Green
 
KEY
NoSQL in the context of Social Web
Bogdan Gaza
 
PPTX
DocumentDB - NoSQL on Cloud at Reboot2015
Vidyasagar Machupalli
 
PDF
Share point 2010 performance and capacity planning best practices
Eric Shupps
 
PDF
MongoDB Days UK: Using MongoDB to Build a Fast and Scalable Content Repositor...
MongoDB
 
PPTX
AzureDocumentDB
Saravanan G
 
PPTX
MongoDB 2.4 and spring data
Jimmy Ray
 
PDF
MongoDB
Serdar Buyuktemiz
 
PDF
Mongo db 3.4 Overview
Norberto Leite
 
PPTX
Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...
Lucas Jellema
 
PPTX
Drop acid
Mike Feltman
 
PDF
Highlights of AWS ReInvent 2023 (Announcements and Best Practices)
Emprovise
 
PPT
Wmware NoSQL
Murat Çakal
 
PPTX
Introduction to Data Science NoSQL.pptx
tarakesh7199
 
PPTX
Виталий Бондаренко "Fast Data Platform for Real-Time Analytics. Architecture ...
Fwdays
 
PPTX
Azure document db/Cosmos DB
Mohit Chhabra
 
When to Use MongoDB
MongoDB
 
TechEd AU 2014: Microsoft Azure DocumentDB Deep Dive
Intergen
 
Non-Relational Databases at ACCU2011
Gavin Heavyside
 
Azure doc db (slideshare)
David Green
 
NoSQL in the context of Social Web
Bogdan Gaza
 
DocumentDB - NoSQL on Cloud at Reboot2015
Vidyasagar Machupalli
 
Share point 2010 performance and capacity planning best practices
Eric Shupps
 
MongoDB Days UK: Using MongoDB to Build a Fast and Scalable Content Repositor...
MongoDB
 
AzureDocumentDB
Saravanan G
 
MongoDB 2.4 and spring data
Jimmy Ray
 
Mongo db 3.4 Overview
Norberto Leite
 
Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...
Lucas Jellema
 
Drop acid
Mike Feltman
 
Highlights of AWS ReInvent 2023 (Announcements and Best Practices)
Emprovise
 
Wmware NoSQL
Murat Çakal
 
Introduction to Data Science NoSQL.pptx
tarakesh7199
 
Виталий Бондаренко "Fast Data Platform for Real-Time Analytics. Architecture ...
Fwdays
 
Azure document db/Cosmos DB
Mohit Chhabra
 
Ad

More from Radenko Zec (8)

PPTX
Developing advanced windows phone apps
Radenko Zec
 
PDF
Windays12 ASP.NET Web API
Radenko Zec
 
PDF
Sinergija2013 ASP.NET Web API to the max
Radenko Zec
 
PDF
Sinergija2012 - Developing REST API for Windows Azure with ASP.NET Web API
Radenko Zec
 
PDF
MsNetwork2011 -How to build extensible silverlight application using MEF
Radenko Zec
 
PDF
MsCommunity2013- Single page application case study - Silverreader
Radenko Zec
 
PDF
MsCommunity2012 - Developing REST API using ASP.NET Web API
Radenko Zec
 
PDF
MsNetwork2013 Easy transition to HTML 5 using MVVM
Radenko Zec
 
Developing advanced windows phone apps
Radenko Zec
 
Windays12 ASP.NET Web API
Radenko Zec
 
Sinergija2013 ASP.NET Web API to the max
Radenko Zec
 
Sinergija2012 - Developing REST API for Windows Azure with ASP.NET Web API
Radenko Zec
 
MsNetwork2011 -How to build extensible silverlight application using MEF
Radenko Zec
 
MsCommunity2013- Single page application case study - Silverreader
Radenko Zec
 
MsCommunity2012 - Developing REST API using ASP.NET Web API
Radenko Zec
 
MsNetwork2013 Easy transition to HTML 5 using MVVM
Radenko Zec
 

Recently uploaded (20)

PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
Python basic programing language for automation
DanialHabibi2
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Python basic programing language for automation
DanialHabibi2
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Smart Trailers 2025 Update with History and Overview
Paul Menig
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 

Introduction to Azure DocumentDB

  • 3. Introduction to Microsoft Azure DocumentDB Radenko Zec - Lanaco
  • 5. Agenda • NoSQL • Introduction to Azure DocumentDB • Storing data • Querying data • Transactions over data
  • 6. No SQL in Database what ???
  • 7. Is DocumentDB NoSQL database? • database management system that is non relational • schema less, avoids joins & easy to scale • NoSQL =
  • 8. DocumentDB at MSN.com • over 425 million unique users • store 20TB of JSON document data • available globally to serve all markets • under 15ms writes and single digit ms reads
  • 10. Resource Model • Entities addressable by logical URI • Partitioned for scale out • Replicated for HA • Entities represented as JSON • Accounts scale out through addition of capacity units Interaction Model • RESTful interaction over HTTP • HTTP and TCP connectivity
  • 11. Attachments • Store large blobs/media outside core storage • Document DB managed – Submit raw content in POST – Document DB stores into Azure Blob storage (2GB today) – Document DB manages lifecycle
  • 12. DEMO - Getting Started
  • 13. Indexing in DocumentDB • By default everything is indexed • Indexing is not a B-Tree (based on BWTree used in Hackaton) and works really well under write pressure and at scale
  • 16. Tunning indexes • synchronous (Consistent) • asynchronous (Lazy)
  • 18. Multi Document JavaScript Transactions • Execution wrapped in an implicit transaction • Preregistered and scoped to a collection • Performed with ACID guarantees • If exceptions are thrown through the server side execution of JavaScript application code, the entire transaction is rolled back.
  • 19. DEMO – Queries, CRUD, Stored Procedures
  • 20. Known limits • Stored procedure 5 second execution timeout • Index policies can be specified only at collection creation time • no aggregate functions for now, no datetime type • no joins between documents and collections • Maximum request size of document and attachment 512KB • Maximum response size - 1MB • Maximum Request Units / sec per collection 2000 etc…
  • 21. The End • Radenko Zec – Lanaco • http://blog.developers.ba • @radenkozec
  • 23. Ne zaboravite ispuniti upitnike. Čekaju vas vrijedne nagrade!