Re: Tricking the optimizer

Поиск
Список
Период
Сортировка
От Vitaliy Garnashevich
Тема Re: Tricking the optimizer
Дата
Msg-id 2a11d6ec-837e-5284-38cf-efedc52dbbd2@gmail.com
обсуждение исходный текст
Ответ на Re: Tricking the optimizer  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Tricking the optimizer  (Vitaliy Garnashevich <vgarnashevich@gmail.com>)
Список pgsql-general
We'd rather avoid writing C code. We're trying to stick with the DB 
functionality provided by default.

Could something like the following, in theory, make things at least 
somewhat better in our case (without using the selectivity override)?

... WHERE coalesce(securityFilter1 AND securityFilter2 AND 
securityFilter3)::bool;

Regards,
Vitaliy



В списке pgsql-general по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: pg_upgrade: when the --old-bindir requires "additional" $libdir/plugins?
Следующее
От: greigwise
Дата:
Сообщение: postgres on physical replica crashes