From: Matt Clark <matt@ymogen.net>
To: 'Bernd' <bernd_pg@genedata.com>
To: pgsql-performance@postgresql.org
Subject: Re: Select with qualified join condition / Batch inserts
Date: Fri, 15 Oct 2004 11:36:35 +0100
Message-ID: <001e01c4b2a2$d82b77f0$8300a8c0@solent> (raw)
In-Reply-To: <200410151225.26083.bernd_pg@genedata.com>
> SELECT cmp.WELL_INDEX, cmp.COMPOUND, con.CONCENTRATION
> FROM SCR_WELL_COMPOUND cmp, SCR_WELL_CONCENTRATION con
> WHERE cmp.BARCODE=con.BARCODE
> AND cmp.WELL_INDEX=con.WELL_INDEX
> AND cmp.MAT_ID=con.MAT_ID
> AND cmp.MAT_ID = 3
> AND cmp.BARCODE='910125864'
> AND cmp.ID_LEVEL = 1;
Quick guess - type mismatch forcing sequential scan. Try some quotes:
AND cmp.MAT_ID = '3'
AND cmp.BARCODE='910125864'
AND cmp.ID_LEVEL = '1';
M
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: matt@ymogen.net, bernd_pg@genedata.com
Subject: Re: Select with qualified join condition / Batch inserts
In-Reply-To: <001e01c4b2a2$d82b77f0$8300a8c0@solent>
* 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