| License | Dual: GPL v2 + proprietary (owned by Oracle) | PostgreSQL License (BSD-style, very permissive) |
| SQL Standard Compliance | Good, but historically looser (e.g., ENUM, implicit type casts) | Very high; aims for full ANSI/ISO SQL compliance |
| ACID / MVCC | Depends on engine: InnoDB is ACID & MVCC; other engines vary | ACID & MVCC built-in by default |
| Extensibility | Limited (no custom data types in core) | ☑️ Custom data types, operators, index methods, languages (PL/pgSQL, PL/Python…) |
| Indexing Methods | B-Tree, Hash, FULLTEXT (InnoDB 5.6+), Spatial (InnoDB 5.7+) | B-Tree, Hash, GiST, SP-GiST, GIN, BRIN, K-NN, covering indexes |
| JSON / Document | JSON and JSON_TABLE (8.0+), but limited indexing | JSON/JSONB with GIN indexes; nearly Mongo-like operators |
| Parallel Query | Limited (only some window functions & sort) | ✔️ Parallel seq scan, joins, aggregates |
| Partitioning | Declarative since 5.7/8.0 | Mature, flexible inheritance + declarative |
| Replication | Native async; Group Replication (semi-sync) & InnoDB Cluster | Native async + logical + streaming; built-in logical decoding |
| Sharding | Via external tools (Vitess, ProxySQL, TiDB…) | Citus, Postgres-XL, CockroachDB forks |
| Read/Write Scalability | Master–slave (async) widely used | Similar, but logical replication → per-table replicates |
| Stored Procedures | SQL/PSM, procedural but limited | PL/pgSQL, plus Python, Perl, JavaScript, Rust… |
| Geo / GIS | MySQL Spatial (OpenGIS subset) | PostGIS extension (de-facto GIS standard) |
| Security Features | Transparent Data Encryption (TDE in Enterprise), SSL, roles | Row-level security, label security, SSL, extensive role system |
| Community & Governance | Corporate steward (Oracle); forks exist (MariaDB) | Independent, non-profit PGDG; vibrant extensions ecosystem |
| Typical Strengths | Simplicity, huge hosting support, speed on read-heavy OLTP, WordPress/LAMP stack | Complex queries, analytics, custom data models, GIS, extensibility |
| Typical Weaknesses | Fewer analytics features, weaker standards compliance, corporate control | Slightly steeper learning curve, smaller shared-hosting presence |