如何从excel到sql server导入超过800k记录的数据 [英] how to import data more than 800k records from excel to sql server
本文介绍了如何从excel到sql server导入超过800k记录的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你可以帮我解决这个问题。事件我尝试了导入和导出数据并运行SSIS包,但只插入了21148条记录。
我在excel文件中有807581条记录。
是否有任何进口记录限制或任何遗漏。
问候
Rafi
Hi,
can you please help me out this issue. Event I tried out Import and Export Data and run the SSIS package also, but 21148 records only inserted.
I have records 807581 in excel file.
Is there any limitation of the records to import or any missed out.
Regards
Rafi
推荐答案
我已经通过CSV文件导入了记录。
谢谢大家回复。
问候
Rafi
I have imported the records through CSV file.
Thank you guys for responded.
Regards
Rafi
Ace驱动程序使用了相当多的内存,所以当你的excelfile超过一定的限制时(这就是系统)它将尝试缓存到光盘。
如果我没记错的话,此缓存的路径是AppData下的临时Internet文件。
因此,如果帐户SSIS正在运行在,你的服务器上没有配置文件(这通常是这种情况)它将无法写入缓存。
最简单的解决方法你已经发现,从制表符分隔文件导入。
The Ace driver uses quite a lot of memory, so when your excelfile exceeds a certain limit (which is system dependent) it will try to cache to disc.
If I recall correctly, the path to this cache is Temporary Internet Files under AppData.
So if the account SSIS is running under, is not having a profile on your server (this is usually the case) it will not be able to write to the cache.
The simplest workaround you have already discovered, import from a tab delimited file.
https://youtu.be/mReh1-FrlR8 [ ^ ]
这篇关于如何从excel到sql server导入超过800k记录的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文