首页  :: 新随笔  :: 管理
上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页

2022年10月28日

摘要: MySQL校队规则之PADSPACE MySQL表字段是char或varchar或text类型时,如果使用“PAD SPACE”校队规则,则会忽略字段末尾的空格字符。 查看字符集uft8mb4相对应的校队规则 mysql> show collation where Charset='utf8mb4'; + + + + + + + + | 阅读全文

posted @ 2022-10-28 11:08 高&玉 阅读(491) 评论(0) 推荐(0) 编辑

2022年10月14日

摘要: MySQL 8.0并行构建索引 前言 MySQL 8.0.27之前排序或加载操作都是单线程,8.0.27开始为了提升创建或重建二级索引速度引入了innodb_ddl_buffer_size、innodb_ddl_threads这两个参数。 innodb_ddl_buffer_size:在线定义DDL的缓冲区大小,默认大小是1048 阅读全文

posted @ 2022-10-14 11:12 高&玉 阅读(706) 评论(0) 推荐(0) 编辑

2022年10月11日

摘要: 介绍 Nmon (Nigel’s Monitor)是由IBM 提供、免费监控 AIX 系统与 Linux 系统资源的工具。该工具可将服务器系统资源耗用情况收集起来并输出一个特定的文件,并可利用 excel 分析工具(nmon analyser)进行数据的统计分析。 下载地址:http://nmon. 阅读全文

posted @ 2022-10-11 16:04 高&玉 阅读(133) 评论(0) 推荐(0) 编辑

2022年10月9日

摘要: mayfly-go是一款WEB端管理平台,截止到2023年3月6日最新版本是1.4.1,用于管理Linux、MySQL、PostgreSQL、Redis、MongoDB。 阅读全文

posted @ 2022-10-09 09:40 高&玉 阅读(911) 评论(0) 推荐(0) 编辑

2022年9月26日

摘要: 复制流报错:Latest checkpoint is at 2/7C3079A0 on timeline 1, but in the history of the requested timeline, the server forked off from that timeline at 0/12000000.处理 Latest checkpoint is at 2/7C3079A0 on timeline 1, but in the history of the requested timeline, the server forked off from that timeline at 0/12000000. 阅读全文

posted @ 2022-09-26 09:18 高&玉 阅读(506) 评论(0) 推荐(0) 编辑

2022年9月23日

摘要: PostgreSQL 9.6升级到14.5(pg_upgrade) 前言 提示:如果是PostgreSQL复制流,需要先升级primary然后升级standby,否则会报错: [postgres@host72 postgres]$ /usr/local/postgresql-10.22/bin/pg_upgrade -b /usr/local/postgresql- 阅读全文

posted @ 2022-09-23 17:08 高&玉 阅读(1061) 评论(0) 推荐(0) 编辑

2022年9月22日

摘要: PostgreSQL 14.5复制流(同步复制) 1 介绍 PostgresSQL在9.0版本实现的复制功能只能进行异步复制,在PostgreSQL 9.1版本中可以支持同步复制。 PostgreSQL流复制是基于WAL日志传输实现的:主库发送WAL日志,备库接收WAL日志并进行回放。 流复制的3个主要进程: 主库的walsender进程:负责发送 阅读全文

posted @ 2022-09-22 21:57 高&玉 阅读(1979) 评论(0) 推荐(1) 编辑

摘要: 背景 我的环境有MySQL、PostgreSQL数据库,为了压测方便我安装了sysbench [root]# yum install autoconf automake libtool -y [root]# git clone https://github.com/akopytov/sysbench 阅读全文

posted @ 2022-09-22 18:31 高&玉 阅读(887) 评论(0) 推荐(0) 编辑

摘要: PostgreSQL 14.5复制流(异步复制) 1 介绍 PostgresSQL在9.0版本实现的复制功能只能进行异步复制,在PostgreSQL 9.1版本中可以支持同步复制。 PostgreSQL流复制是基于WAL日志传输实现的:主库发送WAL日志,备库接收WAL日志并进行回放。 流复制的3个主要进程: 主库的walsender进程:负责发送 阅读全文

posted @ 2022-09-22 16:37 高&玉 阅读(1268) 评论(0) 推荐(0) 编辑

摘要: PostgreSQL 9.6 for CentOS安装 基础环境 CentOS 7.6 PostgreSQL 9.6 PostgreSQL 9.6安装 1. 安装依赖包 [root]# yum install -y perl-ExtUtils-Embed python-devel bison flex readline-devel zlib-devel 阅读全文

posted @ 2022-09-22 10:29 高&玉 阅读(306) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 10 ··· 14 下一页