=?UTF-8?Q?Piotr_Gasid=C5=82o?= <quaker@xxxxxxxxxxxxxx> writes: > Ok. Is there any way to tune postgresql, to shorten planning time for > such queries? You've got a ridiculously large number of partitions. Use fewer. regards, tom lane -- Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance