Subject Re: [firebird-support] Re: not null in statement very slow
Author Arno Brinkman
Hi,

> > Then you've a index on DELDATE and also you've many NULLs in that
> table,
> > right?
>
> Yes there's an index on DELDATE but there are only 5 NULLs of about
> 25000 records...

Wow, then i'm missing something here.

Could you give the statistics info from index DELDATE ?
You can retrieve it for example with :
gstat.exe <database-filename> -i -username sysdba -password masterkey -t
MOV_ORDERS -t MOV_ORDERS_POSITIONS

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://80.126.130.81