Performance Comparison of MongoDB vs. PostgreSQL

This report was produced by Ongres and compares the performance of PostgreSQL and MongoDB. It features in depth analysis along with the supporting data and source code for three different benchmarks:

  • Transaction - A custom benchmark that models an airline reservation system
  • Sysbench - For OLTP workloads, considers both in-memory and 2TB datasets
  • JSON-based OLAP - Measures performance on four custom-written queries