"orchadmin copy" command failing

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
koti9
Participant
Posts: 52
Joined: Wed Nov 09, 2005 10:51 am

"orchadmin copy" command failing

Post by koti9 »

Hello All,

I am trying to copy a dataset using orchadmin copy command.Though the source dataset is of 160GB,(Counted the data file bytes), orchadmin copy command is making a file bigger than target file of 480GB(Again counted the data file bytes) and failing with no space on device-3times the size of source file. My command is pretty straight forward.

Code: Select all

 $APT_ORCHHOME/bin/orchadmin copy sourcedataset.ds targetdataset.ds
Did anyone face this issue? Please let me know

Thanks & Regards
Koti
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

I did a quick test on a much smaller 80 MB data set. The new copy was 106 MB.
Choose a job you love, and you will never have to work a day in your life. - Confucius
Mike
Premium Member
Premium Member
Posts: 1021
Joined: Sun Mar 03, 2002 6:01 pm
Location: Tampa, FL

Post by Mike »

Sounds potentially like that old varied behavior with datasets sometimes storing varchar with fixed sizes. Maybe orchadmin copy defaults to that behavior.

You could try setting the environment variable that controls the behavior.

Raise the issue with your support provider.

You could always create a generic DataStage job to copy datasets.

Mike
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

This may help...
-craig

"You can never have too many knives" -- Logan Nine Fingers
koti9
Participant
Posts: 52
Joined: Wed Nov 09, 2005 10:51 am

Thanks for your help

Post by koti9 »

Craig
you rock....Thanks for your help
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

For what it's worth, I tested orchadmin copy again after setting APT_COMPRESS_BOUNDED_FIELDS=1 and still got the inflated result on disk. I'm on version 11.3.1.2. Perhaps the orchadmin command does not honor the environment variable.
Choose a job you love, and you will never have to work a day in your life. - Confucius
Post Reply