cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Ingesting more than 7 million rows into a SQL Server Table

umair_hanif
New Contributor II

Hi All, I hope you're super well.

I need your recommendations and solution for my problem.

I am using a Databricks instance DS12_v2 which has 28GB RAM and 4 cores. I am ingesting 7.2 million rows into a SQL Server table and it is taking 57 min - 1 hour 3 minutes just for ingesting the data.

Can you please recommend a solution so that I can decrease this to 35 mins or 40 mins with the existing hardware?

2 REPLIES 2

Anonymous
Not applicable

Hi @Umair Hanif​ 

Great to meet you, and thanks for your question!

Let's see if your peers in the community have an answer to your question. Thanks.

Anonymous
Not applicable

You can try to use BULK INSERT.

https://learn.microsoft.com/en-us/sql/t-sql/statements/bulk-insert-transact-sql?view=sql-server-ver1...

Also using Data Factory instead of Databricks for the copy can be helpful.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now