Connection has been idle for longer than system defined threshold

During big (~5GB) INSERT INTO ... SELECT statement execution I always get "Connection has been idle for longer than system defined threshold." error.

What could be the reason for that?

December 10th, 2013 8:59am

most likely, it's been throttled.

you might want to break down your insert into smaller chunks.

Free Windows Admin Tool Kit Click here and download it now
December 10th, 2013 12:03pm

most likely, it's been throttled.

you might want to break down your insert into smaller chunks.

December 10th, 2013 12:03pm

most likely, it's been throttled.

you might want to break down your insert into smaller chunks.

Free Windows Admin Tool Kit Click here and download it now
December 10th, 2013 12:03pm

Hi Eugene,

According to your description, we need to verify the edition of your SQL Azure database, and if the size of the database reaches its MAXSIZE, you cannot insert or update data. In addition, when databases encounter resource shortages, they will trigger connection-loss.  There are some throttling limits, you need to notice them. Such as, worker threads, sessions, database size,  physical database space, type of requests throttled and so on. In this case, I recommend you can reduce the size of data in the transaction, and split the operation into multiple transactions.

For more information, see: Windows Azure SQL Database Connection Management, and Inserting Large Amounts of Data Into Windows Azure SQL Database.

Thanks,
Sofiya Li

December 11th, 2013 8:30am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics