What is PostgreSQL and why is it so popular?
BeginnerConceptPostgreSQL
Answer
Short answer
PostgreSQL is a powerful, open-source relational database known for correctness, standards compliance and rich features: transactions, advanced SQL, JSONB, full-text search, and extensions like PostGIS (maps), TimescaleDB (time series) and pgvector (AI embeddings). It's the default choice for many new apps and runs on every cloud.
Why teams pick it
| Reason | Example |
|---|---|
| Rock-solid ACID + MVCC | Reliable for payments and orders |
| JSONB | Store and index flexible JSON alongside tables |
| Extensions | pgvector for RAG apps, PostGIS for location |
| Open source, no licence cost | vs Oracle / SQL Server |
| Managed everywhere | RDS, Aurora, Azure Flexible Server, Cloud SQL |
Tools you'll meet that use it
SonarQube, Keycloak, GitLab, Backstage, Airflow, MLflow, Harbor — so DevOps engineers set up Postgres even when the app team uses something else.
What to say in the interview
"PostgreSQL is an open-source relational database with strong ACID guarantees, MVCC, JSONB and a rich extension ecosystem like pgvector. It backs many DevOps tools too — SonarQube, Keycloak, Harbor — and is available as a managed service on every cloud."
More on PostgreSQL
How do you set up PostgreSQL and log in with psql?BeginnerHow do you create a database, tables, users and query data in PostgreSQL?BeginnerHow do you back up and restore a PostgreSQL database?BeginnerHow is PostgreSQL organised: cluster, database, schema and table?BeginnerHow do you connect to PostgreSQL from the command line?BeginnerWhat are the most useful psql meta-commands?Beginner