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

Re: simple join uses indexes, very slow

From: "Dave Dutcher" <dave(at)tridecap(dot)com>
To: <gry(at)ll(dot)mit(dot)edu>,<pgsql-performance(at)postgresql(dot)org>
Subject: Re: simple join uses indexes, very slow
Date: 2006-03-28 16:18:25
Message-ID: 00c901c65283$401f14d0$ (view raw, whole thread or download thread mbox)
Lists: pgsql-performance

> -----Original Message-----
> From: pgsql-performance-owner(at)postgresql(dot)org
> owner(at)postgresql(dot)org] On Behalf Of george young
> Sent: Monday, March 27, 2006 12:48 PM
> To: pgsql-performance(at)postgresql(dot)org
> Subject: [PERFORM] simple join uses indexes, very slow
> Indexes:
>     "parameters_idx" btree (run, opset_num, step_num, opset,
> step, step_ver, name, split, wafers)
>     "parameters_opset_idx" btree (opset, step, name)
>     "parameters_step_idx" btree (step, name)

Have you tried creating some different indexes on parameters?  I don't
know if it should matter or not, but I would try some indexes like:

(run, opset_num) //Without all the other columns
(opset_num, run) //Backwards

I don't really know Postgres internals all that well.  It just seems to
me that parameters_idx has a lot of columns this query is not interested
in.  I'd just be curious to see what happens.

In response to


pgsql-performance by date

Next:From: Markus SchaberDate: 2006-03-28 16:18:44
Subject: Re: Massive Inserts Strategies
Previous:From: ashahDate: 2006-03-28 15:59:49
Subject: Re: Massive Inserts Strategies

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