随笔 - 406  文章 - 4  评论 - 0  阅读 - 25万
上一页 1 2 3 4 5 6 7 8 ··· 16 下一页
  2022年2月21日
摘要: 需要关闭skip-slave-start 阅读全文
posted @ 2022-02-21 20:59 HelonTian 阅读(47) 评论(0) 推荐(0) 编辑
  2022年1月16日
摘要: 官方推荐的三种部署方式 minikube Minikube是一个工具,可以在本地快速运行一个单点的Kubernetes,仅用于尝试Kubernetes或日常开发的用户使用。 部署地址:https://kubernetes.io/docs/setup/minikube/ kubeadm Kubeadm 阅读全文
posted @ 2022-01-16 11:32 HelonTian 阅读(94) 评论(0) 推荐(0) 编辑
  2021年12月30日
摘要: greenplum 集群(1master 1standby master 6segments) 集群启动/关闭: gpstart -a ; gpstop -M fast 只关闭master节点: pg_ctl stop -s -m fast -D $MASTER_DATA_DIRECTORY或者 p 阅读全文
posted @ 2021-12-30 20:32 HelonTian 阅读(217) 评论(0) 推荐(0) 编辑
  2021年12月23日
摘要: Greenplum集群初始化过程记录: [gpadmin@p0-ze-bdp-greenplum01 gpdb]$ gpinitsystem -c /gpdb/gphome/conf/gpinitsystem_config -h /gpdb/gphome/conf/hostlist -s p0-ze 阅读全文
posted @ 2021-12-23 17:05 HelonTian 阅读(221) 评论(0) 推荐(0) 编辑
  2021年12月16日
摘要: # innobackupex --user=root --password="root" --socket=/home/mysql/run/mysql.sock /tmpxtrabackup: recognized server arguments: xtrabackup: recognized c 阅读全文
posted @ 2021-12-16 11:37 HelonTian 阅读(51) 评论(0) 推荐(0) 编辑
  2021年12月8日
摘要: 32个命令,可以分为7大类 一、pt-query-digest分析慢日志 $ mysql -uadmin -p -S /u01/mysql/run/mysql.sock -BNe "show variables like 'long_query_time';"Enter password: long 阅读全文
posted @ 2021-12-08 15:37 HelonTian 阅读(57) 评论(0) 推荐(0) 编辑
摘要: $ psql -Vpsql (PostgreSQL) 12.3 安装postgres_fdw $ cd /usr/local/pgsql/contrib/$ ls |grep postgres_fdw/$ cd postgres_fdw/$ lsconnection.c deparse.c expe 阅读全文
posted @ 2021-12-08 13:51 HelonTian 阅读(163) 评论(0) 推荐(0) 编辑
  2021年12月6日
摘要: $ innobackupex --user=admin --password="xxxxxx" --socket=/u01/mysql/run/mysql.sock /data/backup/xtrabackup: recognized server arguments: --datadir=/va 阅读全文
posted @ 2021-12-06 10:50 HelonTian 阅读(2001) 评论(0) 推荐(0) 编辑
  2021年12月5日
摘要: [mysqld]#binlog configurationserver-id=1log-bin=/u01/mysql/logs/mysql-binbinlog_format=ROWbinlog_cache_size = 4Mmax_binlog_cache_size = 2Gmax_binlog_s 阅读全文
posted @ 2021-12-05 16:54 HelonTian 阅读(72) 评论(0) 推荐(0) 编辑
摘要: mydumper -u admin -p 'xxx' -h 127.0.0.1 -P 27415 -C -c --trx-consistency-only -t 10 -o /data/49backup.20211203/ myloader -t 15 -v 3 -C -o -u admin -p 阅读全文
posted @ 2021-12-05 16:36 HelonTian 阅读(38) 评论(0) 推荐(0) 编辑
摘要: # cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.8 (Maipo) 安装MySQL数据库# yum install cmake[root@zedba mydumper-0.9.1]# cmake .-- The 阅读全文
posted @ 2021-12-05 16:33 HelonTian 阅读(291) 评论(0) 推荐(0) 编辑
摘要: master: postgres=# select pid,usename,application_name,client_addr,client_port,backend_start,state,write_lsn,replay_lsn,sync_priority,sync_state from 阅读全文
posted @ 2021-12-05 12:20 HelonTian 阅读(484) 评论(0) 推荐(0) 编辑
  2021年11月4日
摘要: Oracle11.2.0.4 DG的环境 Thu Nov 04 09:53:25 2021alter database datafile '/u01/oradata/zedb/data_medexep01.dbf' resize 20GThu Nov 04 09:53:51 2021System s 阅读全文
posted @ 2021-11-04 14:13 HelonTian 阅读(250) 评论(0) 推荐(0) 编辑
  2021年11月2日
摘要: GP集群切换测试:1.确定集群状态t3-ze-app09为standby master节点,t3-ze-app11是master节点$ gpstate -a20211102:09:37:58:023988 gpstate:t3-ze-app11:greenplum-[INFO]:-Starting 阅读全文
posted @ 2021-11-02 11:05 HelonTian 阅读(180) 评论(0) 推荐(0) 编辑
  2021年10月21日
摘要: 1、Grouped Mirror 2、Spread Mirror 部署Greenplum,建议采用Spread Mirror 阅读全文
posted @ 2021-10-21 11:34 HelonTian 阅读(69) 评论(0) 推荐(0) 编辑
  2021年10月8日
摘要: Greenplum集群安装文档 一、环境准备 操作系统版本 $ cat /etc/redhat-release CentOS Linux release 7.8.2003 (Core) Python版本:Python 2.7.5 Greenplum版本: gpdb-6.17.5.tar.gz 下载地 阅读全文
posted @ 2021-10-08 14:36 HelonTian 阅读(219) 评论(0) 推荐(0) 编辑
  2021年9月29日
摘要: 【问题一】ERROR]: Expected passwordless ssh to host $ gpssh-exkeys -f /home/greenplum/gphome/conf/hostlist [ERROR]: Failed to ssh to t3-guido-app11. No ECD 阅读全文
posted @ 2021-09-29 14:08 HelonTian 阅读(792) 评论(0) 推荐(0) 编辑
  2021年9月23日
摘要: 只获取变化,不消费slot:SELECT * FROM pg_logical_slot_peek_changes('zedb_slot', NULL, NULL);查询数据库创建的slotselect * from pg_replication_slots ; slot_name | plugin 阅读全文
posted @ 2021-09-23 09:38 HelonTian 阅读(667) 评论(0) 推荐(0) 编辑
  2021年9月13日
摘要: 剖析postgresql逻辑复制原理: https://zhuanlan.zhihu.com/p/163204827 逻辑复制是Postgres10出现的功能,一提到逻辑复制很多人可能会联想到很多其他的词汇,比如'逻辑解析'、'逻辑订阅'、'pglogical'、'wal2json'、'BDR' 阅读全文
posted @ 2021-09-13 15:56 HelonTian 阅读(275) 评论(0) 推荐(0) 编辑
  2021年9月10日
摘要: PgSQL流复制切换,通过函数pg_promote和standby.signal来实现 服务器信息master 10.15.6.115standby 10.15.6.116数据库版本$ psql -Vpsql (PostgreSQL) 12.3$ 一、关闭主库 $ pg_ctl -D /data/p 阅读全文
posted @ 2021-09-10 15:41 HelonTian 阅读(1000) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 16 下一页
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示