Oracle Temp Table not getting Load ( Seems weird Issue)

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
swades
Premium Member
Premium Member
Posts: 323
Joined: Mon Dec 04, 2006 11:52 pm

Oracle Temp Table not getting Load ( Seems weird Issue)

Post by swades »

I am Straight Loading Temp Table from one Database to other.
I have created this Temp Table By : Generate DDL option.

When I am running the Job, Not a Single record getting Loaded.
I have set Update Action : Clear Table then Insert Rows.

What Strange here is :oops: : When I run the job with Limit of 1000 or 2000 rows, then those rows are get loaded.

Can any one have idea what can be cause of this ?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What is your Commit interval? For testing purposes, try running with rows per transaction and array size set to 1.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
swades
Premium Member
Premium Member
Posts: 323
Joined: Mon Dec 04, 2006 11:52 pm

Post by swades »

Thank you very much Ray,

I have tried, thats working fine BUT job is running very slow.

Above (Earlier Post) behavior is not with other tables of Same Databse.

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

Post by ray.wurlod »

Slow it may be, but suggests that the issue is with these settings. To what values were they set previously? Try increasing judiciously (from 1), making sure at all time that rows per transaction is a multiple of array size.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
swades
Premium Member
Premium Member
Posts: 323
Joined: Mon Dec 04, 2006 11:52 pm

Post by swades »

Thanks Ray,

Previously transaction size was Zero.
But How rows gets loaded when I run job with Limit of 1000 or 3000 or 4000 rows ?

Thanks
narasimha
Charter Member
Charter Member
Posts: 1236
Joined: Fri Oct 22, 2004 8:59 am
Location: Staten Island, NY

Post by narasimha »

swades wrote:Previously transaction size was Zero.
Do you get any warnings/kickouts when you run it with the above settings?
Narasimha Kade

Finding answers is simple, all you need to do is come up with the correct questions.
swades
Premium Member
Premium Member
Posts: 323
Joined: Mon Dec 04, 2006 11:52 pm

Post by swades »

Do you get any warnings/kickouts when you run it with the above settings?
No
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Probably 4000 rows finished quickly enough that there was no timeout before the COMMIT could be sent.
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