Re: Poor Query - Mailing list pgsql-performance

From Pierre-Frédéric Caillaud
Subject Re: Poor Query
Date
Msg-id opsilfifducq72hf@musicbox
Whole thread Raw
In response to Poor Query  (Pallav Kalva <pkalva@deg.cc>)
Responses Re: Poor Query
List pgsql-performance
    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.

pgsql-performance by date:

Previous
From: Pallav Kalva
Date:
Subject: Poor Query
Next
From: Pallav Kalva
Date:
Subject: Re: Poor Query