r/programming • • Sep 24 '20

PostgreSQL 13 Released!

https://www.postgresql.org/about/news/2077/
1.3k Upvotes

236 comments sorted by

View all comments

43

u/aarono94 Sep 24 '20

I absolutely love Postgres. It’s ability to structure your data in a relational(sql) and non relational (nosql) way makes it so versatile.

10

u/CodeMariachi Sep 24 '20

There’s a performance penalty for using JSON columns. Deserializing JSON takes non-negligible time. Have you face that problem?

16

u/ants_a Sep 24 '20

Jsonb type is stored in a way that doesn't really need deserialization. But you still have the inefficiency of key lookup vs positional lookup, and of storing a copy of the schema with each record.

5

u/SSchlesinger Sep 24 '20

That is the json type, not jsonb