No more typing reviews! Try out Samantha, our new voice AI agent.

Google Cloud Spanner vs Microsoft Azure Cosmos DB comparison

Why PeerSpot?
 

Comparison Buyer's Guide

Executive SummaryUpdated on Jan 25, 2026

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
4.6
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)
4th
Average Rating
4.1
Reviews Sentiment
6.9
Number of Reviews
118
Ranking in other categories
NoSQL Databases (1st), Managed NoSQL Databases (1st), Vector Databases (1st)
 

Mindshare comparison

As of December 2026, in the Database as a Service (DBaaS) category, the mindshare of Google Cloud Spanner is 7.1%, up from 5.7% compared to the previous year. The mindshare of Microsoft Azure Cosmos DB is 4.8%, up from 3.9% compared to the previous year. It is calculated based on PeerSpot user engagement data.
Database as a Service (DBaaS) Mindshare Distribution
ProductMindshare (%)
Microsoft Azure Cosmos DB4.8%
Google Cloud Spanner7.1%
Other88.1%
Database as a Service (DBaaS)
 

Featured Reviews

LJ
System Architect at UST Global España
Offers good performance to users
The tool lacks to offer AI features. In the future, I would like the product to offer AI features to users. Nowadays, we are creating small acronyms for our SQL Server. We put some templates. If I just put your name and stop it, the entire cloud can be explored, but such features are not there in Google Cloud Spanner. As a layman rather than a developer, if I create a tool or a procedure. If I write a procedure and then when you describe a procedure, a dummy procedure will be written for you, and it will be available for you as a template in SQL Server, but such kind features are not there in Google Cloud Spanner.
Aman-Narang - PeerSpot reviewer
Technical Manager at Infosys
Real-time messaging has transformed customer updates and now powers responsive AI experiences
The primary benefits of Microsoft Azure Cosmos DB include horizontal scalability. The main advantage is that it handles data growth without requiring database redesign when traffic increases. Low latency access is another key benefit, as read and write operations are very fast, which is extremely helpful for real-time applications. Flexibility is also valuable because Microsoft Azure Cosmos DB uses JSON schema format, which contrasts with traditional table schemas that require time-consuming changes. In modernization scenarios where client requirements change rapidly, Microsoft Azure Cosmos DB offers more flexible schema design. High availability is another important feature, as it is well-suited for business-critical systems. My overall experience using Microsoft Azure Cosmos DB with other Azure services shows that it is more flexible compared to SQL Database and more readable because of its JSON format, making it easy to understand. It is more interactive because viewing the Microsoft Azure Cosmos DB schema clearly shows what is happening in the application and what will be achieved. In contrast, SQL requires writing many queries to obtain details, making Microsoft Azure Cosmos DB more suitable and flexible. My team's experience developing with Microsoft Azure Cosmos DB SDKs and APIs has been very comfortable and easy to implement. We are currently migrating .NET applications to Python-based AI solutions using Copilot, where we performed reverse engineering and are moving to forward engineering. We use APIs to connect with Microsoft Azure Cosmos DB and manage database containers and items, performing CRUD operations such as create, delete, and read operations, and querying JSON. We are using REST APIs with Python-based solutions, with a service layer and Microsoft Azure Cosmos DB integration.

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 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."
"The solution is stable and reliable."
"Google Cloud Spanner is stable."
"The application deployment in the cloud is the best feature of the infrastructure."
"We can scale the solution if we need to."
"I truly recommend Cosmos DB because it is a serverless product."
"Cosmos is a PaaS, so you don't need to worry about infrastructure and hosting. It has various APIs that allow it to integrate with other solutions. For example, we are using a MongoDB-compatible API for customers, which makes it easier for developers on the team who previously used MongoDB or are accustomed to the old document storage paradigm."
"Cosmos DB is a document database that stores data in JSON format for faster retrieval of unstructured data. I personally appreciate the speed, which is significantly better for unstructured data, especially since Cosmos DB had JSON as a data type early on."
"Azure Cosmos DB offers efficient indexing and low search latency, making searching fast and efficient and ensuring peace of mind in database operations."
"The high speed of Azure Cosmos DB compared to other competitors is remarkable."
"The latency and availability of Microsoft Azure Cosmos DB are fantastic."
"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."
"Because our complete setup is in Microsoft, we have access to the most premium Microsoft assistance, available 24 hours a day, seven days a week."
 

Cons

"The tool needs to improve horizontal scaling."
"The tool lacks to offer AI features."
"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."
"I want to improve the deployment of cameras and surveillance infrastructure."
"The cost can be a bit high."
"Slight enhancements in integration interfaces, expanded dashboard functionalities, and broader use-case support would be beneficial."
"The UI should be improved since if you provide the option to query directly when signing into the Azure portal, it makes no sense if you have such a poor UI for querying that you can't even feed the reports correctly."
"I had a challenging experience implementing the emulator with a Mac. I had to install the emulator in a Docker container because it is not natively compatible. A significant amount of time was spent researching how to enable HTTPS communication when connecting the container and the emulator."
"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 encountered an issue with Cosmos DB's recently introduced hierarchical partition feature."
"An improvement could include increasing the document size or providing a method to manage larger sets efficiently. If they want to keep a 2 MB limit, they should provide a way to chain multiple documents in a systematic way so that developers do not have to figure out what to do when a document is larger than 2 MB."
"The integration with other solutions needs to improve because Cosmos DB's interoperability is lacking in some scenarios. For example, I'm currently implementing Fabric. That involves migrating from environments without apps, processing data and users, and taking them to Fabric."
"Currently, it doesn't support cross-container joins, forcing developers to retrieve data from each container separately and combine it using methods like LINQ queries."
 

Pricing and Cost Advice

"It is expensive."
"The solution is expensive."
"Price-wise, I heard that Google Cloud Spanner is on the higher side."
"Google Cloud Spanner is an expensive solution."
"Microsoft Azure Cosmos DB pricing is based on RUs. Reading 1 KB document costs one RU, whereas writing one document costs five RUs. Pricing for querying depends on the complexity of the query. If you increase the document size, it will automatically increase the RU cost."
"The RU's use case determines our license fees."
"It seems to have helped significantly. We were using a different database system previously, and one of the reasons for acquiring Microsoft Azure Cosmos DB was cost."
"Everything could always be cheaper. I like that Cosmos DB allows us to auto-scale instead of pre-provisioning a certain capacity. It automatically scales to the demand, so we only pay for what we consume."
"Pricing, at times, is not super clear because they use the request unit (RU) model. To manage not just Azure Cosmos DB but what you are receiving for the dollars paid is not easy. It is very abstract. They could do a better job of connecting Azure Cosmos DB with the value or some variation of that."
"Its price is very good for the basic stuff. When you go to a more complicated use case, especially when you need replication and availability zones, it gets a little costly."
"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."
"I would rate Cosmos DB's cost at seven out of ten, with ten being the highest."
report
Use our free recommendation engine to learn which Database as a Service (DBaaS) solutions are best for your needs.
924,676 professionals have used our research since 2012.
 

Top Industries

By visitors reading reviews
Financial Services Firm
24%
Manufacturing Company
9%
Healthcare Company
9%
Comms Service Provider
7%
Financial Services Firm
11%
Outsourcing Company
11%
Legal Firm
9%
Manufacturing Company
9%
 

Company Size

By reviewers
Large Company
Midsize Company
Small Company
No data available
By reviewers
Company SizeCount
Small Company39
Midsize Company24
Large Company61
 

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 Microsoft Azure Cosmos DB?
My experience with pricing, setup cost, and licensing is that it is pay as you go, so the cost is fine.
What needs improvement with Microsoft Azure Cosmos DB?
If I had to pick one area for improvement, even a small one, it would be support of database schema design.
What is your primary use case for Microsoft Azure Cosmos DB?
Our main use case for Microsoft Azure Cosmos DB is storing our API information using vertices.
 

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: November 2026.
924,676 professionals have used our research since 2012.