DSX export progress intermittently very slow to start

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

DSX export progress intermittently very slow to start

Post by qt_ky »

Sometimes DSX export progress is very slow, sometimes there is no delay.

When slow, it will appear to hang for several minutes on the "Export progress" window, which says, "Getting list of dependent items......" then all of a sudden there is rapid movement and in a matter of seconds it will finish.

The slowness is not related to project size, as it can happen even in a new project with less than 10 jobs.

Any ideas what may cause such a long hang time at this point, and how to resolve it?
Choose a job you love, and you will never have to work a day in your life. - Confucius
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

If this happens from various client machine, Could be possible that the temp folders are full or almost full.
Try clearing those, and along with it, do the clean up of COMO and PH folders.
Its also worth doing a reindex of the project. Make sure you follow the steps in doing it.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

I've noticed the long time it takes to track down dependencies on some projects as well, but have never encountered that issue in a small project. Can you uncheck the dependencies and see if that is the only cause of the slowdown?
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Thanks for all the suggestions. I do have a script that clears these various things out every week, from every project.

/tmp is only 5% used.

&PH& contains only 20 files.

&COMO& contains only 3 files.

reindex the project - it is a brand new project having only 10 objects imported into it. I have not tried to reindex it, as I just created it.

With "Include dependent items" checked, there is a delay of just over 16 minutes on "Export progress" window saying "Getting list of dependent items......".

With "Include dependent items" unchecked, there is no delay, and the total export time is under 10 seconds.

So it does appear that checking "Include dependent items" is the only cause of the slowdown. Still, I would like to find the root cause and the resolution. I have opened a PMR about it as well.
Choose a job you love, and you will never have to work a day in your life. - Confucius
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The root cause is getting the list of dependent items. There is no smart way to do this because there is no a priori knowledge of the items you have selected for export. Therefore, for each of those items, the exporter has to search (relevant object types) in the entire project repository.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

That makes sense. However, the project is new and contains only 7 jobs. Since the project contains very few objects that would have to be searched, I am guessing that the actual behavior is that it is inefficiently searching all projects across the server. Support is having me turn on server tracing at the project level and 2 types of client tracing. I will update this topic with any findings.
Choose a job you love, and you will never have to work a day in your life. - Confucius
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The search is only ever within the project from which the export is being performed. Objects in other projects cannot participate in dependency relationships with objects in the current project.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
asorrell
Posts: 1707
Joined: Fri Apr 04, 2003 2:00 pm
Location: Colleyville, Texas

Post by asorrell »

ray.wurlod wrote:The search is only ever within the project from which the export is being performed.
Actually Ray, due to a bug, that may not be true if they are using DataStage 11.3.1+ and Oracle. IBM did a less than spectacular job of implementing the XMETA database on Oracle. As one of the very first Oracle XMETA 11.3 installs, we saw consistent extremely slow exports with long start-up times.

Our DBA's monitored some of the exports and realized that there were some large complete table scans going on in XMETA. Due to a bug, it was scanning the entire XMETA database (all projects). We reported it to IBM as a PMR, but they said it would be a while before it could be fixed. Our DBA then put some indexes in place to help mitigate the problem. Unfortunately, I'm no longer at that company and I don't remember which tables / columns needed the indexes.

So - are you using 11.3.1+ with Oracle?
Andy Sorrell
Certified DataStage Consultant
IBM Analytics Champion 2009 - 2020
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Not at the moment. Currently on 8.5 with DB2. :(

Just before the break I installed an 11.3.1 system (with FP2) using SQL Server as the repository database. But there's nothing there to export yet.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

I am on 11.3.1.2 using the bundled DB2 as the repository. Perhaps it is the same bug regardless of the database. We'll see.
Choose a job you love, and you will never have to work a day in your life. - Confucius
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

Out of curiosity...

I'm wondering if the following command is also slow:

$DSHOME/bin/dsadmin -listenv yourproject;
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

The first run of that command took about 15 seconds to respond. Subsequent commands took about 3 to 4 seconds each.

I found the same behavior and timings on another server, different project.

Not sure this is related, but the WAS startup times are also quite slow on these same servers, with slow meaning around 17-18 minutes instead of the usual 3-5 minutes.
Choose a job you love, and you will never have to work a day in your life. - Confucius
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

When doing the exports, are you using credentials "-user -pass -domain, etc..." or just a straight extract using no LDAP lookup via WAS?
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

These exports are done via Designer's export menu (no command line). All server tiers are on the same computer. OS is AIX. User registry is local OS authenticated (no LDAP). I've ruled out my client tier. The export is slow from multiple clients.
Choose a job you love, and you will never have to work a day in your life. - Confucius
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

AIX hosts are set up on LPARs on the physical machine. Ask your HW guys if the box is pegged during your slow period.

Memory consumption on the host, network IO, etc...

You should also ask them if the other LPARs on that machine are also getting hammered.

When I was out near Boston, one of our AIX machines was cabled up to the 10Gb network cards, but internally to AIX , the LPAR was configured to use 1Gb network speed to the actual card via the internal LAN. Might want to ask your HW guys that too.


You should also try to run an isx export via the command line just to see that speed.
Post Reply