Course
Azure CosmoDB
Course Duration
2 days (16 hours)
Course Content
Session 1 – Day1
• Review of NoSQL database structures
• Migrating data and applications to Cosmos DB
• Managing data in Cosmos DB
Lab : Creating and using a SQL API database in Cosmos DB
• Creating and configuring a Cosmos DB database
• Using the SQL API to access data
• Protecting data in a Cosmos DB database
After completing this module, students will be able to:
• Create and configure a Cosmos DB.
• Describe accessing data using the SQL API.
• Describe how to protect data in a Cosmos DB.
Session 2 -Day1: Designing and Implementing SQL API Database
Applications
This module describes how to design documents and collections to meet business
requirements, and how to use the SQL API to build applications that use these
documents.
Lessons
• Document models in Cosmos DB
• Querying data in a SQL API database
• Querying and maintaining data programmatically
Lab : Designing and implementing SQL API database applications
• Design the document structure & partitioning strategy for the product
catalog for the retail system
• Importing product catalog data
• Querying product catalog information
• Maintaining stock levels in the product catalog
After completing this module, students will be able to:
• Design NoSQL document structures that support business requirements
and enable efficient operations.
• Describe how to perform SQL queries against a SQL API database.
• Explain how to insert, modify, delete, and query data in a SQL API
database programmatically.
Session3 and Day 2: Implementing Server Side Operations
Describe how to create user-defined functions, stored procedures, and triggers.
Lessons
• Server-side programming with Cosmos DB
• Creating and using stored procedures
• Using triggers to maintain data integrity
Lab : Writing user-defined functions, stored procedures and triggers
• Design and implement the document and collection structure
• Implement the shopping cart functionality in the online retail system.
• Extend the online retail system to create orders from the items in a
shopping cart.
• Extend the online retail system further to enable customers to view
orders and backorders.
After completing this module, students will be able to:
• Describe how Cosmos DB enables you to implement server-side
operations by writing JavaScript code.
• Describe how use the dotnet sdk to implement transactional operations
with stored procedures.
• Describe how use create triggers that you can use to maintain integrity
when inserting, updating, and deleting documents.
Session 4 and Day 2: Optimizing and monitoring performance
Describe how to optimize a database, and how to monitor performance.
Lessons
• Optimizing database performance
• Monitoring the performance of a database
Lab : Tuning a database and monitoring performance
• Gathering execution statistics
• Examining how the different consistency models can impact throughput
and latency
• Investigate the effects of triggers on performance
• Monitoring performance and tuning the partition key