Subject | Re: [firebird-support] Count in Join slowly when using 'in' |
---|---|
Author | Arno Brinkman |
Post date | 2005-02-14T14:37:20Z |
Hi,
use.
Regards,
Arno Brinkman
ABVisie
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Firebird open source database (based on IB-OE) with many SQL-99 features :
http://www.firebirdsql.org
http://www.firebirdsql.info
http://www.fingerbird.de/
http://www.comunidade-firebird.org/
Support list for Interbase and Firebird users :
firebird-support@yahoogroups.com
Nederlandse firebird nieuwsgroep :
news://newsgroups.firebirdsql.info
> I want to do something like:Show us the PLAN returned by the engine and tell us what Firebird version you
> Select Count(*) From Employee E Inner Join Employer R On
> (E.EmployerId=R.Id) Where R.Id In (10,20,30)
>
> This is very slow; When I do Where R.Id=10 it is very fast. What is
> wrong with my query?
use.
Regards,
Arno Brinkman
ABVisie
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Firebird open source database (based on IB-OE) with many SQL-99 features :
http://www.firebirdsql.org
http://www.firebirdsql.info
http://www.fingerbird.de/
http://www.comunidade-firebird.org/
Support list for Interbase and Firebird users :
firebird-support@yahoogroups.com
Nederlandse firebird nieuwsgroep :
news://newsgroups.firebirdsql.info