Re: select max(parent_table) slow - Mailing list pgsql-admin

From Plugge, Joe R.
Subject Re: select max(parent_table) slow
Date
Msg-id BD69807DAE0CE44CA00A8338D0FDD08340FBDCBF@oma00cexmbx03.corp.westworlds.com
Whole thread Raw
In response to select max(parent_table) slow  (Anj Adu <fotographs@gmail.com>)
Responses Re: select max(parent_table) slow  (Kenneth Marshall <ktm@rice.edu>)
List pgsql-admin
What is your constraint_exclusion config set to on your new instance?

-----Original Message-----
From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Anj Adu
Sent: Tuesday, August 18, 2009 8:30 AM
To: pgsql-admin@postgresql.org
Subject: [ADMIN] select max(parent_table) slow

We are testing 8.4 and noticed that the performance of

select max(indexed_col) from parent_Table

is the same (slow) as postgres 8.1.x ( our current version).    The
child tables are huge and the indexed_col is not the basis for
partitioning.

I remember that this was an issue from an earlier thread where the
optimizer was not able to use the child partitions only to get the max
value. Is this true for 8.4 ?

--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

pgsql-admin by date:

Previous
From: Kenneth Marshall
Date:
Subject: Re: select max(parent_table) slow
Next
From: Kenneth Marshall
Date:
Subject: Re: select max(parent_table) slow