摘要: 选择排序 1 public class MySelectionSort { 2 3 4 public static void main(String[] args) { 5 for (int i = 0; i < 100; i++) { 6 int[] array = generateRandomA 阅读全文
posted @ 2021-09-20 19:36 sun-lin 阅读(31) 评论(0) 推荐(0)
摘要: 全局锁: 1.FTWRL(读锁) 用于做全库的逻辑备份 加锁:FLUSH TABLES WITH READ LOCK 解锁:unlock tables 表级锁: 1.表锁 表锁的读锁和写锁 加锁:lock tables 表名 read/write(读锁或写锁) 解锁:unlock tables lo 阅读全文
posted @ 2021-09-20 17:07 sun-lin 阅读(167) 评论(0) 推荐(0)