Ok, I tossed around the idea of where to ask this and decided to put it here...
I'm trying to run an SQL statement through iSeries Navigator. When I do the Explain it says that Creation of an Index Advised is No. but if I hit the toolbar button for Index Advisor it tells me to create an index. It was creating a temporary index over one of the files in my sql statement and tells me to create the index over that file, only if I open the Index Advisor, not in the panel to the right. Over on the right it says not to create an index. So that is the first confusing part.
The next part that is confusing is that I do create the index, but the sql engine still isn't using it and it still tells me the exact same thing as before. I'm a bit confused... Why wouldn't it use it after it told me to create it? Why would it tell me to create it in one spot but not another?
I'm just trying to speed up my sql statement
SHeesh!
I'm trying to run an SQL statement through iSeries Navigator. When I do the Explain it says that Creation of an Index Advised is No. but if I hit the toolbar button for Index Advisor it tells me to create an index. It was creating a temporary index over one of the files in my sql statement and tells me to create the index over that file, only if I open the Index Advisor, not in the panel to the right. Over on the right it says not to create an index. So that is the first confusing part.
The next part that is confusing is that I do create the index, but the sql engine still isn't using it and it still tells me the exact same thing as before. I'm a bit confused... Why wouldn't it use it after it told me to create it? Why would it tell me to create it in one spot but not another?
I'm just trying to speed up my sql statement
SHeesh!




Comment