I'm using a django application which does some 'startswith' ORM operations comparing longtext
columns with a unicode string. This results in a LIKE BINARY
comparison operation with a u'mystring'
unicode string. Is a LIKE BINARY likely to be any slower than a plain LIKE?
I know the general answer is benchmarking, but I would like to get a general idea for databases in general rather than just my application as I'd never seen a LIKE BINARY query before.
I happen to be using MySQL but I'm interested in the answer for SQL databases in general.