Dear Friend this article is going to show you basic compression between Azure SQL and Cosmos DB, I mention everything below in points take a review.
I have some good articles written. Please take a review.
- Key Capabilities Of Azure Cosmos DB
- Understand Azure Cosmos DB – Table API
- Understand Azure Cosmos DB – DocumentDB API (SQL)
Name |
Azure SQL |
Azure Cosmos DB |
|
![]() |
![]() |
Release |
· In 2013, Microsoft introduced Azure SQL Database which has its origin in the on-premises Microsoft SQL Server |
· In 2017, Microsoft introduced final release of Azure Cosmos DB which has schema-less and generally classified as a NoSQL database. It extends the earlier Azure DocumentDB, which was released in 2014. |
Definition |
· Azure SQL Database is a relational database-as-a service using the Microsoft SQL Server Engine. · SQL Database is a general-purpose relational database service in Microsoft Azure that supports structures such as relational data, JSON, spatial, and XML. · Azure SQL Database is a managed database service which is different from AWS RDS which is a container service. |
· Microsoft Azure Cosmos DB is a turnkey globally distributed, multi-model database system sold under the SaaS model. Cost is determined by data throughput and used storage capacity. · The system must deliver predictable and guaranteed end-to-end low read and write latencies at the 99th percentile. · Azure Cosmos DB’s implementation of comprehensive SLAs for throughput, latency, consistency and availability. These SLAs clearly specify the tradeoffs between latency, consistency, availability and throughput in a globally distributed setup. |
Storage size |
· The current size limit of an Azure SQL Database is 4 TB, and will probably end up around 10 TB in the near future. |
· Azure Cosmos DB which has Unlimited storage limit at all. Developers can specify how much storage they will need. Space directly affect how much the user is charged but either can be tuned up dynamically to handle peak load and down to save costs when more lightly loaded. |
Pricing (Aug 2017) |
· Azure SQL DB starts with €4,20 a month |
· SSD Storage (per GB) – $0.25 GB/mo · Reserved RUs/second (per 100 RUs, 400 RUs minimum) – $0.008/hr |
Consistency |
· Immediate Consistency |
Cosmos DB provides five consistency levels: 1. Strong, |
Transaction concepts |
· ACID |
· Multi-item ACID transactions with snapshot isolation within a partition |
User concepts
|
· fine grained access rights according to SQL-standard |
· Access rights can be defined down to the item level |
Database model |
||
Key Capabilities |
· Continuous learning of your unique app patterns, adaptive performance tuning, and automatic improvements to reliability and data protection · Scaling as needed, with virtually no app downtime · Management and monitoring of multitenant apps with isolation benefits of one-customer-per-database · Leverage open source tools like cheetah, sql-cli, VS Code and Microsoft tools like Visual Studio and SQL Server Management Studio, Azure Management Portal, PowerShell, and REST APIs · Data protection with encryption, authentication, limiting user access to the appropriate subset of the data, continuous monitoring and auditing to help detect potential threats and provide a record of critical events in case of a breach · It is a mysterious combination of RAM, CPU and read-write rates, but basically if you want to double the performance of your current database you just need to double the number of DTU’s for your database. · SQL DB can handle 6400 concurrent logins and 30000 concurrent sessions. |
|
For Updated Price Reference please check Azure Cosmos DB pricing and SQL Database pricing