Low barrier to entry
LAMP Stack
A lot of blog posts for n00bs who don't RTFM
"Tries" to follow ANSI SQL
Very forgiving aka "good enough for most"
Schemaless NoSQL
Max doc size: 16Mb
JS-esque query language
No joins
No transactions
Locks everywhere
Biggest advertising budget of NoSQL DBs
Setup involves more
MVCC slower reads, faster writes
TOAST compression
Max row size: 1.6TB
Max field size: 1GB
Strict - NOT NULL - Types
ACID, Multiple Triggers, Stored Procedures, Query Planner, etc...
"Truth" is still on legacy databases
Code deployed where all API /endpoints and methods() write to legacy & next-gen in parallel. Response upon completion of legacy DB write
Worker minion goes through, row by row in MySQL and Mongo and ensures each row from both DBs is copied to PostgreSQL
Only after worker minion is finished, create indexes (concurrently)
"Truth" is now PostgreSQL
Code deployed where all API /endpoints and methods() read from PostgreSQL
Code deployed to PROD that nothing interacts with legacy databases anymore
Linting tools to help find *Mongo & *MySQL references
Rename ORM Models sans DB suffix