Hi All,
I have created one job to load the data from source to target. When i have loaded the data from one schema(which contains 110000 records).it was working fine. But i have started loading data from other schema(which contains 120 million records), it has started fetching at good speed but after some time it was very slow.....and stoped fetching from the source. and now when i am running same job its even not fetching single record...its keep on running.
Can any one plz tell me what could be the problem.
Thanks in Advance
stiwari
Not able to fetch any record.
Moderators: chulett, rschirm, roy
Stiwari - what is your source and what is your target? How many nodes in your configuration? When you say that no records are being read are you sure that this is not because of an inability to write - meaning change your output to be a /dev/null sequential file or a PEEK stage.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
So now you know the problem is the READ. What read method are you using? What happens if you go to single node? Is your DB/2 database partitioned?
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
And if you do a command line "db2 connect..." "db2 set schema..." and then "db2 {yoursqlquery}" does it work and return results?
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Charter Member
- Posts: 560
- Joined: Wed Jul 13, 2005 5:36 am
- Location: Ohio
Re: Not able to fetch any record.
Are you using DB2 bulk loader for this? your job is slowing down as it has many warnings attached to it. the more records you feed to the job without resolving the warnings the more time it will take to finish.stiwari wrote:Hi All,
I have created one job to load the data from source to target. When i have loaded the data from one schema(which contains 110000 records).it was working fine. But i have started loading data from other schema(which contains 120 million records), it has started fetching at good speed but after some time it was very slow.....and stoped fetching from the source. and now when i am running same job its even not fetching single record...its keep on running.
Can any one plz tell me what could be the problem.
Thanks in Advance
stiwari
basically it logs atll the warnings in the file you have specified in DB2 bulk load "Local message file name" parameter. try and read the file. resolve all warnings.