Re: Large number of partitions of a table
От
Mladen Gogala
Тема
Re: Large number of partitions of a table
Дата
Msg-id
0fdfb200-9aad-370b-3282-6585158de94f@gmail.com
Ответ на
Список
Дерево обсуждения
Large number of partitions of a table Victor Sudakov <vas@sibptus.ru>
Re: Large number of partitions of a table Ron <ronljohnsonjr@gmail.com>
Re: Large number of partitions of a table Tom Lane <tgl@sss.pgh.pa.us>
Re: Large number of partitions of a table Victor Sudakov <vas@sibptus.ru>
Re: Large number of partitions of a table Victor Sudakov <vas@sibptus.ru>
Re: Large number of partitions of a table Ron <ronljohnsonjr@gmail.com>
Re: Large number of partitions of a table Tom Lane <tgl@sss.pgh.pa.us>
Re: Large number of partitions of a table "David G. Johnston" <david.g.johnston@gmail.com>
Re: Large number of partitions of a table Tom Lane <tgl@sss.pgh.pa.us>
Re: Large number of partitions of a table Ron <ronljohnsonjr@gmail.com>
Re: Large number of partitions of a table Scott Ribe <scott_ribe@elevated-dev.com>
Re: Large number of partitions of a table Victor Sudakov <vas@sibptus.ru>
Re: Large number of partitions of a table Tom Lane <tgl@sss.pgh.pa.us>
Re: Large number of partitions of a table Victor Sudakov <vas@sibptus.ru>
Re: Large number of partitions of a table Tom Lane <tgl@sss.pgh.pa.us>
Re: Large number of partitions of a table Victor Sudakov <vas@sibptus.ru>
Re: Large number of partitions of a table Ron <ronljohnsonjr@gmail.com>
Re: Large number of partitions of a table Mladen Gogala <gogala.mladen@gmail.com>
Re: Large number of partitions of a table Ron <ronljohnsonjr@gmail.com>
Re: Large number of partitions of a table Ketan Popat <ketanpostgres@gmail.com>
Re: Large number of partitions of a table Victor Sudakov <vas@sibptus.ru>
Re: Large number of partitions of a table Victor Sudakov <vas@sibptus.ru>
On 1/18/22 09:47, Ron wrote:
EXPLAIN plans are going to be hilariously gigantic, which means that query planning would take a loooong time, And the query planner (in v12, at least) can generate some pretty bad plans in partitioned tables; I bet there are edge cases in the QP code that don't work well with 10000 partitions and 50000 indices.
These things sometimes happen. On the oracle-l, there is a thread in progress about a generated SQL with 130,000 lines which fails parsing because parsing exhausts the available memory. In such cases, I am less inclined to look for a fault with the database software and more inclined to inflict an unusual and cruel punishment on whoever has designed the data model.
-- Mladen Gogala Database Consultant Tel: (347) 321-1217 https://dbwhisperer.wordpress.com
В списке pgsql-admin по дате отправления