09 2020 档案

摘要:转自https://tech.meituan.com/2014/06/30/mysql-index.html MySQL索引原理及慢查询优化 2014年06月30日 作者: NeverMore 文章链接 6290字 13分钟阅读 背景 MySQL凭借着出色的性能、低廉的成本、丰富的资源,已经成为绝大 阅读全文
posted @ 2020-09-20 21:12 栖息之鹰 阅读(92) 评论(0) 推荐(0)
摘要:1. 将需要包含表查询并放到临时表中:show tables; 2. 使用下面SQL生成删除不必要表的SQL: select concat('drop table if exists `', a.table_name, '`;') from information_schema.tables a l 阅读全文
posted @ 2020-09-15 08:38 栖息之鹰 阅读(171) 评论(0) 推荐(0)
摘要:以下步骤,经过本人在windows环境下验证 1. MySQL压缩包下载:官网下载地址 (需Oracle账号)2. 解压,初始化:bin\msyqld --defaults-file=my.ini --initialize --console (my.ini为自己定制的配置文件,也可以没有)3. 启 阅读全文
posted @ 2020-09-14 15:02 栖息之鹰 阅读(589) 评论(0) 推荐(0)