lijfustc

导航

 

2022年6月18日

摘要: 1、后台线程 2、Master Thread 3、表:threads 4、my.cnf配置 5、参数:innodb_page_cleaners 6、Master Thread One Second 7、参数:innodb_io_capacity 每1秒,刷新4000个页 8、 阅读全文
posted @ 2022-06-18 11:02 lijfustc 阅读(53) 评论(0) 推荐(0)
 

2022年6月16日

摘要: 1、两种压缩方式:lz4,zlib lz4:压缩速度更快 zlib:压缩比更高 2、参数:innodb_buffer_pool_instances=cpu的核数 3、Buffer Pool构成 4、(root@172.16.16.2)[(none)] 15:33:53> show engine in 阅读全文
posted @ 2022-06-16 15:13 lijfustc 阅读(29) 评论(0) 推荐(0)
 

2022年6月15日

摘要: 1、缓冲池 2、性能曲线 3、缓冲池存放的内容 4、 压缩/解压 阅读全文
posted @ 2022-06-15 14:09 lijfustc 阅读(21) 评论(0) 推荐(0)
 
摘要: 1、表空间--记录 2、页存储的逻辑图 3、其中的三个内容: Page Header 和 Page trailer LSN:校验这个页的数据是否完整 row offset array:排序的数据指针,可以快速定位一条记录 4、参数:innodb_default_row_format mysql5.7 阅读全文
posted @ 2022-06-15 12:42 lijfustc 阅读(28) 评论(0) 推荐(0)
 

2022年6月14日

摘要: 1、类型转换 2、转换为整型 3、转换为字符串 4、转换为布尔 5、变量 6、规范 阅读全文
posted @ 2022-06-14 21:52 lijfustc 阅读(21) 评论(0) 推荐(0)
 
摘要: 1、逻辑架构图 2、表空间 3、表空间--区 4、参数:innodb_page_size 5、表空间--页 6、压缩表 阅读全文
posted @ 2022-06-14 20:11 lijfustc 阅读(25) 评论(0) 推荐(0)
 

2022年6月13日

摘要: 1、mysqlslap 2、(root@172.16.16.2)[(none)] 12:57:49> show variables like 'thread%'; 3、thread_handling参数(秒杀场景) 4、thread_pool_oversubscribe参数(超频) 5、sysben 阅读全文
posted @ 2022-06-13 13:15 lijfustc 阅读(21) 评论(0) 推荐(0)
 

2022年6月12日

摘要: 1、Python如此火爆的原因 2、Python的解释器种类 3、CPython解释器的版本 4、环境搭建 5、总结 阅读全文
posted @ 2022-06-12 23:14 lijfustc 阅读(20) 评论(0) 推荐(0)
 
摘要: 1、QPS和TPS 2、show global status like 'Question%' 3、show global status like 'Uptime%' 4、status 可以直接看到QPS的指标 5、[root@localhost ~]# mysqladmin extended-st 阅读全文
posted @ 2022-06-12 16:51 lijfustc 阅读(26) 评论(0) 推荐(0)
 
摘要: 1、如图: 2、O_DIRECT参数 直接写入磁盘,不经过os的page cache 3、在my.cnf中,配置: innodb_flush_method = O_DIRECT 阅读全文
posted @ 2022-06-12 12:00 lijfustc 阅读(221) 评论(0) 推荐(0)