Query going to all paritions

Поиск
Список
Период
Сортировка
От aditya desai
Тема Query going to all paritions
Дата
Msg-id CAN0SRDFTummB0w5L_ijZq+ufZx8s6+Wdm96SEwqkQZYeUjpf=w@mail.gmail.com
обсуждение исходный текст
Ответы Re: Query going to all paritions  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-performance
Hi,
Query on  one of our partitioned tables which is range partitioned on "run"date" column is going to all partitions despite having run_date in WHERE clause. "enable_parition_pruning" is also on. I am unable to generate a query plan as the query never runs fully even waiting for say half an hour.

We have composite indexes on run_date,status. Do I need to create an index on run_date only?

Any other solutions?

Regards,
Aditya.

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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: How to improve cockroach performance with pgbench?
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Query going to all paritions