Re: Query performance problems with partitioned tables - Mailing list pgsql-performance

From Gregory Stark
Subject Re: Query performance problems with partitioned tables
Date
Msg-id 87lkg9r7pn.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: Query performance problems with partitioned tables  (Andreas Haumer <andreas@xss.co.at>)
List pgsql-performance
Wait, rereading the original queries I seem to have misunderstood something.
The individual parts of the partitioned tables are being accessed in timestamp
order. So what's missing is some way for the optimizer to know that the
resulting append results will still be in order. If it knew that all the
constraints were mutually exclusive and covered ascending ranges then it could
avoid doing the extra sort. Hm...

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com


pgsql-performance by date:

Previous
From: Kevin Hunter
Date:
Subject: Re: Feature Request --- was: PostgreSQL Performance Tuning
Next
From: Josh Berkus
Date:
Subject: Re: Feature Request --- was: PostgreSQL Performance Tuning