Storing messages as BLOB (Binary Large Object) or ordinary text?
问题 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. 回答1: 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. 回答2: If by "messages" you mean something like SMS or IRC, stuff with a defined limit then I