4 ms·
What's the advantage of doing this instead of just making tags a separate table with a many-to-many relationship with documents?
by lbarrow 13y ago
What's the advantage of doing this instead of just making tags a separate table with a many-to-many relationship with documents?
- plq 13y agoMany-to-many relationships come with their own overhead -- you use additional resources for foreign keys, indexes, etc. If your data is seldom updated (or not that big), not used for database operations, and having it all in memory is fine, it can be better to use native arrays.
- deno 13y agoIt’s hard to tell how big of an advantage this is, if any, without some actual data.