比如传统的关联表设计:
post 表:
id, title, content
tag 表:
id, name
post_tag 表:
post_id, tag_id
--
在某些特定情况下(例如:性能是主要瓶颈时)有没有更好的设计?
都有哪些情况不应该用这种设计?
post 表:
id, title, content
tag 表:
id, name
post_tag 表:
post_id, tag_id
--
在某些特定情况下(例如:性能是主要瓶颈时)有没有更好的设计?
都有哪些情况不应该用这种设计?