Subject | RE: [firebird-support] FB faster than IB 5.6 |
---|---|
Author | RB Smissaert |
Post date | 2007-10-08T17:56:49Z |
> You need to redo all your joins into ANSI 96 syntaxThanks, that is what I always do in any case.
Are there any other tips to be aware of when moving come IB 5.6 to FB?
RBS
_____
From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of Tom Miller
Sent: 08 October 2007 18:36
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] FB faster than IB 5.6
You need to redo all your joins into ANSI 96 syntax. Remove joining
code from the WHERE clause and put it in the FROM
FROM
MY_TABLE_1 JOIN MY_TABLE_2
ON MY_TABLE_1.KEY_FIELD = MY_TABLE_2.KEY_FIELD
WHERE
Yes FB is much faster.
In addition, you need to qualify every field in the statement of multi
table selects. Make sure the TABLE_NAME is included as part of the field.
WHERE
ZIP_CODE = '12345'
may not use an index where
WHERE
ADDRESS.ZIP_CODE = '12345'
will.
RB Smissaert wrote:
> We will be moving from IB 5.6 to FB and I had heard that FB should beof
> faster, but sofar I haven't seen this yet. I understand a major weakness
> IB 5.6 is the poor plan generator and I wonder if this is any better inFB.
> Are there any comparisons between these 2 available somewhere or anythe Resources item
> comments otherwise?
>
> RBS
>
>
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://www.firebird <http://www.firebirdsql.org> sql.org and click
> on the main (top) menu. Try Knowledgebase and FAQ links !<http://www.ibphoenix.com> x.com
>
> Also search the knowledgebases at http://www.ibphoeni
>[Non-text portions of this message have been removed]
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Yahoo! Groups Links
>
>
>
>
>