Operation taking too long

Simon Frey 20 Reputation points
2024-01-18T14:05:01.0933333+00:00

I'm trying to import a large dataset in my sql db and the operation is taking very long to complete. Is this common can we make anything and make it to complete faster.

SQL Server | Other
0 comments No comments
{count} votes

Accepted answer
  1. Azar 29,520 Reputation points MVP Volunteer Moderator
    2024-01-18T14:13:07.0133333+00:00

    Hey you can sconsider the below recomends.

    Try breaking down the import into smaller batches to reducelog time tools like bcp (bulk copy) or the BULK INSERT statement for efficient bulk data loading. Temporarily disable non-clustered indexes and constraints during the import process and rebuild them afterward.

    also try using parallel processing if the import tool or method supports it.

    If this helps kindly accept the answer.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.