Re:Don't use MongoDB
by goldmab on Sunday November 06, 2011 @07:27AM
(#3202491)
Fair enough, but you can also have a schemaless store by using JSON fields in PostgreSQL or MySQL.
[ Parent
| on HN ]
Not indexably. But you can do a hideous many-tables-per-real-table thing where each field gets a tall thin table in PostGRES or MySQL, do a lot of joins to get your data, and index the fields in that.
It's not as awful as it sounds, performance-wise. It is as awful as it sounds in terms of maintainability, of course.
You can index hstore fields in PostgreSQL.
That's not an unfair comparison at all - indexing the data in a JSON blob is entirely possible and practical.