Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2013
    Posts
    1

    Unanswered: DB2 to SQL server using ssis isue

    Hello All,

    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 [1290]] 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.


    Thank you in advance
    Milan

  2. #2
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    if there is a client installed : in db2cli.ini there is a setting for query timeout interval...
    some info at
    QueryTimeoutInterval CLI/ODBC configuration keyword - IBM DB2 9.7 for Linux, UNIX, and Windows
    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

  3. #3
    Join Date
    Apr 2012
    Posts
    1,034
    Provided Answers: 18
    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.

    Options include:
    * 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;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •