Re:MongoDB Is Abusing JSON
by SigmundA on Thursday January 17, 2013 @08:46PM
(#5076580)
Of course normalizing tags is silly as they are natural keys so it should be as you first stated:
[ Parent
| on HN ]
Are subselects still ridiculously inefficient in MySQL? It's been a long while since I've used them. I do like how those queries read, though.
Sorry I only use proper DB's like PostgreSQL and MSSQL who optimizer's have no problems with this ;).
Also what I like about the count approach is you can do "show me all the posts with at least 2 out of the 3 tags matching" fuzzier search if you desire.