22 Million Records from File to OracleEnterprizeStage

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
skp
Premium Member
Premium Member
Posts: 135
Joined: Wed Dec 26, 2007 1:56 am
Location: India

22 Million Records from File to OracleEnterprizeStage

Post by skp »

Hi all,

I want to load 22 million records from a sequential file to a oracle table.
I design a job as

SeqentialFile ----->OracleTable

But when i run the job , sequential stage was not able to pick huge file which is more than 4 gig.

Please let me know whether we got any other alternate for this scenario

Regards
Sudha
mdbatra
Premium Member
Premium Member
Posts: 175
Joined: Wed Oct 22, 2008 10:01 am
Location: City of London

Post by mdbatra »

1. Divide the input file into 2 parts
2. Try reading them in a single Seq file Stage, if works ..good!
otherwise, use 2 seq files to read the data & then funnel them.
Rgds,
MB
Romy
Participant
Posts: 26
Joined: Thu Nov 13, 2008 3:37 am
Location: Chennai

Post by Romy »

Hi,

You have mentioned that you are not able to view the file using the sequentia stage itself.Better try to divide the file into smaller size and try running the job...
skp
Premium Member
Premium Member
Posts: 135
Joined: Wed Dec 26, 2007 1:56 am
Location: India

Post by skp »

Thanks a lot for your responce,

1)It was told that records will increase by 10% every year on 22 millions.accumalatively.
2)If I want to divide the file into smaller files how would i do it in the datastage.

The other thought is
a)Dividing the file into small files by using a unix script
b)There by using a folder stage pass all the files into the datastage job.

can any one help me on this thought.
mdbatra
Premium Member
Premium Member
Posts: 175
Joined: Wed Oct 22, 2008 10:01 am
Location: City of London

Post by mdbatra »

What's the frequency of the input feed? + i doubt if there is a Folder stage in parallel.
Rgds,
MB
rajngt
Participant
Posts: 32
Joined: Wed Jan 04, 2006 6:22 am

Post by rajngt »

Based on your design it seems that you are doing only insert, in that case go for Oracle Load option, instead of DataStage.
swapnilverma
Participant
Posts: 135
Joined: Tue Aug 14, 2007 4:27 am
Location: Mumbai

Post by swapnilverma »

Use FileSet instead of sequential file stage.

Hope that will help
Thanks
Swapnil

"Whenever you find whole world against you just turn around and Lead the world"
Post Reply