Discussion

Ask HN: Have you switched from Postgres or relational data to MongoDB?

I am dealing with data which is stored as JSONB data type in postgres currently. This column needed to be used in the `where` as filter. For example, a json can contain title, body, url, some boolean values etc.

While Postgres does allow creating an index on this JSONB column, I am wondering if MongoDB would be better suited for this instead of Postgres?

Have you switched any project from postgres or relational data to mongoDB or similar nosql db?

When dealing with JSON data, is Postgres better or MongoDB?

5 points busymom0 3 years ago 3 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton