pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kenneth Marshall <ktm@rice.edu>
To: Josh Berkus <josh@agliodbs.com>
Cc: Kevin Kempter <kevink@consistentstate.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: partitioned tables query not using indexes
Date: Sun, 28 Feb 2010 15:51:57 -0600
Message-ID: <20100228215157.GA14613@it.is.rice.edu> (raw)
In-Reply-To: <4B8AD21A.2020904@agliodbs.com>
References: <201002240736.36341.kevink@consistentstate.com>
	<4B8AD21A.2020904@agliodbs.com>

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



view thread (6+ messages)  latest in thread

Message-ID: <20100228215157.GA14613@it.is.rice.edu>
Permalink:  ../20100228215157.GA14613@it.is.rice.edu/
Also on:    postgresql.org/message-id/20100228215157.GA14613@it.is.rice.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: ktm@rice.edu, josh@agliodbs.com, kevink@consistentstate.com
  Subject: Re: partitioned tables query not using indexes
  In-Reply-To: <20100228215157.GA14613@it.is.rice.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox