首页 > 其他 > 详细

TEXT和BLOB区别

时间:2014-10-11 20:20:17      阅读:308      评论:0      收藏:0      [点我收藏+]
  • Instances of BLOB or TEXT columns in the result of a query that is processed using a temporary table causes the server to use a table on disk rather than in memory because the MEMORY storage engine does not support those data types (see Section 8.4.4, “How MySQL Uses Internal Temporary Tables”). Use of disk incurs a performance penalty, so include BLOB or TEXT columns in the query result only if they are really needed. For example, avoid using SELECT *, which selects all columns.

 

【参考资料】

1、http://dev.mysql.com/doc/refman/5.6/en/blob.html

TEXT和BLOB区别

原文:http://www.cnblogs.com/gsblog/p/4019686.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!