Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi Fabric community
We are experiencing intermittent connection failures when performing full data loads using bulk INSERT statements into a SQL Database in Microsoft Fabric.
The error typically occurs during COMMIT, after a large bulk insert has been running successfully for some time.
DBMS error [TCP Provider: Error code 0x68. Communication link failure]. DBMS error number [104]. SQL State [08S01]. DBMS version [12.00.9114]. Driver [Microsoft][ODBC Driver 18 for SQL Server]. Last query [commit].
The bulk insert runs for a while and then fails sporadically, usually:
A simple retry often succeeds but not always, which suggests a transient connectivity issue rather than a data or schema problem.
Questions
We would like to understand whether this can be mitigated on the Fabric SQL Database side, not only in the application:
The goal is to make large one-time full loads via bulk INSERT stable and predictable in Fabric SQL, without relying purely on retries after failed commits.
Any guidance from Microsoft or others running large-scale bulk ingestion into Fabric SQL would be very helpful.
Thanks in advance!
Regards
@Oviwan T
TCP Provider: Error code 0x68 (SQLState 08S01) typically indicates an unexpected connection drop (it can be several different things). To better understand your specific scenario, we would need additional details about the source system and, ideally, its logs as well. In this case, could you please open a support request so we can investigate in more detail?
As general best practices, consider reducing the transaction scope and duration (for example, committing smaller batches), implementing retry logic, and staging the inserts, which can also help improve reliability and performance.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.