Fatal error

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
samsuf2002
Premium Member
Premium Member
Posts: 397
Joined: Wed Apr 12, 2006 2:28 pm
Location: Tennesse

Fatal error

Post by samsuf2002 »

I am running a job which extract data from DB2 stage in which i am joining 3 tables, with a look up using hash file and finally loading into seq file. Table has 7 million records and hash file has 1 million.My job got aborted with this fatal after loading 4 million recs-

"src_cog005_ext_TW1tbl_DSN2..Trn: [IBM][CLI Driver][DB2] SQL0905N Unsuccessful execution due to resource limit being exceeded. Resource name = "ASUTIME", limit = "000000000253" CPU seconds ("000003333000" service units) derived from "SYSIBM.DSNRLST01". SQLSTATE=57014"

SQLFetch: Error retrieving results from server.



Can any one help me onthis. Thanks in advance.
hi sam here
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Your query took too long and the database killed it automatically. Either optimize the query, remove impediments to the flow of data out of the database, or request more time on those tables to run the queries.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
samsuf2002
Premium Member
Premium Member
Posts: 397
Joined: Wed Apr 12, 2006 2:28 pm
Location: Tennesse

Post by samsuf2002 »

Thanks kcbland for your response. My query is just joining 3 tables and as you asked to increase the request time on that query, does it have to do from datastage job or from database side ?
hi sam here
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

totally database
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
savis
Premium Member
Premium Member
Posts: 27
Joined: Tue Apr 15, 2008 11:06 pm

Post by savis »

Hi,

I remember reading somewhere that if the size of the lookup file is too high, the performance goes down.

Instead can you use join?

Thanks,
Saranya
Post Reply