problem loading huge data into dataset

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
Nareshkotti
Participant
Posts: 16
Joined: Thu Sep 08, 2011 8:29 am
Location: hyderabad

problem loading huge data into dataset

Post by Nareshkotti »

Hi All,
I want to write huge amount of data from a table into a dataset.
Number of records are almost equal to 17crores.

After loading 11crore records job is getting aborted. I'm getting the below errors

TGT_RM_IMAGE_LOC: ODBC function "SQLEndTran(SQL_ROLLBACK)" reported: SQLSTATE = 08S01: Native Error Code = 0: Msg = [IBM(DataDirect OEM)][ODBC Oracle Wire Protocol driver]Socket closed.

TGT_RM_IMAGE_LOC: [IIS-CONN-ODBC-000004] ODBC function "SQLEndTran(SQL_ROLLBACK)" reported: SQLSTATE = 08S01: Native Error Code = -4: Msg = [IBM(DataDirect OEM)][ODBC Oracle Wire Protocol driver][Oracle]Connection Dead. (CC_OdbcConnection::rollback, file CC_OdbcConnection.cpp, line 953)

Job design:
ODBC---->COPY STAGE--->DATASET

can someone help me out.

Thanks in advance.
Naresh
DataStage Developer
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It's nothing to do with the Data Set. Your connection to Oracle is dead. You need to investigate that.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

And fyi: cores have nothing to do with data volume.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

PaulVL wrote:And fyi: cores have nothing to do with data volume.
They said crores not "cores". :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Post by PaulVL »

I think my reply may have been affected by 17 Coors.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

:lol:
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

That's over a hexadeciCoors !
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Nareshkotti
Participant
Posts: 16
Joined: Thu Sep 08, 2011 8:29 am
Location: hyderabad

Post by Nareshkotti »

Hi ray,

The issue got resolved, but i used fileset instead of dataset then the job ran successfully.

The job nearly took 12hrs to complete, can you suggest any other alternative so that it will take less time, again i need to use this data as a reference in other job.
Naresh
DataStage Developer
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Use a Data Set. The operator is copy (whereas it's export for a File Set), which is bound to be more efficient.

The problem was with Oracle, not with your chosen staging technique,
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply