Re: [PoC] Reducing planning time when tables have many partitions - Mailing list pgsql-hackers

From newtglobal postgresql_contributors
Subject Re: [PoC] Reducing planning time when tables have many partitions
Date
Msg-id 174176421219.294105.3395783202038263246.pgcf@coridan.postgresql.org
Whole thread Raw
In response to Re: [PoC] Reducing planning time when tables have many partitions  (Yuya Watari <watari.yuya@gmail.com>)
List pgsql-hackers
The following review has been posted through the commitfest application:
make installcheck-world:  tested, failed
Implements feature:       tested, failed
Spec compliant:           tested, failed
Documentation:            tested, failed

Hi Yuya,
Tested this patch and noted that this patch significantly improves query planning time, especially as the number of
partitionsincreases. While the impact is minimal for small partition counts (2–8), the improvement becomes substantial
from16 partitions onward, reaching up to ~86.6% reduction at 768 partitions. Larger partitions (512–1024) see a
dramaticspeedup, cutting planning time by over 2.7 seconds. The results confirm that the patch optimizes partitioned
queryexecution efficiently. This enhancement is crucial for databases handling large partitioned tables, leading to
betterperformance and scalability.
 
Regards,
NewtGlobal PostgreSQL contributors

pgsql-hackers by date:

Previous
From: newtglobal postgresql_contributors
Date:
Subject: Re: [PoC] Add CANONICAL option to xmlserialize
Next
From: Laurenz Albe
Date:
Subject: Re: Non-text mode for pg_dumpall