Hi, I would like to know if an index created in qtemp is shared by other jobs? My understanding is it wouldn't but couldn't find any literature to support this.
And, if I execute the create index statement on a huge file should I expect the statement to run longer? Or does it run behind the scene and release my interactive session. We created some indexes as advised by DB2 but didn't seem to have any effect on the query. The index showed up in open files but no IO operations there. After few minutes we reran the query and it ran faster this time. Index advisor did mention that the estimated index creation time is 10 minutes. Does that mean that the first time the query was run the index was not used by DB2 as it is still being built?
Is there any no cost tool that I can use for performance analysis. No visual explain.
TIA
Regards
And, if I execute the create index statement on a huge file should I expect the statement to run longer? Or does it run behind the scene and release my interactive session. We created some indexes as advised by DB2 but didn't seem to have any effect on the query. The index showed up in open files but no IO operations there. After few minutes we reran the query and it ran faster this time. Index advisor did mention that the estimated index creation time is 10 minutes. Does that mean that the first time the query was run the index was not used by DB2 as it is still being built?
Is there any no cost tool that I can use for performance analysis. No visual explain.
TIA
Regards
Comment