Re: Planner performance in partitions

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Planner performance in partitions
Дата
Msg-id CAKJS1f9DEHYHu=hJPE_SYj9eheWK4F8iPNQGBApT4AHKgxVywQ@mail.gmail.com
обсуждение исходный текст
Ответ на ODP: Planner performance in partitions  (Piotr Włodarczyk <piotrwlodarczyk89@gmail.com>)
Ответы Re: Planner performance in partitions  (Michael Lewis <mlewis@entrata.com>)
Список pgsql-performance
On Tue, 13 Aug 2019 at 08:03, Piotr Włodarczyk
<piotrwlodarczyk89@gmail.com> wrote:
> PostgreSQL11.5:
>
> select on main partition (public.book): planner: 60ms, execution: 5ms
> select on partitioned table (public.book_1-1000): planner: 2.7 ms, execution: 2,4 ms
>
> PostgreSQL 12B3:
>
> select on main partition (public.book): planner: 2,5ms , execution: 1,2ms
> select on partitioned table (public.book_1-1000): planner: 2.5 ms, execution: 1,2 ms
>
> So looking at above results we have two options:
>
> Wait for 12.0 stable version
> Wait for patches to 11 – PostgreSQL Team: can You do this?

You'll need to either reduce the number of partitions down to
something realistic or wait for 12.0.

The work done to speed up the planner with partitioned tables for v12
won't be going into v11.

--
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Michael Lewis
Дата:
Сообщение: Re: Last event per user
Следующее
От: Luís Roberto Weck
Дата:
Сообщение: Re: Last event per user