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
相關文章
相關標籤/搜索