文本文件与 MySQL。哪个更适合存储 wiki 信息
我一直将 wiki 信息存储在 MySQL 数据库中。然而,在关系数据库中存储大量信息似乎有点浪费。我正在考虑将大量信息转移到文本文件中。有谁有经验,哪个会更好?
I have been storing my wiki information in a MySQL database. However, it seems like kind of a waste to store huge amounts of info in a relational database. I am thinking of moving the bulk of the information to text files. Does anyone have experience with which would be better?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为什么你想这么做,
如果你这样做,你如何在你的维基上进行搜索?
应该处理维基帖子以构建蓝色链接和红色链接,您想如何在文本文件中做到这一点?
处理完 wiki 帖子后,最好将其缓存在文本文件中,我们有一个大型 wiki,并将处理后的 wiki 存储在另一个表中,速度非常快。
Why you want do that,
if you do that, how you can perform search on your wiki?
a wiki post should be processed to build blue links and red links, how you want do that in text file?
after processing wiki post it's good to cache it in text file, we have a large wiki and store processed wiki in another table, its very fast.