Very slow performance
See original GitHub issueHi All,
Config - Databricks 6.6 (Spark 2.45) Target - Azure SQL DB Premium P4
This connector , code
FLOC_VW.write \ .format("com.microsoft.sqlserver.jdbc.spark") \ .mode("overwrite") \ .option("url", url) \ .option("dbtable", tableName) \ .option("user", Username) \ .option("password", Password) \ .option("BEST_EFFORT","true") \ .option("tabLock","true") \ .save()
Minutes taken - 53 on Average
Same configuration but - spark connector - Performance 4x faster <10 mins of average
Any suggestions where it could be going wrong?
Issue Analytics
- State:
- Created 3 years ago
- Comments:19 (6 by maintainers)
Top Results From Across the Web
Why Your Computer Is So Slow and How To Fix It - Crucial.com
1. Identify programs that slow down your computer. 2. Check your web browser and internet connection. 3. Defragment your hard disk drive
Read more >My Computer is Running Slow, What Steps Can I Do to Fix It?
My computer is running slow, what steps can I do to fix it? · Reboot · Background programs · Delete temp files ·...
Read more >PC running slow? Here's how to speed things up - CNET
Three more common reasons for a slow PC · Antivirus scans · Too many apps are running at login · Some web browsers...
Read more >15 Reasons Your Computer Is Slow & How to Fix It! [Vintage]
15 Reasons Your Computer Is Running Slow & What You Can Do to Fix It · 1. Need To Restart · 2. Too...
Read more >Why your PC is so slow... and how you can speed it up
Why is my computer so slow? · Running out of RAM (Random Access Memory) · Running out of disk drive space (HDD or...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I ran a benchmark comparing timing by inserting 50 million records in databases with different indexing strategy. You can find it here. Scroll down to the bottom so see comparison between old and new connector.
After disabling the schema check both of the connectors are comparable in performance. Thanks @shivsood for helping out. I will update my blog during this weekend.