Увеличение лимита 255 символов в таблицах БД
Posted: Sun Dec 29, 2013 8:22 pm
Хочу более продвинутые строки филтрации по кейвордам создать и некоторые не влезают полностью. Можно ли без какого-то вреда для базы и операбельности сайтов увеличить этот лимит как говорится далее?
http://dev.mysql.com/doc/refman/5.6/en/ ... tions.htmlBy default, an index key for a single-column index can be up to 767 bytes. The same length limit applies to any index key prefix. See Section 13.1.13, “CREATE INDEX Syntax”. For example, you might hit this limit with a column prefix index of more than 255 characters on a TEXT or VARCHAR column, assuming a UTF-8 character set and the maximum of 3 bytes for each character. When the innodb_large_prefix configuration option is enabled, this length limit is raised to 3072 bytes, for InnoDB tables that use the DYNAMIC and COMPRESSED row formats.