2024年6月17日

mysql8直方图测试

摘要: 参考: https://dev.mysql.com/doc/refman/8.0/en/analyze-table.html#analyze-table-histogram-statistics-analysis https://dev.mysql.com/doc/refman/8.0/en/opt 阅读全文

posted @ 2024-06-17 14:30 柴米油盐酱醋 阅读(2) 评论(0) 推荐(0) 编辑

2024年5月8日

mysql8 根据ibd文件恢复表

摘要: 原文 https://github.com/ddcw/ibd2sql 环境:mysql 8.0.33 一、创建测试数据 Mysql8.0.32环境: mysql> create table t1(id int ,name varchar(200)); Query OK, 0 rows affecte 阅读全文

posted @ 2024-05-08 14:08 柴米油盐酱醋 阅读(126) 评论(0) 推荐(0) 编辑

2024年3月7日

mysql 5.7安装mariadb审计插件

摘要: 官方文档:https://mariadb.com/kb/en/mariadb-audit-plugin/参考文档:https://segmentfault.com/a/1190000042056617 下载10.5版本的 mariadb ,再高的版本不适合5.7 1、下载mariadb 下载界面: 阅读全文

posted @ 2024-03-07 15:57 柴米油盐酱醋 阅读(75) 评论(0) 推荐(0) 编辑

2023年12月18日

k8s升级步骤流水账

摘要: 官方文档: https://kubernetes.io/zh-cn/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/ apt-get install -y kubeadm='1.18.20-00' --allow-downgrades -- 阅读全文

posted @ 2023-12-18 15:24 柴米油盐酱醋 阅读(27) 评论(0) 推荐(0) 编辑

2023年11月30日

mysqlsh备份恢复小记

摘要: 参考文档: https://mp.weixin.qq.com/s/SGWgecxrpLNhnQzQMwh_Ew https://opensource.actionsky.com/20221012-mysql/ https://blog.csdn.net/m0_67261762/article/det 阅读全文

posted @ 2023-11-30 14:34 柴米油盐酱醋 阅读(176) 评论(0) 推荐(0) 编辑

2023年10月20日

mongo数据库$out输出覆盖原集合

摘要: 数据库版本:4.2.8 操作系统:ubuntu20 mongo aggregate 中 $out输出可以将原集合覆盖。 问题复现: 1、写入测试数据 rs0:PRIMARY> use ceshi rs0:PRIMARY> db.t1.insert({id:1}) rs0:PRIMARY> db.t1 阅读全文

posted @ 2023-10-20 18:08 柴米油盐酱醋 阅读(69) 评论(0) 推荐(0) 编辑

2023年10月18日

MySQL更换内存分配器

摘要: 操作系统环境:ubuntu 20 (arm 架构) 数据库版本:MySQL 5.7 (arm 架构) 1、查看当前 MySQL 使用内存分配器 ps -ef|grep mysqld 获取 mysqld 进程号,结果没有 jemalloc 或 tcmalloc。默认是 glibc 内存分配器。 roo 阅读全文

posted @ 2023-10-18 09:51 柴米油盐酱醋 阅读(298) 评论(0) 推荐(0) 编辑

2023年8月30日

CFG file is missing and source table is found to have row versions报错原因分析

摘要: 参考: https://docs.percona.com/percona-xtrabackup/8.0/error-message-instant.html https://dev.mysql.com/doc/refman/8.0/en/innodb-table-import.html https: 阅读全文

posted @ 2023-08-30 19:18 柴米油盐酱醋 阅读(783) 评论(4) 推荐(0) 编辑

2023年7月21日

mongodb wt工具

摘要: https://www.percona.com/blog/wiredtiger-file-forensics-part-1-building-wt/ https://www.percona.com/blog/wiredtiger-file-forensics-part-2-wt-dump/ http 阅读全文

posted @ 2023-07-21 11:46 柴米油盐酱醋 阅读(73) 评论(0) 推荐(0) 编辑

2023年7月20日

使用wt工具恢复mongo数据库单个集合文件

摘要: 单节点 MongoDB,宕机后 --repair 起不来,或只有 collection 物理文件想做数据恢复,使用 wt 工具恢复方法。 参考文档: https://mongoing.com/archives/81301 https://blog.csdn.net/qq_28018283/artic 阅读全文

posted @ 2023-07-20 16:11 柴米油盐酱醋 阅读(483) 评论(0) 推荐(0) 编辑

导航