-
Notifications
You must be signed in to change notification settings - Fork 438
Description
Driver version
13.1.1 pre-release
SQL Server version
Microsoft SQL Server 2019 (RTM-CU32-GDR) (KB5058722) - 15.0.4435.7 (X64) Jun 9 2025 18:36:12 Copyright (C) 2019 Microsoft Corporation Developer Edition (64-bit) on Windows Server 2019 Standard 10.0 (Build 17763: ) (Hypervisor)
Client Operating System
Windows 11 pro (24H2, Microsoft Windows [Version 10.0.26100.4652])
JAVA/JVM version
openjdk version "21.0.5" 2024-10-15 LTS
OpenJDK Runtime Environment Temurin-21.0.5+11 (build 21.0.5+11-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.5+11 (build 21.0.5+11-LTS, mixed mode, sharing)
Problem description
Testing driver version 13.1.1 pre-release with bulk copy feature. Compared to 12.10.0 the driver is slower:
- about 10 % slower by just exchanging the driver files (jar, dll)
- about 50 % slower when enabling bulkCopy feature (;useBulkCopyForBatchInsert=true)
(These are tests with our big application saving thousands ... to millions of records.)
Expected behavior
Especially bulk copy should increase the speed.
Actual behavior
Even without bulkCopy enabled, the new driver is slower.
Error message/stack trace
none
Any other details that can be helpful
See #2527 (comment)
JDBC params:
...integratedSecurity=true;encrypt=true;trustServerCertificate=true;sendStringParametersAsUnicode=false;useBulkCopyForBatchInsert=true;sendTemporalDataTypesAsStringForBulkCopy=false;cacheBulkCopyMetadata=true