Subject | Re: Indexed used with search name='TEST' but not with name like 'TEST%' |
---|---|
Author | swestner |
Post date | 2008-04-30T18:57:28Z |
Hello,
thanks goes to everyone whoe helped me!
IdxWord3 is in the column indexedobject.
The compound index on attribute,name is newly created by me.
Stefan
--- In firebird-support@yahoogroups.com, "Leyne, Sean" <Sean@...>
wrote:
thanks goes to everyone whoe helped me!
IdxWord3 is in the column indexedobject.
The compound index on attribute,name is newly created by me.
Stefan
--- In firebird-support@yahoogroups.com, "Leyne, Sean" <Sean@...>
wrote:
>there
> Stefan,
>
> > > Please create a new compound index based on Word_1.attribute and
> > > Word_1.data (in that order) (or is IXWORD3 that index?).
>
> > Hello Sean,
> >
> > THANKS!!!!!
>
> Actually, Anderson Farias deserves credit as well. Without his
> narrowing of the problem to a simple SQL which we could focus on,
> would have been no way I would have bothered to work further onproblem.
>job.
> > Creating the Index IdxWordtest on word (attribute, data) did the
>index can
> It was the uniqueness of the resulting set which suggested that the
> compound index would be beneficial.
>
> BTW, that is the definition of the IXWORD3 index?
>
> If it is on Word (attribute), then it can be dropped. The new
> be used instead for searches on Attribute alone as well asAttribute +
> Value.of
>
>
> > Both queries runs in about 3-4 seconds.
>
> That is much faster than I had expected, I expected an improvement
> only 5-20x times.it
>
>
> Sean
>
> P.S. Like SET I still think that the BOLD tool needs to review how
> constructs its SQL queries -- WHAT A MESS!
>