From: Pierre-Frédéric Caillaud <lists@boutiquenumerique.com>
To: Pallav Kalva <pkalva@deg.cc>
To: pgsql-performance@postgresql.org
Subject: Re: Poor Query
Date: Mon, 06 Dec 2004 16:48:05 +0100
Message-ID: <opsilfifducq72hf@musicbox> (raw)
In-Reply-To: <41B47A97.1090708@deg.cc>
References: <41B47A97.1090708@deg.cc>
How many rows do the following queries return :
select userID
from bankaccount ba
where ba.bankaccountID = u.bankaccountID
and ba.accountnumber = '12345678'
select userID
from bankaccount ba
where ba.bankaccountID = u.bankaccountID
and ba.routingNumber = '12345678'
Can you post EXPLAIN ANALYZE for these two queries ?
Regards.
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: lists@boutiquenumerique.com, pkalva@deg.cc
Subject: Re: Poor Query
In-Reply-To: <opsilfifducq72hf@musicbox>
* 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