Subject | Re: [firebird-support] Re: Compound Index |
---|---|
Author | Arno Brinkman |
Post date | 2007-05-03T16:04:26Z |
Hi,
If yes, i miss something here.
Column1 and Column2 are integer fields?
Do you've an ODS 11 database (created in FB2)?
Can you prepare a simple database where this is reproducable (only the table you meantion)?
Regards,
Arno Brinkman
ABVisie
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
General database development support:
http://www.databasedevelopmentforum.com
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 Firebird and Interbase users :
firebird-support@yahoogroups.com
Nederlandse firebird nieuwsgroep :
news://newsgroups.firebirdsql.info
>> As Ivan already suggested what is the nr. of reads if you use thisAnd the returned PLAN is "PLAN (MY_TABLE ORDER MY_INDEX INDEX (MY_INDEX))"?
> query :
>>
>> SELECT FIRST 10 * FROM MY_TABLE WHERE COLUMN1 >= 101 ORDER BY
> COLUMN1, COLUMN2
>>
>
> I've tried this. The number of reads is 90320. The time is 23 seconds.
If yes, i miss something here.
Column1 and Column2 are integer fields?
Do you've an ODS 11 database (created in FB2)?
Can you prepare a simple database where this is reproducable (only the table you meantion)?
Regards,
Arno Brinkman
ABVisie
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
General database development support:
http://www.databasedevelopmentforum.com
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 Firebird and Interbase users :
firebird-support@yahoogroups.com
Nederlandse firebird nieuwsgroep :
news://newsgroups.firebirdsql.info