🆚 MongoDB vs. PostgreSQL

Type

Database technology
Database technology

About

MongoDB is a NoSQL, collection-oriented, schema-free document database that supports deployment across cloud or on-premises.

It stores documents in BSON (JSON-like) format, offers ACID multi-document transactions, powerful indexing (including geospatial and text), horizontal scalability via sharding, and high availability through replica sets.

PostgreSQL, also known as Postgres, is a powerful open-source object-relational database system that extends SQL with features for storing structured, semi-structured and geometric data.

It supports ACID transactions, multiversion concurrency control (MVCC), advanced indexing types (GiST, GIN, BRIN), native JSON/JSONB with indexing, extensibility through custom types and functions, full-text search, foreign data wrappers, and geospatial queries via PostGIS.

Headquarters

New York, United States
Toronto, Ontario, Canada

Website

Pricing

Atlas
Free version ✔️512MB of storage, shared RAM and vCPU
Dedicated Cluster$0.08+/hour
Flex Cluster$0.011+/hour
Enterprise Advanced$15,480/VirtualServer/year
Free ✔️Open source

Categories

Databases › Rank #8
Databases › Rank #5

Popularity

Determined by the number of sites using each technology.

PostgreSQL database technology is 3 times more popular than MongoDB.
Total websites

Market share

Databases

Popularity by country

Determined by the number of sites detected from each country.

PostgreSQL is more popular in the United States, Germany, and France, while MongoDB is more popular in Paraguay and Senegal.
United States
Germany
France
United Kingdom
Belgium
Canada
Spain
Netherlands
China
Switzerland

Awards

Popularity by domain category

Determined by the number of sites in each category.

PostgreSQL is more popular among sites focused on business, online shopping, and marketing and merchandising, while MongoDB is more commonly used on general news, entertainment, and finance and banking sites.
Business
General News
Online Shopping
Marketing/Merchandising
Entertainment
Education/Reference
Internet Services
Software/Hardware
Finance/Banking
Sports

Top sites

Top-ranked sites that use these technologies.

Name
Rank
#239
View more ➝
Name
Rank
View more ➝

See also

🗃️ About This Data