I am asking this question because I need to know this limitation as I am generating SELECT query in my PHP script and the part of WHERE in this query is ge
See the max_allowed_packet global variable. You'll need access to the my.cnf file to adjust it (and need to adjust it on your client as well). The typical defaults are either 1mb or 16mb...
WHERE metadata IN ('value1', 'value2')
INSERT
query)LIKE '%string%'
is a performance killer. Such a query can't use an index on that column. LIKE 'string%'
on the other hand, is indexable