Re: partition queries hitting all partitions even though check key is specified

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kevin Kempter <kevink(at)consistentstate(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: partition queries hitting all partitions even though check key is specified
Date: 2009-09-02 18:22:34
Message-ID: 14590.1251915754@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Kevin Kempter <kevink(at)consistentstate(dot)com> writes:
> In any case I ran the exact same query as you and it still scans most (but not
> all) partitions.

AFAICT it's scanning the right partitions in this example. What's
different in the case where it scans all?

> Were on version

This seems to have got truncated ...

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Carey 2009-09-02 18:28:51 Re: partition queries hitting all partitions even though check key is specified
Previous Message Tom Lane 2009-09-02 17:23:06 Re: partition queries hitting all partitions even though check key is specified