I'm specifically interested in the default C Locale; but if there's a difference in the answer for other locales, I'd like to hear about that as well. Thanks in Advance, Ron
On Wed, 2006-02-08 at 09:11 -0500, Ron wrote: > I'm specifically interested in the default C Locale; but if there's a > difference in the answer for other locales, I'd like to hear about > that as well. The size hit will be effectively zero if your data is mainly of the ASCII variety, since ASCII printable characters to UTF-8 is an identity transform. However anything involving string comparisons, including equality, similarity (LIKE, regular expressions), or any other kind of comparison (ORDER BY, GROUP BY) will be slower. In my experience the performance hit varies from zero to 100% in CPU time. UTF-8 is never faster that ASCII, as far as I know. However, if you need UTF-8 then you need it, and there's no point in worrying about the performance hit. You may as well just do two benchmark runs with your database initialized in either character set to see for yourself. -jwb
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера