Redian新闻
>
How to make import (>200M) faster?
avatar
How to make import (>200M) faster?# Database - 数据库
c*t
1
import cvs file into one table (SQL Server), there are three indexes
created on the table. Is there any way to import faster?
Now it usually takes 30minutes to finish. about 10 minutes load data,
then build indexes (I guess).
avatar
s*n
2
what's the current process?

【在 c**t 的大作中提到】
: import cvs file into one table (SQL Server), there are three indexes
: created on the table. Is there any way to import faster?
: Now it usually takes 30minutes to finish. about 10 minutes load data,
: then build indexes (I guess).

avatar
c*t
3
App ftp csv file onto netshare;
scheduled job to pick the file and run dts
It takes about half an hour to finish the job. >60% to build indexes...
I have turned on "lock table", useless. :-(

【在 s******n 的大作中提到】
: what's the current process?
avatar
s*n
4
Sounds pretty slow to me. Are you dropping the index and rebuilding after
the import?

【在 c**t 的大作中提到】
: App ftp csv file onto netshare;
: scheduled job to pick the file and run dts
: It takes about half an hour to finish the job. >60% to build indexes...
: I have turned on "lock table", useless. :-(

avatar
c*t
5
It will take longer time to rebuild index...

【在 s******n 的大作中提到】
: Sounds pretty slow to me. Are you dropping the index and rebuilding after
: the import?

avatar
s*n
6
DTS is supposed to be the fastest way to get data in. It's actually using the
SQL Server OLE DB IFastload interface to achieve best performance. Assuming
the process is IO-bounded, you may consider storing the data file, index
file, and log file on different disks.

【在 c**t 的大作中提到】
: It will take longer time to rebuild index...
avatar
k*d
7
BCP will be a good choice

【在 c**t 的大作中提到】
: import cvs file into one table (SQL Server), there are three indexes
: created on the table. Is there any way to import faster?
: Now it usually takes 30minutes to finish. about 10 minutes load data,
: then build indexes (I guess).

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。