Re: failing to use index on UNION of matviews (Re: postgresql 10.1wrong plan in when using partitions bug)
От
Justin Pryzby
Тема
Re: failing to use index on UNION of matviews (Re: postgresql 10.1wrong plan in when using partitions bug)
Дата
Msg-id
20180206181807.GC32634@telsasoft.com
Ответ на
Список
Дерево обсуждения
postgresql 10.1 wrong plan in when using partitions bug Mariel Cherkassky <mariel.cherkassky@gmail.com>
Re: postgresql 10.1 wrong plan in when using partitions bug Rick Otten <rottenwindfish@gmail.com>
Re: postgresql 10.1 wrong plan in when using partitions bug Tom Lane <tgl@sss.pgh.pa.us>
Re: postgresql 10.1 wrong plan in when using partitions bug Rick Otten <rottenwindfish@gmail.com>
Re: failing to use index on UNION of matviews (Re: postgresql 10.1wrong plan in when using partitions bug) Justin Pryzby <pryzby@telsasoft.com>
Re: failing to use index on UNION of matviews (Re: postgresql 10.1wrong plan in when using partitions bug) Rick Otten <rottenwindfish@gmail.com>
Re: failing to use index on UNION of matviews (Re: postgresql 10.1wrong plan in when using partitions bug) Rick Otten <rottenwindfish@gmail.com>
Re: failing to use index on UNION of matviews (Re: postgresql 10.1wrong plan in when using partitions bug) Rick Otten <rottenwindfish@gmail.com>
Re: postgresql 10.1 wrong plan in when using partitions bug Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: postgresql 10.1 wrong plan in when using partitions bug Mariel Cherkassky <mariel.cherkassky@gmail.com>
Re: postgresql 10.1 wrong plan in when using partitions bug legrand legrand <legrand_legrand@hotmail.com>
Re: postgresql 10.1 wrong plan in when using partitions bug Mariel Cherkassky <mariel.cherkassky@gmail.com>
Re: postgresql 10.1 wrong plan in when using partitions bug legrand legrand <legrand_legrand@hotmail.com>
Re: postgresql 10.1 wrong plan in when using partitions bug Mariel Cherkassky <mariel.cherkassky@gmail.com>
Re: postgresql 10.1 wrong plan in when using partitions bug Mariel Cherkassky <mariel.cherkassky@gmail.com>
Re: postgresql 10.1 wrong plan in when using partitions bug Rick Otten <rottenwindfish@gmail.com>
Re: postgresql 10.1 wrong plan in when using partitions bug Andreas Kretschmer <andreas@a-kretschmer.de>
Re: postgresql 10.1 wrong plan in when using partitions bug Mariel Cherkassky <mariel.cherkassky@gmail.com>
Re: postgresql 10.1 wrong plan in when using partitions bug Tom Lane <tgl@sss.pgh.pa.us>
Re: postgresql 10.1 wrong plan in when using partitions bug Mariel Cherkassky <mariel.cherkassky@gmail.com>
Re: postgresql 10.1 wrong plan in when using partitions bug Justin Pryzby <pryzby@telsasoft.com>
Re: postgresql 10.1 wrong plan in when using partitions bug Mariel Cherkassky <mariel.cherkassky@gmail.com>
Re: postgresql 10.1 wrong plan in when using partitions bug Justin Pryzby <pryzby@telsasoft.com>
On Sun, Feb 04, 2018 at 11:04:56AM -0500, Rick Otten wrote: > On Sun, Feb 4, 2018 at 10:35 AM, Tom Lane wrote: > > > Rick Otten writes: > > > I'm wrestling with a very similar problem too - except instead of > > official > > > partitions I have a views on top of a bunch (50+) of unioned materialized > > > views, each "partition" with 10M - 100M rows. On 9.6.6 the queries would > > > use the indexes on each materialized view. On 10.1, every materialized > > > view is sequence scanned. I think it'd be useful to see the plan from explain analyze, on both the "parent" view and a child, with and without SET enable_seqscan=off, Justin
В списке pgsql-performance по дате отправления
От: Rick Otten
Дата: