摘要: 转自:https://www.aliyun.com/jiaocheng/1396184.html 首先,建立部门表和员工表: 部门表: create table dept( create table dept( id int unsigned primary key auto_increment, 阅读全文
posted @ 2018-07-13 16:29 Sharpest 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/duanxz/archive/2013/02/01/2889413.html 一,查询SQL执行效率 通过show status命令了解各种SQL的执行效率。 ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 阅读全文
posted @ 2018-07-13 16:27 Sharpest 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/fanwencong/p/5765136.html 我用到的数据库为,mysql数据库5.7版本的 1.首先自己准备好数据库表 其实我在插入1000万条数据的时候遇到了一些问题,现在先来解决他们,一开始我插入100万条数据时候报错,控制台的信息如 阅读全文
posted @ 2018-07-13 16:22 Sharpest 阅读(383) 评论(0) 推荐(0) 编辑