S.no PostgreSQL MongoDB
1. It’s an object-relational database management system. It uses JSON-like documents to store schema-free data.
2. uses tables, triggers, constraints, roles, stored procedures and views as the core components Uses Key, Collection, Document, and Value.
BY Best Interview Question ON 22 Dec 2019