I am implementing an A/B/View scenario, meaning that the View points to table A, while table B is updated, then a switch occurs and the view points to table B while table A is loaded.
The switch occurs daily. There are millions of rows to update and thousands of users looking at the view. I am on SQL Server 2012.
My questions are:
- 可能な限り最速の方法で別のテーブルからテーブルにデータを挿入するにはどうすればよいですか? (ストアド プロシージャ内)
- BULK INSERT を使用する方法はありますか? または、通常の挿入/選択を使用するのが最速の方法ですか?