尝试从文本文件导入数据到mysql表时抛出System.outofmemoryexception

时间:2017-07-30 06:07:04

标签: mysql vb.net

I have created a table in mysql with one column as unique constriant as >the data which i am importing consists duplicate records
     

我不想导入,因为如果我,表变得非常笨重   导入重复值。如果从表i中删除了唯一约束   能够使用以下代码导入,但抛出错误   将其中一列更改为唯一时System.outofmemoryexception   在一张桌子里。数据文件为10gb,appx行为1,75,00,000。我试过了   dispose方法释放内存但无法成功。

0 个答案:

没有答案