MySQL大量数据入库的性能比较

单位IM改版了 用户聊天内容要存放在数据库. 一般JAVA Insert MySQL有如下几种方式 1.自动提交Insert 2.事务提交Insert 3.批量提交 4.使用Load File接口 模拟表结构如下 create table chat_message(     id bigint primary key auto_increment,     src_userid bigint no
相关文章
相关标签/搜索