Subject | Re: [firebird-support] Re: Optimizing in (...) Statements |
---|---|
Author | Arno Brinkman |
Post date | 2004-10-15T09:02:52Z |
Hi,
The only thing that could make a performance difference is the network
traffic. If this will exclude a lot of records from the final result-set it
will "cheaper" to transfer over the wire.
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
> Now just one last question.....Very little, because the comparison is handled after the aggregation.
>
> Adding a
>
> HAVING
> SUM( VARER_DETAIL.ANTALSTK )<>0
>
> Does that have influense on the performance ?
The only thing that could make a performance difference is the network
traffic. If this will exclude a lot of records from the final result-set it
will "cheaper" to transfer over the wire.
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