简体   繁体   中英

SQL Server, the best way import 1M records every second?

What is the best way to import 1M records into SQL Server every second?

Namely, I have a large data feed which need to be saved into database. One row has about 75 columns, so it's a really large amount of data.

See Henk's article SQL2008 R2 DCE on a 96 core Unisys ES7000 server with DSI Solid State storage: Bulk Inserting 1 Terabyte within 10 minutes . He gives a really good explanation of how they achieved this.

如果能够实现将取决于几个因素,但是将数据导入sql服务器的最快方法是批量插入(http://msdn.microsoft.com/zh-cn/library/ms188365.aspx)和SSIS包

Throw the feeds into files, then let SQL import them at its leisure.

Unless SQL needs them in real time? In that case you are probably looking at a database residing in some kind of ram disc.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM