Re: pgsql 10.23 , different systems, same table , same plan, different Buffers: shared hit
От | Achilleas Mantzios |
---|---|
Тема | Re: pgsql 10.23 , different systems, same table , same plan, different Buffers: shared hit |
Дата | |
Msg-id | 2c350d20-0c1f-b9f3-4c65-73b07d8e3f40@cloud.gatewaynet.com обсуждение исходный текст |
Ответ на | Re: pgsql 10.23 , different systems, same table , same plan, different Buffers: shared hit (Thomas Munro <thomas.munro@gmail.com>) |
Список | pgsql-performance |
Στις 16/9/23 02:08, ο/η Thomas Munro έγραψε:
Thank you Thomas , our linux's glibc is on version : 2.19-18+deb8u10, we need to upgrade on so many levels.On Sat, Sep 16, 2023 at 7:42 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:Sadly, this proves very little about Linux's behavior. glibc's idea of en_US involves some very complicated multi-pass sort rules. AFAICT from the FreeBSD sort(1) man page, FreeBSD defines en_US as "same as C except case-insensitive", whereas I'm pretty sure that underscores and other punctuation are nearly ignored in glibc's interpretation; they'll only be taken into account if the alphanumeric parts of the strings sort equal.Achilleas didn't mention the glibc version, but based on the kernel vintage mentioned I guess that must be the "old" (pre 2.28) glibc sorting. In 2.28 they did a big sync-up with ISO 14651, while FreeBSD follows the UCA, a closely related standard[1]. I think newer Linux/glibc systems should agree with FreeBSD's libc in more cases (and also agree with ICU).
[1] https://unicode.org/reports/tr10/#Synch_ISO14651
-- Achilleas Mantzios IT DEV - HEAD IT DEPT Dynacom Tankers Mgmt
В списке pgsql-performance по дате отправления: