上一页 1 2 3 4 5 6 7 8 9 ··· 16 下一页
  2021年9月9日
摘要: PgSQL判断主备库角色本实例采用5433端口$ psql -h 127.0.0.1 -p 5433psql (12.3)Type "help" for help. postgres=# \c pgdbYou are now connected to database "pgdb" as user 阅读全文
posted @ 2021-09-09 14:15 HelonTian 阅读(272) 评论(0) 推荐(0) 编辑
  2021年8月30日
摘要: 【MySQL故障处理】[ERROR] Failed to open log (file '/data/mysql_3306/logs/mysql_bin.000012', errno 2)修改MySQL实例端口号3306到3307$ ll mysql_3306/total 4drwxrwxr-x 8 阅读全文
posted @ 2021-08-30 10:20 HelonTian 阅读(771) 评论(0) 推荐(0) 编辑
  2021年8月12日
摘要: jumpserver管理: 创建堡垒机的管理员账户:cd /opt/jumpserver/source bin/activatecd apps/python manage.py createsuperuser --username=tianhl --email=tianze@iter.com提示输入 阅读全文
posted @ 2021-08-12 14:13 HelonTian 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 空间清理# df -hFilesystem Size Used Avail Use% Mounted on/dev/mapper/3600508b1001c23bf4a411df7ebcbd39b1 3.6T 3.1T 330G 91% /kvm-fs/dev/mapper/364817127857 阅读全文
posted @ 2021-08-12 14:10 HelonTian 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 增加iscsi存储 存储地址:10.15.160.100:3260 1、发现iscsi存储:iscsiadmiscsiadm --mode discovery --type sendtargets --portal 10.15.160.100:3260 # iscsiadm --mode disco 阅读全文
posted @ 2021-08-12 14:03 HelonTian 阅读(179) 评论(0) 推荐(0) 编辑
  2021年8月9日
摘要: #su - postgres # vi .bash_profile PATH=$PATH:$HOME/.local/bin:$HOME/bin export PATH export PGHOME=/usr/local/pgsql/export PGDATA=/data/pgsql_5432/data 阅读全文
posted @ 2021-08-09 09:51 HelonTian 阅读(777) 评论(0) 推荐(0) 编辑
  2021年8月2日
摘要: AWK的使用 筛选应用端口,并格式化输出 # netstat -ntlp|grep sap|awk '{print $4}'|awk -F ':' '{print $2"/"}'50013/50014/3200/1128/ # netstat -ntlp|grep sap|awk '{print $ 阅读全文
posted @ 2021-08-02 14:21 HelonTian 阅读(35) 评论(0) 推荐(0) 编辑
  2021年7月23日
摘要: Monitoring Group Replication https://dev.mysql.com/doc/refman/5.7/en/group-replication-monitoring.html Use the Perfomance Schema tables to monitor Gro 阅读全文
posted @ 2021-07-23 17:42 HelonTian 阅读(236) 评论(0) 推荐(0) 编辑
  2021年7月22日
摘要: 1、The MySQL Group Replication plugin includes a set of APIs for capture, apply, and lifecycle, which control how the plugin interacts with MySQL Serve 阅读全文
posted @ 2021-07-22 17:01 HelonTian 阅读(64) 评论(0) 推荐(0) 编辑
  2021年6月29日
摘要: > select saddr,sid,serial#,paddr,username,status,program,sql_id from v$session where username =upper('sys'); SADDR SID SERIAL# PADDR USERNAME STATUS P 阅读全文
posted @ 2021-06-29 09:29 HelonTian 阅读(200) 评论(0) 推荐(0) 编辑
  2021年6月12日
摘要: Innodb体系架构 后台线程、内存池、数据文件 阅读全文
posted @ 2021-06-12 08:51 HelonTian 阅读(33) 评论(0) 推荐(0) 编辑
  2021年6月9日
摘要: 一、通过查询数据库进程:Master节点$ps -ef |grep walpostgres 31076 31068 0 2020 ? 00:32:28 postgres: walwriter postgres 32200 10234 0 15:45 ? 00:00:00 postgres: wals 阅读全文
posted @ 2021-06-09 16:00 HelonTian 阅读(792) 评论(0) 推荐(0) 编辑
  2021年5月6日
摘要: 开启归档模式 [postgres@host pg_wal]$cd /data/pgsql_5432/data/pg_wal/[postgres@host pg_wal]$ ll |grep backup-rw 1 postgres postgres 353 May 6 10:20 000000010 阅读全文
posted @ 2021-05-06 10:24 HelonTian 阅读(3018) 评论(0) 推荐(0) 编辑
  2021年4月27日
摘要: Tue Apr 27 22:00:13 2021Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x7FFEC1D45FF8] [PC:0x9541C52, kkorminl()+348] [flags: 0x0, coun 阅读全文
posted @ 2021-04-27 22:20 HelonTian 阅读(637) 评论(0) 推荐(0) 编辑
  2021年4月21日
摘要: 1、操作系统版本 $ cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core) PostgreSQL版本 $ psql -Vpsql (PostgreSQL) 12.3 wal2json插件获取地址:https://github.com 阅读全文
posted @ 2021-04-21 09:10 HelonTian 阅读(1930) 评论(0) 推荐(0) 编辑
  2021年4月10日
摘要: 操作系统版本 [root@ze11 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.2 (Maipo) Python版本 [root@ze11 ~]# python -VPython 2.7.5 setupt 阅读全文
posted @ 2021-04-10 17:01 HelonTian 阅读(388) 评论(0) 推荐(0) 编辑
  2021年3月17日
摘要: 一、防止WAL日志过早删除 PostgreSQL提供管理checkpoint用途的WAL日志文件空间的相关配置 max_wal_size:用于设置允许WAL日志文件空间的最大增长上限 min_wal_size:用于设置需要保留的最小WAL日志文件空间 1、设置wal_keep_segments wa 阅读全文
posted @ 2021-03-17 15:42 HelonTian 阅读(1482) 评论(0) 推荐(0) 编辑
  2021年3月16日
摘要: 参数文件: default_transaction_isolation = 'read committed'listen_addresses = '*'port = 5432max_connections = 2000superuser_reserved_connections = 10full_p 阅读全文
posted @ 2021-03-16 09:57 HelonTian 阅读(167) 评论(0) 推荐(0) 编辑
  2021年3月13日
摘要: $ cat /etc/redhat-release CentOS Linux release 7.8.2003 (Core) $ psql -Vpsql (PostgreSQL) 12.3 端口:5432 $ netstat -ntlp|grep posttcp 0 0 0.0.0.0:5432 0 阅读全文
posted @ 2021-03-13 23:51 HelonTian 阅读(1223) 评论(0) 推荐(0) 编辑
  2021年2月28日
摘要: 适用场景: 主库的磁盘空间不足,在线复制Oracle DG. rman target zee/zee@orcl AUXILIARY zee/zee@orcldg run {allocate channel pr1 type disk;allocate channel pr2 type disk;al 阅读全文
posted @ 2021-02-28 19:37 HelonTian 阅读(255) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 16 下一页