Giter Club home page Giter Club logo

Comments (4)

wzhsh90 avatar wzhsh90 commented on June 30, 2024

导入数据500*11列,好慢,如果数据再大点就更慢

from gomybatis.

zhuxiujia avatar zhuxiujia commented on June 30, 2024

一次性导入太多就会报错

导入什么数据?
一般来说 prepared statement sql的长度不能太大的

from gomybatis.

wzhsh90 avatar wzhsh90 commented on June 30, 2024

现在还是千多条数据,太多了就不得行

from gomybatis.

zhuxiujia avatar zhuxiujia commented on June 30, 2024

现在还是千多条数据,太多了就不得行

我记得mysql 的sql长度不能超过1MB,还是多少来着,注意控制批量长度就行。
这个不是框架能控制的,换java也是一样的。(ps 你应该去改mysql的配置文件,以增加批量sql数据的长度)
emmmmmm
如果还是不明白,这里有篇博客https://blog.csdn.net/qq_18875541/article/details/69392823

我要关闭这个问题了

from gomybatis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.