Sql-server – Large insert/update in table causes timeout while SQL Server re-arrange indexes

bulkindexingsql servertimeout

We insert/delete about 1 million rows of a two million rows table with SSIS.

We have 20 indexes on this table.

Right after the SSIS finished, we're experiencing timeouts in the frontend.
The timeouts eventually go away.

I'm suspecting the indexes are causing this during re reorganisation of them.

What can we do?

Best Answer

The indexes are updated as the data is updated, index updates are synchronous.

Now updating statistics is an asynchronous operation. After the data update is done manually do an update statistics on the tables in question.