Hi,
That looks like you are getting throttled. I will do a couple of test on my end and see if I can't figure out why SQLAzureMW is giving up. One of the things that I would have you look at is in SQLAzureMW.exe.config file. Edit the file and look for this section:
<add key="TimeBetweenChunks" value="15000"/> <!-- Number of miliseconds to sleep between BCP chuncks -->
<add key="ChunkSize" value="500000"/> <!-- Number of records to process per BCP itteration (Uploading to Azure) -->
<add key="BCPArgsIn" value="{0} in {1} -E -n -b 10000 -a 16384"/> <!-- BCP in command parameters -->
<add key="BCPArgsOut" value=""{0}" out {1} -E -n"/> <!-- BCP out command parameters -->
You will note three key areas:
TimeBetweenChunks -- 15000 translates to 15 seconds.
ChunkSize -- This is the total number of records you want to BCP to upload in one try. In this case 500,000 records.
BCPArgsIn -- This is the batch size before BCP send a commit. In this case, BCP commits every 10,000 records.
You can try changing the chunk size to something smaller (say 250000) and change the batch (-b) size to 1000 and see what happens. Also, check in BCPArgsIn and BCPArgsOut and see if you have the -n parameter set? I might have left it at -w. -n is more efficient.
Also, something that will save you time is after the export process, click on the script tab and then hit Save button. Save your scripts. This way, if the import process dies a most horrible death you don't have to go through the export process again, just select the option to run TSQL without Analyzing and select the script that you saved.
So far, in my tests, I have uploaded a little over a million records (from Nashville to the Chicago datacenter). Out of curiosity, which Azure datacenter are you running out of?
Regards,
George
|