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.1
Number of Reviews
99
Ranking in other categories
NoSQL Databases (5th), Managed NoSQL Databases (1st), Vector Databases (1st)
 

Mindshare comparison

As of July 2025, in the Database as a Service (DBaaS) category, the mindshare of Google Cloud Spanner is 4.7%, up from 3.6% compared to the previous year. The mindshare of Microsoft Azure Cosmos DB is 2.4%. 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."
"We can scale the solution if we need to."
"The application deployment in the cloud is the best feature of the infrastructure."
"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 graphical representation of data is the most valuable feature of the solution."
"It is a scalable product."
"Cosmos DB's greatest strengths are its easy setup and affordability, especially for those who understand its usage."
"It handles large-scale operations efficiently, such as tracking views, logs, or events."
"The high speed of Azure Cosmos DB compared to other competitors is remarkable."
"Change notification works well, and the ability to process documents in a scalable way is important. This means we can efficiently thread out different operations and meet our organizational performance and scalability needs."
"The efficiency of search capabilities is significant, particularly when it comes to the flexibility of conducting in-depth, almost recursive searches that are both efficient and cost-effective."
"I would rate Microsoft Azure Cosmos DB a ten out of ten."
 

Cons

"The tool needs to improve horizontal scaling."
"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."
"I want to improve the deployment of cameras and surveillance infrastructure."
"The tool lacks to offer AI features."
"The first one is the ability to assign role-based access control through the Azure portal for accounts to have contributor rights."
"The model with autoscaling for RU is complicated to optimize RU consumption."
"The customer service is lacking. We have a premier support agreement, but support is hit and miss."
"I would give a low rating to Microsoft support, as whenever I talked to them, I never got a solution. I had to guide them."
"There are no specific areas I believe need improvement as I am happy with what I am getting currently. However, I am open to new features in future versions, like possibly integrating AI features natively into Cosmos DB. Any improvement would be beneficial."
"We'd like to avoid full DR replication if possible, as this would result in significant cost savings."
"Right now, the vectors are stored as floating-point numbers within the NoSQL document, which makes them inefficiently large. This leads to increased storage space requirements, and searching through a vast number of documents in the vector database becomes quite costly in terms of RUs. While the integration works well, the expense associated with it is relatively high. I would really like to see a reduction in costs for their vector search, as it is currently on the expensive side."
"The current data analytics of Cosmos DB is inefficient for large-scale queries due to its transactional design."
 

Pricing and Cost Advice

"Google Cloud Spanner is an expensive solution."
"Price-wise, I heard that Google Cloud Spanner is on the higher side."
"The solution is expensive."
"It is expensive."
"I would rate Cosmos DB's cost at seven out of ten, with ten being the highest."
"With heavy use, like a large-scale IoT implementation, you could easily hit a quarter of a million dollars a month in Azure charges if Cosmos DB is a big part of it."
"Its pricing structure is quite flexible."
"Microsoft Azure Cosmos DB's licensing costs are monthly."
"Microsoft Azure Cosmos DB is moderately priced, where it is neither expensive nor cheap."
"Right now, I have opted for the student subscription plan, for which Microsoft charges me around 100 USD. The pricing of the solution depends on the solution's usage."
"The cost is the biggest limitation of this solution."
"When we've budgeted for our resources, it's one of the more expensive ones, but it's still not very expensive per month."
report
Use our free recommendation engine to learn which Database as a Service (DBaaS) solutions are best for your needs.
860,592 professionals have used our research since 2012.
 

Top Industries

By visitors reading reviews
Financial Services Firm
22%
Computer Software Company
13%
Retailer
9%
Manufacturing Company
8%
Legal Firm
13%
Computer Software Company
10%
Comms Service Provider
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?
We are not consuming so much yet since we are at the beginning of using this solution. I would rate the pricing of Microsoft Azure Cosmos DB a six out of ten.
What needs improvement with Microsoft Azure Cosmos DB?
We are at the beginning of production, and everything is working very well. The price can always be lower, but currently, it's not a problem.
 

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.
860,592 professionals have used our research since 2012.