Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BulkInsertorUpdateAsync would timeout 3 out of 5 times for very large set of data #445

Closed
rdasgupta7141 opened this issue Dec 31, 2020 · 1 comment
Labels

Comments

@rdasgupta7141
Copy link

We are trying to upload large number of data from an excel sheet.<300k.
It works only 2 out of 3 times. It times out. I am guessing some timing out issue. Any ideas what might be up or if there is any setting in BulkConfig setting that we need to set values for. I set timeout =0 but still it does not help. I do see some deadlock in the sql profiler.

@borisdj
Copy link
Owner

borisdj commented Feb 7, 2021

You can test with different BulkConfig settings, specifically
BatchSize, BulkCopyTimeout, TrackingEntities, WithHoldlock;
SqlBulkCopyOptions Flags with one or more options:
Default, KeepIdentity, CheckConstraints, TableLock, KeepNulls, FireTriggers, UseInternalTransaction

Also here is more info on DeadLock #46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants