Wordpress.com 是否为所有用户使用一组表?
wp.com 是否为每个新博客创建一组新表,或者所有博客数据都存储在一组表中(布局如下:http://codex.wordpress.org/Database_Description)?
在 MySQL 中为每个博客创建一组表是一个好主意吗?或者 MySQL 是否能够处理大量博客,每个博客的评论/标签/类别/帖子都存储在一组表中?
Does wp.com create a new set of tables for each new blog, or are all blog data stored in one set of tables (with a layout like: http://codex.wordpress.org/Database_Description)?
Would it ever be a good idea to create a set of tables for each blog in MySQL, or will MySQL be able to handle large numbers of blogs each with their comments/tags/categories/posts stored in one set of tables?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于 WordPress 是如何做到的,请查看 Wordpress MU
我想快速猜测一下 有一个共享的用户表,每个博客都有自己的数据库,因为对象之间的关系仅适用于单个博客。
编辑:来自 MU 常见问题解答:
For how Wordpress does it, have a look at Wordpress MU
I imagine at a quick guess there's a shared user table and each blog gets it's own DB as the relations between objects only apply within a individual blog.
Edit: From the MU FAQ: