mysql中间件
- Mysql优化
-
先查出所有A中需要连接的字段select [ ] from tableA where [ ] 然后再去用B表in 这些select [ ] from tableB where C in (select [ ] from tableA where [ ] )然后 select A.*,B.*...
- 2022-09-0288
- mysql binlog 以及数据回滚
-
1、binlog=statement格式当binlog=statement时,binlog记录的是SQL本身的语句ues `test`;delete from t where a>=4 and u_time<='2021-11-15' limit...
- 2022-08-22103
- Mysql数据库锁设计
-
数据库锁设计的初衷是处理并发问题。作为多用户共享的资源,当出现并发访问的时候,数据库需要合理地控制资源的访问规则。而锁就是用来实现这些访问规则的重要数据结构。根据加锁的范围,MySQL...
- 2022-07-01175
- mysql主从同步主主同步
-
主从数据完成同步的过程:1)在Slave 服务器上执行sart...
- 2022-05-17169
- mysql常用命令
-
mysql 安装: sudo apt-get install mysql-server;获取远程访问权限: grant all privileges on *.* to 'root'@'%' identified by '123456' with...
- 2022-05-17168