01 2022 档案

摘要:[root@k8-master ~]# cat deployment1.yaml apiVersion: apps/v1kind: Deploymentmetadata: name: nginx-deployment labels: app: nginxspec: replicas: 2 selec 阅读全文
posted @ 2022-01-26 17:25 beawh 阅读(91) 评论(0) 推荐(0) 编辑
摘要:参考链接:https://kubernetes.io/zh/docs/concepts/overview/working-with-objects/labels/ [root@k8-node ~]# cat dep_lab.yaml apiVersion: apps/v1kind: Deployme 阅读全文
posted @ 2022-01-25 15:42 beawh 阅读(47) 评论(0) 推荐(0) 编辑
摘要:关闭防火墙: $ systemctl stop firewalld $ systemctl disable firewalld 关闭selinux: $ sed -i 's/enforcing/disabled/' /etc/selinux/config # 永久 $ setenforce 0 # 阅读全文
posted @ 2022-01-24 17:41 beawh 阅读(59) 评论(0) 推荐(0) 编辑
摘要:MySQL8应该使用transaction_isolation,tx_isolation被弃用。 重新登录生效。 在RC隔离级别,在会话1窗口commit 的数据在会话2窗口可以执行查询到。 阅读全文
posted @ 2022-01-21 11:24 beawh 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-01-21 11:10 beawh 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-01-21 10:50 beawh 阅读(18) 评论(0) 推荐(0) 编辑
摘要:mysql> show variables like '%commit%'; + + + | Variable_name | Value | + + + | autocommit | OFF | | innodb_commit_concurrency | 0 | | innodb_flush_log 阅读全文
posted @ 2022-01-20 14:15 beawh 阅读(853) 评论(0) 推荐(1) 编辑
摘要:执行计划作用是如下: 表的读取顺序 数据读取操作的操作类型 哪些索引可以使用 哪些索引被实际使用 表之间的引用 每张表有多少行被优化器查询 1.1 id select查询的序列号,包含一组数字,表示查询中执行select子句或者操作表的顺序 id号分为三种情况: ​ 1、如果id相同,那么执行顺序从 阅读全文
posted @ 2022-01-10 15:08 beawh 阅读(34) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示