随笔分类 -  数据库

mysql 索引
摘要:1) 全文索引 (MyISAM存储引擎) select * from tablename where match(field) against('text'); 使用模糊查询 默认空格分割 2) 外健索引 (Innodb存储引擎) show variables like '%slow%' -->lo 阅读全文

posted @ 2019-01-22 11:32 xiaoliwm 阅读(62) 评论(0) 推荐(0) 编辑

mysql_事物
摘要:1) set autocommit=0 关闭自动提交 插入修改,只有commit 才最终存入 2) start transaction commit/rollback 3) show variables like '%commit%' 4) 触发器: create trigger name afte 阅读全文

posted @ 2019-01-17 16:15 xiaoliwm 阅读(61) 评论(0) 推荐(0) 编辑

mysql
摘要:1. 查看进程 show full processlist 2. 查看主数据库状态 show master status 主从复制参考网页: https://www.cnblogs.com/luckcs/articles/2543607.html 3. mysqladmin -uroot -padm 阅读全文

posted @ 2018-11-08 15:26 xiaoliwm 阅读(68) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示