Hi,
Thanks for the reply.
1°)
select * from mes where yeardmes = 2003;
Estimated Cost: 665202
Estimated # of Rows Returned: 10938720
1) informix.mes: SEQUENTIAL SCAN (Serial, fragments: 3)
Filters: informix.mes.yeardmes = 2003
If this does not point to fragment 4,
2°)
What does it doe when you:
select * from mes where yeardmes > 2002
Estimated Cost: 665202
Estimated # of Rows Returned: 36462400
1) informix.mes: SEQUENTIAL SCAN (Serial, fragments: 3)
Filters: informix.mes.yeardmes > 2002
3°)
What is the value of your OPTCOMPIND parameter in the $INFORMIXDIR/etc/$ONCONFIG file?
OPTCOMPIND 2
Do you perhaps have OPTIMIZATION LOW?
no
Do you use the first rows parameter?
No
Thanks,
Quote:
Originally posted by Roelwe
This is not expected behaviour...
What happens if you do a select?
select * from mes where yearmes = 2003;
If this does not point to fragment 4,
What does it doe when you:
select * from mes where yearmes > 2002;
What is the value of your OPTCOMPIND parameter in the $INFORMIXDIR/etc/$ONCONFIG file?
Do you perhaps have OPTIMIZATION LOW?
Do you use the first rows parameter?
|