Databases · Middle · Question 33 of 75

When should you use jsonb columns in PostgreSQL?

Explanation

Regular columns get types, constraints, foreign keys and better statistics. jsonb is binary and indexable with GIN, unlike text-based json.

Further reading

Problem with a question

Databases · Middle · question 33

Test yourself

Take the Databases · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz