mysql5.x优化配置
自己设置 [mysqld] # join_buffer_size = 128M # sort_buffer_size = 2M # read_rnd_buffer_size = 2M datadir=/data/mysql_data socket=/data/mysql_data/mysql.sock symbolic-links=0 log-error=/data/mysql_data...
自己设置 [mysqld] # join_buffer_size = 128M # sort_buffer_size = 2M # read_rnd_buffer_size = 2M datadir=/data/mysql_data socket=/data/mysql_data/mysql.sock symbolic-links=0 log-error=/data/mysql_data...
#!/bin/bash # ============================================== # 获取所有正在运行进程的(除系统进程外) # 输出: 路径|所有pid # ============================================== fileinfo_tmp=$( ls -l /proc/*/cwd 2>/dev/nul...
docker-compose.yaml version: "3" services: elasticsearch-test: hostname: elasticsearch-test image: elasticsearch:7.6.1 restart: always ports: - 9300:9200 volumes: ...
Python读写文件 1. open 简单使用: f = open('/Users/michael/test.txt', 'w') print("Hello world", file=f) f.write('Hello, world!') f.close() 复杂加变量: f = open("/tmp/fengyl/data_completion_state_"+match_scrip...
设置默认界面 第一步 第二步 第三步
下载源码 https://www.python.org/ftp/python/3.6.5/ https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgz 安装依赖 yum -y install zlib zlib-devel bzip2 bzip2-devel ncurses openssl openssl-devel openssl-...
PrometteusAPI官方详解 Prometheus HTTP API 查询 查询当前prometheus健康状态 curl -X GET http://localhost:9090/-/healthy 查询时序数据库当前的基数统计信息: curl -s http://localhost:9090/api/v1/status/tsdb | jq ...
部署 docker-compose.yml version: '3.8' mysql_exporter: image: quay.io/prometheus/mysqld-exporter container_name: mysql-exporter hostname: mysql-exporter restart: always ports: ...
1. 准备文件 # 1. 下载、解压文件 wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.6.2-linux-x86_64.tar.gz tar -zxvf elasticsearch-7.6.2-linux-x86_64.tar.gz mv elasticsearch-7.6.2 /usr/...
es 接口调用 查看索引: curl -u ${user_name}:${user_passwd} -s "http://127.0.0.1:9200/_cat/indices?v" -u=--user #删除索引(以及对应的数据) curl -u ${user_name}:${user_passwd} -X DELETE "127.0.0.1:9200/k8s-prod-logs-20...