MySQL 版本是5.0.27-community-nt
数据库驱动:用的是 MySQL.Data.Dll 版本是1.0.10.1
插入10W条记录要花费 半个小时的时间但是据微软专家测试
MySQL.Data.Dll 插入只需要17秒

ODBC.net需要24秒
为什么我在我电脑上测试 却花费了半个小时的时间呢 搞不懂
是不是MySql.Data.Dll版本太低呢 希望哪位达人能帮我解惑

解决方案 »

  1.   

    可能的问题:
    机器瓶颈,mysql配置文件没有设好,表的key长度太大,内存不能完全放下可以考虑锁表插入,不用加key,需要的时候再加。
      

  2.   

    The wrong method ,the incorrect insert statement.
    We can not help you until you post more details,such as structure of your scheme,the way you inserted.
      

  3.   

    哈,不错,开始搞英语了。我也学习。1 table structure,
    2 the box RAM,DISK,CPU