由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - How to make import (>200M) faster?
相关主题
Import 50GB data from multiple .txt file into MS SQL databasesql server 怎么关掉log
SQL 2008 Create Index vs Rebuild Index (Alter Index)Oracle Group and Index question
SSIS import and export wizard 搞不定了SQL 2000 create index 問題
import data into SQL server面试问题How would you improve table insert performance? (give five or more ideas)
Help - UrgentHelp!Import DB from Access97 to SQLserver 7.0.
能用SQL语句import一个txt 或 xls 文件吗which one is faster? truncate or delete?
mysql rebuild index very slow今夭的面试题
input into accessWhen should I reorganize Index/Rebuuild Index?
相关话题的讨论汇总
话题: import话题: 200m话题: faster话题: indexes话题: file
进入Database版参与讨论
1 (共1页)
c**t
发帖数: 2744
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).
s******n
发帖数: 45
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).

c**t
发帖数: 2744
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?
s******n
发帖数: 45
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. :-(

c**t
发帖数: 2744
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?

s******n
发帖数: 45
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...
k*******d
发帖数: 237
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).

1 (共1页)
进入Database版参与讨论
相关主题
When should I reorganize Index/Rebuuild Index?Help - Urgent
SSIS package import excel, 只能load 255 rows能用SQL语句import一个txt 或 xls 文件吗
骑驴找马记mysql rebuild index very slow
Import data from excel into sql server 2000input into access
Import 50GB data from multiple .txt file into MS SQL databasesql server 怎么关掉log
SQL 2008 Create Index vs Rebuild Index (Alter Index)Oracle Group and Index question
SSIS import and export wizard 搞不定了SQL 2000 create index 問題
import data into SQL server面试问题How would you improve table insert performance? (give five or more ideas)
相关话题的讨论汇总
话题: import话题: 200m话题: faster话题: indexes话题: file