阅读背景:

推荐的标签或标签SQL数据库设计

来源:互联网 

I've heard of a few ways to implement tagging; using a mapping table between TagID and ItemID (makes sense to me, but does it scale?), adding a fixed number of possible TagID columns to ItemID (seems like a bad idea), Keeping tags in a text column that's comma separated (sounds crazy but could work). I've even heard someone recommend a sparse matrix, but then how do the tag names grow gracefully?I've heard of a few ways to implement tagging;




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: