Skip site navigation (1) Skip section navigation (2)

Re: partitioned tables query not using indexes

From: Kenneth Marshall <ktm(at)rice(dot)edu>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Kevin Kempter <kevink(at)consistentstate(dot)com>,pgsql-performance(at)postgresql(dot)org
Subject: Re: partitioned tables query not using indexes
Date: 2010-02-28 21:51:57
Message-ID: 20100228215157.GA14613@it.is.rice.edu (view raw or flat)
Thread:
Lists: pgsql-performance
On Sun, Feb 28, 2010 at 12:29:14PM -0800, Josh Berkus wrote:
> 
> > However the same query against the base table when specifying the check 
> > constraint key in the where clause produces sequential scans:
> 
> Does the "master" table have the same indexes as the slave partitions?
> 
> --Josh Berkus
> 
Does this help? I have an empty base table without indexes and partitions
underneath that do have the index. I did not think that an index on the
parent table did anything.

Cheers,
Ken

In response to

Responses

pgsql-performance by date

Next:From: Josh BerkusDate: 2010-02-28 22:41:46
Subject: Re: [HACKERS] full text search index scan query plan changed in 8.4.2?
Previous:From: xu feiDate: 2010-02-28 20:42:09
Subject: full text search index scan query plan changed in 8.4.2?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group