当前位置:首页 > 第2页

mysql 数据库字段的数量和长度总值是固定的

root1年前 (2022-08-18)mysql619
utf8编码,假设每个字段都是varchar,长度都是1000,那么最多共有:65535-1-2-3*1000*N =0N = 21也就是说只能容纳21个字段有的项目动辄都是几十个字段,很显然21个字段就不满足了字符类型若为gbk,每个字符...

k8s 给node这只标签

root1年前 (2022-08-18)k8s580
k8s 给node这只标签
给node 设置role 标签 kubectl label nodes 10.0.64.121 node-role.kubernetes.io/test=去掉role标签kubectl label nodes 10.0.64.12...

k8s 给sc 开启或者关闭 默认设置

root1年前 (2022-08-17)linux592
k8s 给sc 开启或者关闭 默认设置
https://www.freesion.com/article/3909514696/ 关闭默认设置kubectl patch storageclass managed-nfs-storage-67 ...

nfs 服务搭建

root1年前 (2022-08-16)linux495
https://blog.51cto.com/u_12965094/2788462 https://blog.csdn.net/weixin_44767040/article/details/124735520...

helm的更新部署命令

root1年前 (2022-08-08)linux536
helm list -n test 查看test 空间下有那些helm安装的程序helm uninstall -n test mysql卸载mysqlhelm  -n test install mysql  ....

超强、超实用的linux命令

root1年前 (2022-08-01)linux471
1、常用linux命令# 查看网络状态 netstat # 查看ip网卡流量 iftop  例如:iftop -i eth0 -B -F xxx.x...

es集群搭建 docker方式

root1年前 (2022-07-26)es447
参考连接:开启认证 集群搭建并开启认证 docker-compose方式搭建集群 遇见问题的并解决 matser 搭建脚本映射数据目录需要给外边文件夹777权限 docker内容数据文件地址:/usr/share/elasticsearch...

python 操作es

root1年前 (2022-07-20)es522
pip install elasticsearch连接建立from elasticsearch import Elasticsearch es = Elastics...

git 命令

root1年前 (2022-07-13)linux422
修改文件:即添加内容到工作区vim  filepath清除工作区的内容,回溯到上次add的状态或者commit 的状态git checkout -- file添加文件到暂存区git add filepath暂存区文件重新回到工作区...

python logging 模块对多进程的支持

root1年前 (2022-07-09)python648
深度解决方案logging 模块 是支持多线程的但是多进程的会出现问题,因为对文件读写会出现资源的争抢如何解决对多进程的出现的问题concurrent-log-handler包 解决问题该模块同样也为python的标准日志记录软件提供了额外...