Hi,
Here some info:
The cost is calculated as follows:
Cost = number of I/O's + (number of rows proccessed * fudge factor)
Fudge factor = 0.03 (fixed value)
The most important parameter is OPTCOMPIND. This will tell if informix will examine all possibilities (2) or if only index scans are examinded if possible (0).
Hope this helps a bit,
Rob Prop