I have a table called "performance" with more than 108 million rows.
The table has an index on the following fields:
cl_id
his_date
his_class
his_code
his_type
I am writing a query that uses only
his_class
his_code
his_type
Because of this the query is doing a SEQUENTIAL SCAN instead of using the available INDEX. Hence it is taking lot of time to return the results.
My current informix doesn't support OPTIMIZER DIRECTIVES.
So please help me so that I can use the available index.
The table has an index on the following fields:
cl_id
his_date
his_class
his_code
his_type
I am writing a query that uses only
his_class
his_code
his_type
Because of this the query is doing a SEQUENTIAL SCAN instead of using the available INDEX. Hence it is taking lot of time to return the results.
My current informix doesn't support OPTIMIZER DIRECTIVES.
So please help me so that I can use the available index.