mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2026-07-30 01:46:02 +00:00
加速首次初始化导入:关闭逐条提交与唯一性检查,整体批量提交
This commit is contained in:
parent
27da52054f
commit
56461aa3f4
@ -19,6 +19,9 @@ USE `jeecg-boot`;
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
-- 加速首次初始化导入:关闭逐条提交与唯一性检查,整体批量提交
|
||||
SET autocommit = 0;
|
||||
SET unique_checks = 0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for aigc_word_template
|
||||
@ -9896,4 +9899,8 @@ END
|
||||
;;
|
||||
delimiter ;
|
||||
|
||||
-- 统一提交并恢复会话设置
|
||||
COMMIT;
|
||||
SET unique_checks = 1;
|
||||
SET autocommit = 1;
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
Loading…
x
Reference in New Issue
Block a user