标签:大文件 material isolation HERE export sof data mat level
--导入大文件30G文件到mysql
1、修改配置
innodb_flush_log_at_trx_commit=0
2、导入时的注意事项
set autocommit=1;
show variables like ‘autocommit‘;
set names utf8;
source f://file.sql;
3、过程中查看导入的数量
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED ;
SELECT count(id) FROM TABLE_NAME ;
COMMIT ;
select table_schema,table_name,table_type,table_rows
from information_schema.tables where table_name=‘tm_work_material‘
4、sqlserver 导入mysql
https://docs.microsoft.com/zh-cn/sql/integration-services/import-export-data/connect-to-a-mysql-data-source-sql-server-import-and-export-wizard?view=sql-server-2017
5、关键步骤
标签:大文件 material isolation HERE export sof data mat level
原文地址:https://www.cnblogs.com/kuailewangzi1212/p/11067695.html