please help me with the issue , i am trying to load the data from db2 to sql server using microsoft ssis package i am using oledb source and oledb destination after loading one million rows it throws below error, there altogether 1 and half million rows, please help me...
[OLE DB Source ] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "IBM OLE DB Provider for DB2" Hresult: 0x80004005 Description: "[DB2/LINUXX8664] SQL4712N The threshold "THRESH_QUERYRUN_TIMEOUT" has been exceeded. Reason code = "9". SQLSTATE=5U026
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "OLE DB Source" (1290) returned error code 0xC0202009. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure.
Best Regards, Guy Przytula
Database Software Consultant
Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
Information Server Datastage Certified http://www.infocura.be
Ask your DBA about the details of the WLM threshold THRESH_QUERYRUN_TIMEOUT,
specifically how many seconds the query must complete within before violating this threshold. Your DBA may advise you to use different credentials or give other options to ensure the query completes within the configured period of time allowed by the threshold.
* verify the access plan on db2 is optimal
to try to complete faster to avoid threshold violations.
* using different credentials that are not
subject to this specific threshold.
* breaking up your job into smaller units of
work, where each smaller batch can complete
faster without violating thresholds, by
fetching smaller chunks of data etc;