![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
craywen
越努力,越幸运。
展开
-
MYSQL主从模式搭建
mysql 主从模式搭建主从模式的优点有如下几点:主库出现问题,可以快速切换到从库提供服务。可以在从库上执行查询操作,从主库中更新。实现读写分离可以在从库中执行备份,以避免备份期间影响主库的服务。下载资源包centos7 x64mysql 5.7.20(压缩版)wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.20-linux-glibc2.12-x86_64.tar.gz这边整理一下几个目录:在 /usr/lo原创 2020-09-11 17:03:24 · 827 阅读 · 0 评论 -
Mysql解决锁冲突
前运行的所有事务select * from information_schema.innodb_trx当前出现的锁select * from information_schema.innodb_locks锁等待的对应关系select * from information_schema.innodb_lock_waitsmysql -uroot -pkill threadId通过找到线程id号,进行kill...原创 2020-06-05 16:20:26 · 861 阅读 · 0 评论 -
数据库三范式
数据库三范式定义https://blog.csdn.net/q957967519/article/details/81910547转载 2020-01-17 00:05:40 · 69 阅读 · 0 评论 -
数据库事务隔离级别
快速理解脏读,不可重复读,幻读转载:https://blog.csdn.net/Vincent2014Linux/article/details/89669762转载 2020-01-05 21:24:00 · 79 阅读 · 0 评论