将消息存储为BLOB(二进制大对象)还是普通文本? [英] Storing messages as BLOB (Binary Large Object) or ordinary text?
本文介绍了将消息存储为BLOB(二进制大对象)还是普通文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在大型/大型网站中存储消息文本的最佳方式是什么?BLOB或表中的普通文本或其他内容?数据库:MySQL。
What is the best way to store messaging texts in large/big web sites: BLOB or ordinary text in table or something else? Database: MySQL.
推荐答案
有很多问题需要问自己做出决定。有一个非常详细的文章,到BLOB或不BLOB,这是问题:是否存储字符串在BLOB,或CHAR,或VARCHAR?,它谈到一些要考虑的事情。
There are a lot of questions you need to ask yourself when making that decision. There's a very detailed article, To BLOB or not to BLOB, that is the question: Whether to store string in BLOB, or CHAR, or VARCHAR?, that talks about some of the things to consider.
这篇关于将消息存储为BLOB(二进制大对象)还是普通文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文