Try our new research platform with insights from 80,000+ expert users

Google Cloud Spanner vs Microsoft Azure Cosmos DB comparison

 

Comparison Buyer's Guide

Executive SummaryUpdated on Apr 6, 2025

Review summaries and opinions

We asked business professionals to review the solutions they use. Here are some excerpts of what they said:
 

Categories and Ranking

Google Cloud Spanner
Ranking in Database as a Service (DBaaS)
8th
Average Rating
9.0
Reviews Sentiment
7.8
Number of Reviews
5
Ranking in other categories
No ranking in other categories
Microsoft Azure Cosmos DB
Ranking in Database as a Service (DBaaS)
6th
Average Rating
8.2
Reviews Sentiment
7.2
Number of Reviews
92
Ranking in other categories
NoSQL Databases (5th), Managed NoSQL Databases (1st), Vector Databases (1st)
 

Mindshare comparison

As of June 2025, in the Database as a Service (DBaaS) category, the mindshare of Google Cloud Spanner is 4.5%, up from 3.7% compared to the previous year. The mindshare of Microsoft Azure Cosmos DB is 2.0%. It is calculated based on PeerSpot user engagement data.
Database as a Service (DBaaS)
 

Featured Reviews

Ethan Lo - PeerSpot reviewer
A stable and scalable relational database that ensures a return on investment for its users
The most valuable feature of the solution is its scalability. Scalability comes with two options, among which Google Cloud Spanner can scale horizontally, compared to other relational databases that scale vertically. You can change Google Cloud Spanner's resource configuration, which is done through processing units. Suppose you set up Google Cloud Spanner initially with a hundred processing units, and then you run out of resources since your database used too much CPU. In the aforementioned scenario, you can scale up or down and face no downtime in the production phase. The solution's features are important when running a company twenty-four hours, seven days a week.
MichaelJohn - PeerSpot reviewer
Very efficient for application-facing scenarios
There are several areas for improvement. Firstly, having a local development emulator or simulator for Azure Cosmos DB would be beneficial. It would be very handy to have a Docker container that developers can use locally. Although, I know there is a free tier and so on and so forth, having a local environment would be nice. For example, SQL Server is very portable. You can even install it on your machine. That is the number one thing that is missing in Azure Cosmos DB. The second improvement area is the IDE of choice. That means how you interact with Azure Cosmos DB. For example, with SQL Server, you have SQL Server Management Studio. I know there is a little bit of support for Azure Cosmos DB in Azure Data Studio, but it is not heavily advertised or it does not feel like first-class citizen support. Developer experience or developer tooling is missing in terms of interacting with the database. Better developer tools or an IDE for interacting with Azure Cosmos DB would enhance the developer experience. Lastly, there is some mixed messaging about what Azure Cosmos DB is, given its multiple APIs. There are so many Azure Cosmos DB APIs available. There is NoSQL. There are MongoDB, Gremlin, and others. There is still some mixed messaging for others who are new to Azure Cosmos DB about what Azure Cosmos DB is. Is this like MongoDB, but then there is also MongoDB in Azure Cosmos DB? I know it well, and I know that the default one is just NoSQL, but others I have interacted with over the last ten years or so get confused.

Quotes from Members

We asked business professionals to review the solutions they use. Here are some excerpts of what they said:
 

Pros

"It is a very scalable solution."
"The application deployment in the cloud is the best feature of the infrastructure."
"We can scale the solution if we need to."
"The most valuable feature of the solution is its scalability. Scalability comes with two options, among which Google Cloud Spanner can scale horizontally, compared to other relational databases that scale vertically."
"Google Cloud Spanner is stable."
"The best feature of Microsoft Azure Cosmos DB is API access, which makes it very easy to interact with the database without needing to write queries."
"I definitely recommend Microsoft Azure Cosmos DB."
"We primarily use Cosmos DB because it's a managed platform service, eliminating concerns about hosting and reliability."
"Since it's a managed service, Azure backend handles scalability. From a user's perspective, we don't need to worry about scalability."
"It is a cloud-based solution that is easy to deploy, easy to access, and provides users with more features compared to other clouds like AWS and GCP."
"Cosmos DB's greatest strengths are its easy setup and affordability, especially for those who understand its usage."
"Microsoft Azure Cosmos DB is fast, and its performance is good compared to normal SQL DB."
"We chose Azure Cosmos DB initially because of the type of data that we needed to store. We have a schema that is very nondeterministic and flexible. It is always changing based on whatever data we need to acquire from different devices, so we needed a document store with a flexible schema."
 

Cons

"Google came up with something called Cloud Spanner Emulator, which fails to work like the real product if I want to develop some code and run a database locally on my machine."
"The cost can be a bit high."
"The tool lacks to offer AI features."
"I want to improve the deployment of cameras and surveillance infrastructure."
"The tool needs to improve horizontal scaling."
"There are no particular factors that need improvement. There is a little bit of a learning curve with scaling workloads, but it works smoothly."
"The challenge for us is always scale."
"At this stage, we would like more enterprise support. We use MongoDB a lot, and we're trying to get rid of MongoDB. So, I would like to see more features in the Cosmos DB API for MongoDB space."
"Overall, it works very well and fits the purpose regardless of the target application. However, by default, there is a threshold to accommodate bulk or large requests. You have to monitor the Request Units. If you need more data for a particular query, you need to increase the Request Units."
"The API compatibility has room for improvement, particularly integration with MongoDB. You have to connect to a specific flavor of MongoDB. We'd also like a richer query capability in line with the latest Mongo features. That is one thing on our wish list. The current version is good enough for our use case, but it could be improved."
"Cosmos DB should continue evolving in AI features. We expect Cosmos DB to lead on that. There is potential for improved security features, which is important for data storage, especially for Dell Technologies. We must ensure data security remains the top priority."
"We should have more freedom to tweak it and make our own queries for non-traditional use-cases."
"We had some performance issues with a data segregation query. We worked closely with Microsoft to solve the problem of performance where, for example, one query had a delay of almost two or three minutes for this one use case. Microsoft tried to improve the product, but in the end, the solution was to change to MongoDB. MongoDB had better performance."
 

Pricing and Cost Advice

"Google Cloud Spanner is an expensive solution."
"It is expensive."
"The solution is expensive."
"Price-wise, I heard that Google Cloud Spanner is on the higher side."
"The pricing for Cosmos DB has improved, particularly with the new pricing for Autoscale."
"Cost isn’t a big hurdle for us right now. The solution is not costly."
"Microsoft Azure Cosmos DB is moderately priced, where it is neither expensive nor cheap."
"The price of Microsoft Azure Cosmos DB could be a bit lower."
"Cosmos DB is expensive, and the RU-based pricing model is confusing. Although they have a serverless layer, there are deficiencies in what I can define and assign to a database. Estimating infrastructure needs is not straightforward, making it challenging to manage costs."
"Its price is in the middle, neither too low nor too high."
"It is cost-effective. They offer two pricing models. One is the serverless model and the other one is the vCore model that allows provisioning the resources as necessary. For our pilot projects, we can utilize the serverless model, monitor the usage, and adjust resources as needed."
"There is a licensing fee."
report
Use our free recommendation engine to learn which Database as a Service (DBaaS) solutions are best for your needs.
857,162 professionals have used our research since 2012.
 

Top Industries

By visitors reading reviews
Financial Services Firm
22%
Computer Software Company
11%
Retailer
9%
Manufacturing Company
8%
Legal Firm
13%
Comms Service Provider
10%
Computer Software Company
10%
Financial Services Firm
10%
 

Company Size

By reviewers
Large Enterprise
Midsize Enterprise
Small Business
No data available
 

Questions from the Community

What is your primary use case for Google Cloud Spanner?
Google Cloud Spanner has all the features of a traditional relational database, including schemas, SQL queries, ACID transactions, and provides excellent integration and monitoring tools as well as...
What is your experience regarding pricing and costs for Google Cloud Spanner?
Price-wise, I heard that Google Cloud Spanner is on the higher side. I am not sure if this is a rumor or if it's fake news, but I believe that having BigQuery and GCP together could be a little cos...
What do you like most about Microsoft Azure Cosmos DB?
The initial setup is simple and straightforward. You can set up a Cosmos DB in a day, even configuring things like availability zones around the world.
What is your experience regarding pricing and costs for Microsoft Azure Cosmos DB?
It is cost-efficient as long as you understand the right setup to optimize usage. Knowing the data needs of the organization and adjusting the Microsoft Azure Cosmos DB usage accordingly helps save...
What needs improvement with Microsoft Azure Cosmos DB?
What is missing in Microsoft Azure Cosmos DB is definitely cold storage. We know it's coming, but that's currently what is missing—the possibility to park older data in a cold tier. Aside from the ...
 

Also Known As

Google Spanner
Microsoft Azure DocumentDB, MS Azure Cosmos DB
 

Overview

 

Sample Customers

Streak, Optiva, Mixpanel
TomTom, KPMG Australia, Bosch, ASOS, Mercedes Benz, NBA, Zero Friction, Nederlandse Spoorwegen, Kinectify
Find out what your peers are saying about Google Cloud Spanner vs. Microsoft Azure Cosmos DB and other solutions. Updated: June 2025.
857,162 professionals have used our research since 2012.