Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
SangGyu Jeong asked whether the optimizer's automatic index could be disabled for a customer on 12.10.FC6WE. Gaurav Kumar said it cannot be disabled and suggested adding a permanent index; he also noted temp dbspaces are tried first for building it. Eric Rowell knew of no setting, suggested asking support, and said the FULL directive can avoid it. No parameter was found.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
SangGyu Jeong — source: IBM Community (ConnectedCommunity.org) Informix forum
Hi,
I would like to know if there is a way to prevent autoindex from being constructed when executing a query.
------------------------------
SangGyu Jeong
Software Engineer
Infrasoft
Seoul Korea, Republic of
------------------------------
#Informix
↪ replying to SangGyu Jeong
Gaurav Kumar — source: IBM Community (ConnectedCommunity.org) Informix forum
Hi SangGyu,
As far as I know, we can not disable that because it was created automatically by optimizer.
If the query plan includes an
autoindex
path to a large table, you can generally improve performance by adding an index on that column. If you perform a query regularly, you can save time by creating a permanent index.
If you perform the query occasionally, you can reasonably let the database server build and discard an index.
And may I know the version you are running or you are asking this question in general?
------------------------------
Gaurav Kumar
------------------------------
↪ replying to Gaurav Kumar
SangGyu Jeong — source: IBM Community (ConnectedCommunity.org) Informix forum
Hi Gaurav,
My customer is using version 12.10.FC6WE. They want to know how to avoid automatic index creation when certain queries are executed.
I know that the autoindex feature cannot be controlled, but I just wanted to know if there are any related parameters.
They'd better tune the query (or use directives) or create an index..
------------------------------
SangGyu Jeong
Software Engineer
Infrasoft
Seoul Korea, Republic of
------------------------------
↪ replying to SangGyu Jeong
Gaurav Kumar — source: IBM Community (ConnectedCommunity.org) Informix forum
Hi SangGyu,
The current algorithm checks for temp dbspaces first. If none of the temp dbspaces provides enough space to hold that table the database dbspace or even the
rootdbs is chosen as last resort
------------------------------
Gaurav Kumar
------------------------------
↪ replying to SangGyu Jeong
Eric Rowell — source: IBM Community (ConnectedCommunity.org) Informix forum
I'm not aware of any, maybe ask support. I know this can be avoided by using a directive (FULL).
------------------------------
~~~~~~~~~
Eric Rowell
------------------------------
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.