RE: How Many Partitions are Good Performing

From: "Kumar, Virendra" <Virendra(dot)Kumar(at)guycarp(dot)com>
To: pinker <pinker(at)onet(dot)eu>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: RE: How Many Partitions are Good Performing
Date: 2018-01-10 22:33:14
Message-ID: 3e8c1f9df69e4b3492e531cf14b41aa6@USFKL11XG20CN01.mercer.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

For test I created two tables with 7800 partitions each and joining them sees performance bottleneck. It is taking 5 seconds planning time. Please see attached plan.

Regards,
Virendra

-----Original Message-----
From: pinker [mailto:pinker(at)onet(dot)eu]
Sent: Wednesday, January 10, 2018 12:07 PM
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How Many Partitions are Good Performing

I've run once a test on my laptop because was curious as well. From my results (on laptop - 16GB RAM, 4 cores) the upper limit was 12k. Above it planning time was unbearable high - much higher than execution time. It's been tested on 9.5

--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html

________________________________

This message is intended only for the use of the addressee and may contain
information that is PRIVILEGED AND CONFIDENTIAL.

If you are not the intended recipient, you are hereby notified that any
dissemination of this communication is strictly prohibited. If you have
received this communication in error, please erase all copies of the message
and its attachments and notify the sender immediately. Thank you.

Attachment Content-Type Size
output.txt text/plain 6.1 KB

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Celia McInnis 2018-01-10 23:27:10 creating a table in plpython?
Previous Message Andreas Joseph Krogh 2018-01-10 21:59:57 Sv: Re: Sv: Re: Sv: Re: Sv: Re: Sv: Re: data-checksums