1、InnoDB的磁盘结构 1)系统表空间 2)用户表空间 3)rodolog 文件组 4)磁盘文件逻辑结构 文件->段->区->页->行 InnoDB对数据的存取是以页为单位的,一个数据页默认是16k 2、InnoDB的内存结构 1)buffer pool 1.数据页 2.索引页 3.Change ...
分类:
数据库 时间:
2020-11-25 12:36:15
阅读次数:
9
using NLog; using System; using System.IO.Ports; using System.Text; using System.Threading; namespace TestCom485 { class Program { static void Main(st ...
分类:
其他好文 时间:
2020-11-24 12:42:10
阅读次数:
9
原文地址:https://testerhome.com/articles/21178 1. 前言 上周,对性能测试系列专题,在公号内发表了第一篇介绍:【性能系列连载一】开篇:性能测试不可不知的“干货”,但反响貌似并不太好,但既然此前已答应了部分读者要连载分享性能这块的知识,含着泪也得继续写。 性能测 ...
分类:
其他好文 时间:
2020-11-24 12:24:32
阅读次数:
6
Base64代码 base64.c #include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> // bindata待编码数据buffer base64 编码后数据 ...
分类:
其他好文 时间:
2020-11-24 12:13:36
阅读次数:
7
问题原因是 Windows不支持pcntl库 ,参考 https://stackoverflow.com/questions/30045085/how-to-install-pcntl-extension-in-windows 解决方案: https://stackoverflow.com/ques ...
最近生产环境在这两个参数之间遇到过几次坑。这里记录下。 client_max_body_size client_max_body_size 默认 1M,表示 客户端请求服务器最大允许大小,在“Content-Length”请求头中指定。如果请求的正文数据大于client_max_body_size, ...
分类:
其他好文 时间:
2020-11-23 12:01:24
阅读次数:
6
一、导入jar包: 并导入数据库连接jar包: 下载 pool.jar一定要下载1.x版本,亲测2.xxx版本会出现报错:Failed to introspect bean class [org.apache.commons.dbcp.BasicDataSource] for lookup meth ...
分类:
编程语言 时间:
2020-11-20 11:53:08
阅读次数:
7
1、Innodb_flush_log_at_trx_commit: 控制redo 往os buffer、磁盘 刷写的策略 (0) 每秒将redo buffer往os buffer(操作系统文件缓冲区) 刷写,每秒将os buffer同步到磁盘,如果宕机,会丢失一秒内的所有事务 (1) 事务每次com ...
分类:
数据库 时间:
2020-11-20 11:29:13
阅读次数:
15
视频编码中,经常提到I帧。I帧只使用帧内压缩,不能除去帧间冗余度。P帧做帧间编码,根据当前帧与前面最近的I帧或P帧的差别来编码。 另外一个比较少提到的概念是IDR帧。IDR属于I帧,但是I帧不一定是IDR帧。解码器收到IDR帧时,将reference buffer清空;而收到I帧不会清空refere ...
分类:
其他好文 时间:
2020-11-18 13:20:55
阅读次数:
18
Caused by: org.aspectj.apache.bcel.classfile.ClassFormatException: File: 'java.lang.CharSequence': Invalid byte tag in constant pool: 18 at org.aspect ...
分类:
编程语言 时间:
2020-11-18 12:29:42
阅读次数:
5