Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Catch up on the newest Qlik features and improvements: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
docpuddu
Creator
Creator

Databricks jdbc 2.7.5. To 3.4.6 dramatic decrease in performance

Hi community,
has anyone experienced a significant slowdown after updating the Databricks JDBC driver from version 2.7.5 to 3.4.6?

Below is our JDBC connection string:


"jdbc:databricks://dbc-497addf5-xxxx.cloud.databricks.com:443/default;
EnableArrow=0;
transportMode=http;
ssl=1;
AuthMech=11;
Auth_Flow=1;
httpPath=/sql/1.0/warehouses/19a4e83560ee47e4;
OAuth2ClientId=xxx;
OAuth2Secret=xxx;
Auth_Scope=sql"

 

Thanks for your contribution,
Andrea

Always available, contact me on LinkedIn!
Labels (3)
1 Reply
docpuddu
Creator
Creator
Author

My findings meanwhile...

<< moving from version 2.7.5 to 3.4.6 is a major architectural shift from the legacy Simba-based driver to Databricks’ new open-source JDBC driver, and several known issues and configuration differences in the 3.x series can cause significant slowdowns >>

For Talend ETL jobs, the slowdown when upgrading from Databricks JDBC 2.7.5 (Simba) to 3.4.6 is almost always caused by how Talend's tDBOutput / tJDBCOutput components interact with batch inserts, Java 17 JVM restrictions in newer Talend Studio/Runtime versions, or how Talend opens/closes connections across subjobs.
Here are the exact fixes tailored for Talend:
 
1. Fix Slow Writes (tDBOutput / tJDBCOutput)
Talend's output components rely on JDBC addBatch() and executeBatch() when "Use Batch Size" is checked (typically defaulted to 10000).
 
 
  • The Problem: In Databricks JDBC 3.x, EnableBatchedInserts defaults to 0 (false), and native parameterized queries are enabled by default. When Talend sends a batch of 10,000 rows, the 3.4.6 driver either rejects batching or executes 10,000 individual INSERT round-trips over REST instead of a single multi-row INSERT.
  • The Fix: In your tDBConnection or tDBOutput Additional JDBC Parameters field, add:
    text
    EnableBatchedInserts=1;EnableNativeParameterizedQuery=0


Adopting these params conf in the jdbc string, has definitely improved our performances.

Anyone here has adopted similar confs? 
Ciao,
Andrea

Always available, contact me on LinkedIn!