If I have a column short_titlein a MySQL table and it is defined as UNIQUE, do I also need to add FULLTEXT to find it quickly? Or does UNIQUE already guarantee that it will be searchable quickly (without a full table scan)?
short_title
Thanks, Boda Sido
UNIQUEwill find verbal short_titleusing the base index.
UNIQUE
If you need word matching (as opposed to word-for-word matching), use FULLTEXTindex.
FULLTEXT
, B-Tree MyISAM VARCHAR . :
B-Tree
MyISAM
VARCHAR
, VARCHAR .
MD5 BINARY(16), UNIQUE ( ) .
MD5
BINARY(16)
Source: https://habr.com/ru/post/1734292/More articles:Create tagged images for each glyph in a raster font file - computer-visionRequiredFieldValidator does not work under firefox - asp.netDocument Evaluation for Sorting Results, Lucene - sortingdefault template arguments in C ++ - c ++MySQL: Как я могу конденсировать этот подробный запрос? - sqlВыполнить SQL JOIN на моделях Django, которые не связаны? - pythonC # Method using Params Keyword - c #jquery-ui grid Create an update to read Delete - jqueryTwitter streaming API management recommendations (multiple or single connection) - twitterSQL selects a row in a string variable without specifying columns - stringAll Articles