Forum Discussion

Fern_21's avatar
Fern_21
Helper V
11 months ago
Solved

Error with ODBC connection

Hi all!

I’m connecting to an Oracle table in Power BI using an ODBC connector. The table contains 900,000 records. Why am I getting this error?

Thanks

 

 

  • Hi Fern_21 ,

    Likely causes:

    Long-running query: Large table or complex query causes the ODBC driver/Oracle to time out.
    Default timeout settings: Both the ODBC data source and Power BI have timeouts that may be too low for the initial load.
    Memory/size limits: Power BI Desktop may struggle with very large result sets; loading all 900k rows at once can blow memory.
    Network/infrastructure timeout: If you’re connecting to a remote Oracle instance, network latency can trigger timeouts.
    Inefficient query: Selecting all columns or using functions in Oracle can slow things down.


    Steps you can try to fix:

    Load only needed data
    Break the load into smaller chunks,
    Use filtering (WHERE clause) to load a subset (e.g., by date ranges or partitions).
    If you need all data later, load in stages and append or use incremental refresh.

     

    Please mark this post as solution if it helps you. Appreciate Kudos.

4 Replies

  • v-priyankata's avatar
    v-priyankata
    Community Support

    Hi Fern_21 

    Thank you for reaching out to the Microsoft Fabric Forum Community.

    FarhanJeelani Thanks for the information.

    I hope the information provided by user was helpful. If you still have questions, please don't hesitate to reach out to the community.

     

    • v-priyankata's avatar
      v-priyankata
      Community Support

      Hi Fern_21 

      I wanted to check if you had the opportunity to review the information provided by user. Please feel free to contact us if you have any further questions.

      • v-priyankata's avatar
        v-priyankata
        Community Support

        Hi Fern_21 

        Hope everything’s going smoothly on your end. I wanted to check if the issue got sorted. if you have any other issues please reach community.

         

  • Hi Fern_21 ,

    Likely causes:

    Long-running query: Large table or complex query causes the ODBC driver/Oracle to time out.
    Default timeout settings: Both the ODBC data source and Power BI have timeouts that may be too low for the initial load.
    Memory/size limits: Power BI Desktop may struggle with very large result sets; loading all 900k rows at once can blow memory.
    Network/infrastructure timeout: If you’re connecting to a remote Oracle instance, network latency can trigger timeouts.
    Inefficient query: Selecting all columns or using functions in Oracle can slow things down.


    Steps you can try to fix:

    Load only needed data
    Break the load into smaller chunks,
    Use filtering (WHERE clause) to load a subset (e.g., by date ranges or partitions).
    If you need all data later, load in stages and append or use incremental refresh.

     

    Please mark this post as solution if it helps you. Appreciate Kudos.