In a bold move, MongoDB has taken a swipe at its competitor, PostgreSQL, by highlighting its own AI capabilities and questioning PostgreSQL's scalability. This comes at a time when the database landscape is evolving rapidly, and MongoDB, a NoSQL-based system, is trying to assert its dominance.
CEO Chirantan Desai, amidst positive financial results, made some intriguing remarks about PostgreSQL, an open-source database that has gained immense popularity among developers. He suggested that MongoDB possesses all the necessary elements to be the ideal platform for AI workloads, but he also acknowledged that it's still early days to determine the ultimate winner in this space.
Desai's comments were backed by a customer success story, where a high-growth AI company reportedly switched from PostgreSQL to MongoDB due to PostgreSQL's inability to scale. This narrative is intriguing, especially considering MongoDB's recent stock price surge, which saw a 23% increase on Tuesday morning. The company's revenue for the third quarter of its 2026 fiscal year reached $628.3 million, a 19% increase from the previous year, with operational losses narrowing significantly.
However, PostgreSQL, developed in the 1980s, has been making inroads into MongoDB's territory. Document database MongoDB was initially praised for its developer-friendly approach, allowing them to build applications quickly and efficiently. But by 2023, PostgreSQL had surpassed MongoDB in popularity among professional developers, according to the Stack Overflow survey. PostgreSQL's rise can also be attributed to its availability on leading cloud platforms, addressing user concerns about reliability.
But here's where it gets controversial: a range of PostgreSQL-compatible services with distributed back ends have emerged to tackle these reliability issues. Services like CockroachDB, pgEdge, and YugabyteDB offer distributed solutions. Additionally, Microsoft has entered the game with its distributed PostgreSQL database service, HorizonDB, designed to compete with other hyperscaler systems. Microsoft claims 100% compatibility with open-source PostgreSQL and promises improved performance, scalability, and availability.
And this is the part most people miss: Microsoft has also launched a document database platform, DocumentDB, to rival MongoDB. DocumentDB is built on a relational PostgreSQL backend and can utilize FerretDB as a front-end interface.
In the face of such intense competition, MongoDB has had to defend its system, not just on scalability, but on its reliability for enterprise workloads, a claim it has made for a long time.
While Desai's comments are understandable, given the competitive landscape, he might want to be cautious about the attention he draws. The database wars are heating up, and it's anyone's game at this point. What do you think? Is MongoDB's AI focus a smart move, or is PostgreSQL's reliability a more compelling selling point? Let's discuss in the comments!