摘要: 一、实验复现 MySQL版本8.0,隔离级别RR和RC均能复现。 1.创建表,构造数据 CREATE TABLE `t2` ( `a` int NOT NULL, `b` int DEFAULT NULL, `c` int DEFAULT NULL, PRIMARY KEY (`a`), UNIQU 阅读全文
posted @ 2021-06-25 13:28 yang417 阅读(1444) 评论(0) 推荐(0)
摘要: 一、基本概念 1.隔离级别 READ UNCOMMITED READ COMMITTED ◦ Oracle、DB2、Microsoft SQL Server (默认) ◦ 解决脏读 REPEATABLE READ ◦ InnoDB(默认) ◦ 解决脏读、不可重复读 ◦ InnoDB中的RR解决了幻读 阅读全文
posted @ 2021-06-14 12:29 yang417 阅读(894) 评论(1) 推荐(1)
摘要: 1.yum安装 #####github地址:maxbube/mydumper 安装依赖工具和软件: yum install -y cmake gcc gcc-c++ git make yum install -y glib2-devel mysql-devel openssl-devel pcre- 阅读全文
posted @ 2021-06-10 17:28 yang417 阅读(832) 评论(0) 推荐(0)
摘要: 一、tpcc安装步骤 github地址:Percona-Lab/tpcc-mysql 1.下载github代码 git clone https://github.com/Percona-Lab/tpcc-mysql 2.编译 cd /tpcc-mysql/src/,执行make时报错: cc loa 阅读全文
posted @ 2021-06-09 18:51 yang417 阅读(531) 评论(0) 推荐(0)
摘要: 一、Kubernetes Dashboard安装步骤 Kubernetes Dashboard github地址 1. 集群master节点执行如下命令: kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/ 阅读全文
posted @ 2021-05-01 17:48 yang417 阅读(1347) 评论(0) 推荐(0)
摘要: 一、问题描述 kubernetes官方维护的ingress nginx controller在github上的地址,kubernetes/ingress-nginx,另外,ingress-nginx官方站点也提供了安装方法,参照文档安装: 1.执行deploy.yaml文件 kubectl appl 阅读全文
posted @ 2021-04-30 13:52 yang417 阅读(1698) 评论(0) 推荐(0)
摘要: ##一、问题描述 使用pip安装ipython pip install ipython,出现报错 Using cached https://mirrors.aliyun.com/pypi/packages/71/bd/042e63027bea950da4e6f5545eb59b973868da854 阅读全文
posted @ 2021-04-07 10:14 yang417 阅读(1129) 评论(0) 推荐(0)
摘要: ##一、编译安装vim 1.查看vim版本 vim --version|grep python +cryptv +linebreak +python/dyn +viminfo +cscope +lispindent -python3 +vreplace 当前版本不支持python3 2.clone新 阅读全文
posted @ 2021-03-30 10:56 yang417 阅读(1438) 评论(0) 推荐(0)
摘要: ##一、下载相关插件 cd ~/.vim/bundle 如果没有该目录,创建一个,用来存放相关插件包。 git clone https://github.com/tomtom/tlib_vim.git git clone https://github.com/MarcWeber/vim-addon- 阅读全文
posted @ 2021-03-29 14:35 yang417 阅读(517) 评论(0) 推荐(0)
摘要: **一.pyenv安装** 1、安装git `yum install git -y` 2、安装Python编译依赖 `yum -y install gcc make patch gdbm-devel openssl-devel sqlite-devel readline-devel zlib-dev 阅读全文
posted @ 2021-03-14 16:19 yang417 阅读(865) 评论(0) 推荐(0)