r/ProgrammerHumor • • Oct 18 '24

Other mongoDbWasAMistake

Post image
13k Upvotes

446 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Oct 18 '24

[deleted] — view deleted comment

0

u/[deleted] Oct 18 '24

[deleted] — view deleted comment

7

u/Somepotato Oct 18 '24

Postgres arrays are performant and it has Json types for unstructured data that is also very performant

6

u/itzNukeey Oct 18 '24

Tbh postgres is usable for like 99% usecases with its extensions

6

u/Gorexxar Oct 18 '24

Best case I saw was an object's schema was defined at runtime and not compile time. It was easier to throw that in NoSQL than generate an SQL Table (When the object model is defined, of course) and/or store in Raw JSON in a table anyway.