Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
早些时候,当我在处理我的数据库时,我想知道使用区分大小写的排序utf8_bin规则是否会比不区分大小写的排序规则utf8_general_ci(示例来自 MySQL)提高性能。
utf8_bin
utf8_general_ci
有人对此有何评论吗?MySQL以外的数据库呢?
是的,二进制排序规则会比其他排序规则更快。多少,我不能说。
二进制排序或比较比处理大小写(SQL Server 中的 + 重音、假名和宽度)更简单。