Re: Slow performance of collate "en_US.utf8"

2025-02-28 Thread Joe Conway
On 2/28/25 17:49, Thomas Munro wrote: On Sat, Mar 1, 2025 at 9:03 AM Joe Conway wrote: On 2/28/25 09:16, Laurenz Albe wrote: > On Thu, 2025-02-27 at 16:54 +0300, Alexey Borschev wrote: >> I see poor performance of text sorting of collate "en_US.utf8" in PG 17.4. > > I'd say that you would have

Re: [PERFORM] Unused index influencing sequential scan plan

2025-02-28 Thread Thom Brown
On Thu, 18 Oct 2012, 18:01 Thom Brown, wrote: > On 18 October 2012 17:52, Tom Lane wrote: > > Thom Brown writes: > >> On 18 October 2012 17:44, Tom Lane wrote: > >>> Thom Brown writes: > And as a side note, how come it's impossible to get the planner to use > an index-only scan to s

Re: Slow performance of collate "en_US.utf8"

2025-02-28 Thread Thomas Munro
On Sat, Mar 1, 2025 at 9:03 AM Joe Conway wrote: > On 2/28/25 09:16, Laurenz Albe wrote: > > On Thu, 2025-02-27 at 16:54 +0300, Alexey Borschev wrote: > >> I see poor performance of text sorting of collate "en_US.utf8" in PG 17.4. > > > > I'd say that you would have to complain to the authors of t

Re: Slow performance of collate "en_US.utf8"

2025-02-28 Thread Joe Conway
On 2/28/25 09:16, Laurenz Albe wrote: On Thu, 2025-02-27 at 16:54 +0300, Alexey Borschev wrote: I see poor performance of text sorting of collate "en_US.utf8" in PG 17.4. I'd say that you would have to complain to the authors of the GNU C library, which provides this collation. Yep -- glibc

Re: Slow performance of collate "en_US.utf8"

2025-02-28 Thread Laurenz Albe
On Thu, 2025-02-27 at 16:54 +0300, Alexey Borschev wrote: > I see poor performance of text sorting of collate "en_US.utf8" in PG 17.4. I'd say that you would have to complain to the authors of the GNU C library, which provides this collation. Yours, Laurenz Albe

Re: Slow performance of collate "en_US.utf8"

2025-02-28 Thread Achilleas Mantzios - cloud
Hi Alexey On 2/27/25 15:54, Alexey Borschev wrote: Hi everyone! I see poor performance of text sorting of collate "en_US.utf8" in PG 17.4. Test query: explain (analyze, costs, buffers, verbose) SELECT ('БвЁжЫйяЙSёYz&$' || gen.id) collate "en_US.utf8" FROM generate_series(1, 1) AS gen(