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.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group