上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 24 下一页
摘要: 参考 MySQL 8.0中没FRM文件了还怎么恢复表的DDL信息,https://blog.csdn.net/n88Lpo/article/details/95118434 sdi相关j接口,https://developer.aliyun.com/article/600183 1)8.0之前有t1 阅读全文
posted @ 2022-03-19 23:58 stupidstan2019 阅读(30) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-03-19 22:52 stupidstan2019 阅读(16) 评论(0) 推荐(0)
摘要: 参考:https://zhuanlan.zhihu.com/p/459433088 【数据流】 1)用户线程写mtr.redo日志,拷贝到redoBuffer 2)log_write线程从redoBuffer写入ibd文件的pageCache 3)log_flush线程调用fsync写入ibd 其他 阅读全文
posted @ 2022-03-19 22:04 stupidstan2019 阅读(56) 评论(0) 推荐(0)
摘要: 0)传文件 python -m SimpleHTTPServer wget 192.168.1.2:8000/Python-2.7.tgz wget https://www.python.org/ftp/python/2.7.16/Python-2.7.16.tgz 1)改代码 vi Objects 阅读全文
posted @ 2022-03-17 22:43 stupidstan2019 阅读(50) 评论(0) 推荐(0)
摘要: 1)执行过程 2)整个书结构 3)smallPython 源码复制于https://blog.csdn.net/wangyuquanliuli/article/details/8654478 350行 阅读全文
posted @ 2022-03-17 22:10 stupidstan2019 阅读(81) 评论(0) 推荐(0)
摘要: 1)8种级别锁 2)互斥关系 转自熊灿灿的资料 3)使用示例 参考https://shiroyasha.io/understanding-postgresql-locks.html session1: BEGIN;ALTER TABLE users ADD age int; session2: SE 阅读全文
posted @ 2022-03-16 23:26 stupidstan2019 阅读(149) 评论(0) 推荐(0)
摘要: 【参考】 https://zhuanlan.zhihu.com/p/72543802 【调用点】 参数: slock_t mutex; typedef unsigned int slock_t; 【逻辑】 1)加锁逻辑 1.1)当次数大于100,随机睡1ms-1s逻辑 2)放锁逻辑 阅读全文
posted @ 2022-03-16 23:05 stupidstan2019 阅读(92) 评论(0) 推荐(0)
摘要: 【测试】 1)第一个session执行insert语句 2)第二个session执行select 停在这里 睡在这个对象上 【如何唤醒】 参考https://zhuanlan.zhihu.com/p/73517810 阅读全文
posted @ 2022-03-16 22:52 stupidstan2019 阅读(28) 评论(0) 推荐(0)
摘要: 参考https://www.modb.pro/db/11330 【测试sql】 1)创建表 create table account ( id int, first_name varchar(100), last_name varchar(100), address varchar(100), mo 阅读全文
posted @ 2022-03-16 21:39 stupidstan2019 阅读(68) 评论(0) 推荐(0)
摘要: 【环境】 recovery_parse_workers=2recovery_redo_workers=2hot_standby=off 特性理解: 1)让多线程并行回放 2)事务和heap分别并行 3)需要等待的(如checkpoint),做同步逻辑 【调试】 1)启动13个线程,根据rmid分发到 阅读全文
posted @ 2022-03-16 20:47 stupidstan2019 阅读(65) 评论(3) 推荐(1)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 24 下一页