Comments
2 comments
-
Of course, right after I posted I found a solution....I changed the 3 Foreign Key columns on the table to 'Foreign Key Manual' and the time is back down to a few seconds. Before it was on 'Foreign Key Automatic' and it was taking 20-25 minutes.
-
I'm glad to hear you've found a workaround, @sbendayan!
It is odd that the 'Foreign Key Automatic' option was causing such a slowdown. I wonder if the table/column that you used manually was significantly smaller than the one used automatically? If you'd like to continue troubleshooting it, please let us know!
Add comment
Please sign in to leave a comment.
I don't see any blocking in SQL Server nor do I see any high CPU, Memory, or Disk usage on my machine.
The only strange thing that has happened to my machine in the last week or so is that I'm having permissions issues when BCP'ing data...not sure if this is related. I solved the problem by granting permissions to certain directories at the OS level.
I tried upgrading to SQL Data Generator 4 but it has the same problem.