rpl_loaddatalocal.result
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:0k
源码类别:
MySQL数据库
开发平台:
Visual C++
- stop slave;
- drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
- reset master;
- reset slave;
- drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
- start slave;
- create table t1(a int);
- select * into outfile '../../var/master-data/rpl_loaddatalocal.select_outfile' from t1;
- truncate table t1;
- load data local infile './var/master-data/rpl_loaddatalocal.select_outfile' into table t1;
- select a,count(*) from t1 group by a;
- a count(*)
- 1 10000
- drop table t1;