Re: Terribly slow query with very good plan? - Mailing list pgsql-performance

From Nick Cleaton
Subject Re: Terribly slow query with very good plan?
Date
Msg-id CAFgz3kvCosDhgU=5Qq-RfVQDMCwCryOxp_OUmZ18mp1yJ6Gsyw@mail.gmail.com
Whole thread Raw
In response to Re: Terribly slow query with very good plan?  (Les <nagylzs@gmail.com>)
Responses Re: Terribly slow query with very good plan?  (Les <nagylzs@gmail.com>)
List pgsql-performance
On Fri, 4 Feb 2022 at 13:21, Les <nagylzs@gmail.com> wrote:
>
>> What if you try applying the C collation to the values from the table:
>>
>> where fi.is_active  and fi.relpath collate "C" ^@ 'A'
>
>
> Slow

What about this:

fi.relpath between ('A' collate "C") and ('A'||chr(255) collate "C")



pgsql-performance by date:

Previous
From: Ninad Shah
Date:
Subject: Re: Terribly slow query with very good plan?
Next
From: Les
Date:
Subject: Re: Terribly slow query with very good plan?