全部技能
Azure Cosmos DB
Build globally distributed, multi-model databases with guaranteed latency.
⬢ 層級 2技術
高
薪資影響
5 個月
學習時長
中等
難度
—
職業
一覽
Cosmos DB is Microsoft's globally distributed, multi-model database (document, key-value, graph, table). Database engineers earn $120-190k mid-level, essential for globally-scalable applications with low-latency requirements.
什麼是 Azure Cosmos DB
Azure Cosmos DB is Microsoft's globally distributed, multi-model database providing SQL, MongoDB, Cassandra, Gremlin, and Table APIs. It guarantees <10ms latency at the 99th percentile, multi-region replication, and automatic failover. Global scale and low latency are increasingly critical. Cosmos DB is designed from the ground up for this. Key reasons:
🔧 工具與生態
Azure PortalAzure CLICosmos DB SDK (Python, Node.js, .NET)Data Explorer (Azure Portal)SQL API (SQL-like queries)Gremlin for graph queriesMongoDB API (MongoDB syntax)Table API (NoSQL table)Azure Functions (serverless integration)Azure Monitor
💰 各地區薪資
| 地區 | 初級 | 中級 | 高級 |
|---|---|---|---|
| USA | $90,000 | $150,000 | $240,000 |
| UK | £74,000 | £123,000 | £195,000 |
| EU | €68,000 | €112,000 | €180,000 |
| CANADA | CA$103,000 | CA$171,000 | CA$275,000 |
🎓 認證
AZ-104 Azure Administrator
AZ-204 Azure Developer
Azure Cosmos DB Fundamentals
❓ 常見問題
Is Cosmos DB better than MongoDB?
Cosmos DB scales globally with low latency (single-digit milliseconds). MongoDB requires sharding and replication setup. Cosmos is managed; MongoDB requires operational overhead.
What is the pricing model?
Two options: provisioned throughput (pay for RU/s reserved) or serverless (pay per operation). Provisioned is cheaper for steady workloads; serverless for spiky.
Can I use Cosmos DB for ACID transactions?
Yes, multi-document ACID transactions within a partition. Cross-partition transactions are eventual consistent (limited). For strict ACID, use Azure SQL.
What are Request Units (RUs)?
Cosmos DB's throughput unit. 1 RU = resources to read 1 KB item. A query costs 5-10 RUs; a write costs 5+ RUs. Capacity planning around RU budget.
Can I use Cosmos DB with my existing MongoDB code?
Yes, via MongoDB API. Connect MongoDB drivers to Cosmos DB; most code works unchanged. Minor differences in some features.
How do I backup and restore?
Cosmos DB has continuous backup (30-day retention). Point-in-time restore to any point in window. No manual backup needed.
不確定這項技能適不適合你?
做一下職業匹配,我們會推薦合適的方向。
找到最適合我的技能 →找到理想的職業方向
在 2,521 個職業中進行技能匹配。免費。
免費做職業匹配 →