Clustered indexes on non-identity columns to speed up bulk inserts?

后端 未结 6 576
名媛妹妹
名媛妹妹 2020-12-10 16:16

My two questions are:

  • Can I use clustered indexes to speed up bulk inserts in big tables?
  • Can I then still efficiently use foreign key relationships i
6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-10 16:44

    i've been playing around with some etl stuff the last little bit. i went through jsut regularly inserting into the table, then removing and readding indexes before and after the insert, tried merge statements, then i finally tried ssis. I'm sold on ssis. Just yesterday i managed to cut an etl process (~24 million records, ~6gb) from ~1-1 1/2 hours per run to ~24 minutes, jsut by letting ssis handle the inserts.

    i believe with advanced services you should be able to use ssis.

提交回复
热议问题