Hello,
We have some projects with over 1,000 jobs. If you go into Directory with categories turned off it can take up to 3 minutes for Directory to display the job information. Does anyone know if there is a way of getting Director to use an INDEX to speed up this process.
Thanks and Regards,
Steve Benghiat
Director job indexing
Moderators: chulett, rschirm, roy
No such thing, really. Curious, though, why you would be turning off categories in the Director? If there is a particular reason you are doing that (rather than just being a glutton for punishment) we should be able to help you find an alternate approach.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
I had a similar case a while ago where the project had so many entries that, even with categories, the refresh would take minutes. I traced all the calls that I could find and added a number of column indices (I think at one point I added a secondary index for every column in the main tables) and could never get the refresh to go appreciably faster.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Of course not. The query optimizer will disable the use of indices since a full table scan is required anyway (assuming no Filter is applied). Using indices in this case would only increase the I/O cost.
Actually an index on NAME may help if the current setting is sort by name.
Actually an index on NAME may help if the current setting is sort by name.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
The refresh of the director log turns out to be coded directly and doesn't use the UV query mechanism at all, so the indices aren't used and there is no query optimizer involved either. It basic does a SELECT...
The abyssmal performance of the director with lots of objects has been an enhancement GTAR since Version 1.0 of DataStage and it has never been successfully adressed. I haven't looked at a large project at Version 8.x yet, but I suspect that nothing has changed there either.
The abyssmal performance of the director with lots of objects has been an enhancement GTAR since Version 1.0 of DataStage and it has never been successfully adressed. I haven't looked at a large project at Version 8.x yet, but I suspect that nothing has changed there either.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>