上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 25 下一页
摘要: 为了让图更加美观和好理解,我这里使用的是innodb_undo_tablespaces=2的情况下作图,也就是只有2个 undo tablespace的情况。其实4个也是同样的道理,因为rollback segment slot是轮询在表空间分配的。 640?wx_fmt=jpeg undo phy 阅读全文
posted @ 2019-08-06 19:32 李艳艳665 阅读(67) 评论(0) 推荐(0) 编辑
摘要: -- 创建存储过程之前需判断该存储过程是否已存在,若存在则删除DROP PROCEDURE IF EXISTS init_reportUrl; -- 创建存储过程CREATE PROCEDURE init_reportUrl()BEGIN -- 定义变量 DECLARE s int DEFAULT 阅读全文
posted @ 2019-08-06 19:32 李艳艳665 阅读(11238) 评论(4) 推荐(1) 编辑
摘要: # datasourcespring.datasource.url=jdbc:mysql://127.0.0.1:3306/springboot-springdatajpa01?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8&us 阅读全文
posted @ 2019-08-06 19:32 李艳艳665 阅读(97) 评论(0) 推荐(0) 编辑
摘要: <dependencies> <!-- springboot --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </depende 阅读全文
posted @ 2019-08-06 19:32 李艳艳665 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 之前的例子代码只是测试代码,只是为了说明原理,例子本身很简单,所以有一些考虑不周的地方。比如当获取到锁之后在业务操作执行过程中发生了环境问题导致断开了和Redis的连接,那就无法在finally块中释放锁,导致其他等待获取锁的线程无限等待下去,也就是发生了死锁现象。 解决方式: 可以在Redis中给 阅读全文
posted @ 2019-08-06 19:31 李艳艳665 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 本过程调用函数srv_undo_tablespaces_init进行,栈帧如下: #0 srv_undo_tablespaces_init (create_new_db=true, n_conf_tablespaces=4, n_opened=0x2ef55b0) at /root/mysqlc/p 阅读全文
posted @ 2019-08-06 19:31 李艳艳665 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 本步骤调用 trx_sys_create_sys_pages->trx_sysf_create进行,本步骤除了初始化transaction system segment以外还会初始化其header( ibdata page no 5)信息如下: /* Create the trx sys file 阅读全文
posted @ 2019-08-06 19:31 李艳艳665 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 调用 trx_sys_create_rsegs进行: 说明一下关于innodb_undo_logs参数和innodb_rollback_segments参数,他们作用就是设置rollback segment 的个数,本文以128为例。 根据注释和代码innodb_undo_logs已经是个淘汰的参数 阅读全文
posted @ 2019-08-06 19:31 李艳艳665 阅读(136) 评论(0) 推荐(0) 编辑
摘要: using SDHK_Tool.Dynamic; private SD_Motor_Angle Motor_Angle; //旋转电机 public bool Motor = true; //电机激活 public float Speed = 100; //电机速度 public float Ang 阅读全文
posted @ 2019-08-05 18:39 李艳艳665 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 使用例子: using SDHK_Tool.Dynamic; private SD_Motor_Angle Motor_Angle; //旋转电机 public float Speed = 1; //旋转速度 public float Angle = 0; //当前角度 public float T 阅读全文
posted @ 2019-08-05 18:39 李艳艳665 阅读(122) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 25 下一页