本帖最后由 xiner 于 2010-02-23 15:43:59 编辑

解决方案 »

  1.   

    最好设立缓存机制,批量insert,要不然极易令整个表处于锁状态,即使你用innodb
      

  2.   

    100223 15:32:06 [ERROR] D:\非税系统\EXE\DB\bin\mysqld.exe: Out of memory (Needed 2016508 bytes)检查一下你的INI文件中的配置。内存溢出了
      

  3.   

    key_buffer = 256M
    max_allowed_packet = 30M
    table_cache = 1024
    sort_buffer_size = 1M
    read_buffer_size = 4M
    read_rnd_buffer_size = 4M
    myisam_sort_buffer_size = 64M
    thread_cache_size = 8
    query_cache_size= 32M我的INI里的配置,请再指点
      

  4.   


    你的存储引擎是什么,这些参数与mysiam相关的。
      

  5.   

    100223 15:32:06 [ERROR] D:\非税系统\EXE\DB\bin\mysqld.exe: Out of memory (Needed 2016508 bytes) 减小数据库中的参数。