首页 > 代码库 > max_allowed_packet
max_allowed_packet
http://dev.mysql.com/doc/refman/5.7/en/comparison-operators.html#function_in
SELECT val1 FROM tbl1 WHERE val1 IN (1,2,‘a‘);
The number of values in the IN
list is only limited by the max_allowed_packet
value.
http://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_max_allowed_packet
You must increase this value if you are using large BLOB
columns or long strings. It should be as big as the largest BLOB
you want to use. The protocol limit for max_allowed_packet
is 1GB. The value should be a multiple of 1024; nonmultiples are rounded down to the nearest multiple.
max_allowed_packet
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。