Page 1 of 1

DSX export progress intermittently very slow to start

Posted: Wed Dec 23, 2015 12:30 pm
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?

Posted: Wed Dec 23, 2015 2:47 pm
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.

Posted: Thu Dec 24, 2015 3:51 am
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?

Posted: Tue Dec 29, 2015 12:14 pm
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.

Posted: Fri Jan 01, 2016 1:12 am
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.

Posted: Fri Jan 01, 2016 10:33 am
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.

Posted: Fri Jan 01, 2016 11:00 pm
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.

Posted: Sat Jan 02, 2016 12:01 pm
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?

Posted: Sat Jan 02, 2016 3:14 pm
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.

Posted: Mon Jan 04, 2016 8:27 am
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.

Posted: Mon Jan 04, 2016 9:22 am
by PaulVL
Out of curiosity...

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

$DSHOME/bin/dsadmin -listenv yourproject;

Posted: Tue Jan 05, 2016 8:41 am
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.

Posted: Tue Jan 05, 2016 9:32 am
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?

Posted: Tue Jan 05, 2016 11:47 am
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.

Posted: Tue Jan 05, 2016 12:27 pm
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.