自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 promethues+grafana安装监控服务器和mysql数据库

2、创建安装路径并解压安装包(路径自定)mkdir /data/software/prometheusmv prometheus-2.34.0.linux-amd64.tar.gzcd /data/software/prometheustar -xvf prometheus-2.34.0.linux-amd64.tar.gzmv prometheus-2.34.0.linux-amd6...

2022-03-30 18:15:04 1257

原创 docker容器运行状态监控

此脚本用于监控容器运行状态,并将异常容器通过钉钉端报警!!!1、编写监控脚本[root@localhost ~]# vim containerState-monitor.sh!/bin/bash########################################################### 监控容器运行状态,异常通过钉钉端报警脚本!!! ###############################################.

2022-03-16 17:35:44 1967

原创 mysql备份多个数据库脚本

此脚本是用于备份以datawarehouse_20开头的数据库,根据自身情况修改即可!!!#!/bin/bash################################################ 备份datawarehouse日期库脚本!!! #################################################数据库密码passwd=xxx#取出需要备份的以datawarehouse_20开头的数据库datawareh.

2022-03-16 12:33:33 578

原创 mysql查询数据量

所有查询都需要进入到information_schema库进行操作进入information_schema库命令mysql> use information_schema;Reading table information for completion of table and column namesYou can turn off this feature to get a quicker startup with -ADatabase changed1、查询数据库数据总量

2022-02-26 11:18:54 6167

原创 mysql 性能分析之 profiling

1、首先查看此功能有没有开启,默认是OFF关闭状态mysql> show variables like 'profiling%';2、开启profilingmysql> set profiling=1;#关闭profilingmysql> set profiling=0;3、列出最近执行的SQL情况,默认15条mysql> show profiles;+----------+------------+----------------------..

2022-02-16 16:44:06 1163

原创 关于mysql8.0.27安装后mysqldump不可用解决方法

源码安装完mysql后,使用mysqldump命令,报错如下:原因: 这是由于缺少mysql环境变量所导致的解决方法:1.添加环境变量vim /etc/profile在最后一行添加:export PATH=/mysql安装路径/bin:$PATH#加载环境变量source /etc/profile...

2022-02-15 15:58:13 1204

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除