Re: Terribly slow query with very good plan?

Поиск
Список
Период
Сортировка
От Nick Cleaton
Тема Re: Terribly slow query with very good plan?
Дата
Msg-id CAFgz3kvCosDhgU=5Qq-RfVQDMCwCryOxp_OUmZ18mp1yJ6Gsyw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Terribly slow query with very good plan?  (Les <nagylzs@gmail.com>)
Ответы Re: Terribly slow query with very good plan?  (Les <nagylzs@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Ninad Shah
Дата:
Сообщение: Re: Terribly slow query with very good plan?
Следующее
От: Les
Дата:
Сообщение: Re: Terribly slow query with very good plan?