上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 24 下一页
摘要: 备份asm disk header kfed 或者 dd kfed read /dev/asm_data1 > asm_data1.txt &&kfed read /dev/asm_data2 > asm_data2.txt &&kfed read /dev/asm_data3 > asm_data 阅读全文
posted @ 2019-11-10 20:12 刚好遇见Mysql 阅读(349) 评论(0) 推荐(0)
摘要: 防火墙(firewalld)临时关闭防火墙systemctl stop firewalld永久防火墙开机自关闭systemctl disable firewalld临时打开防火墙systemctl start firewalld防火墙开机启动systemctl enable firewalld查看防 阅读全文
posted @ 2019-11-10 13:34 刚好遇见Mysql 阅读(507) 评论(0) 推荐(0)
摘要: 异步复制 同步复制 延迟复制 阅读全文
posted @ 2019-10-16 11:26 刚好遇见Mysql 阅读(1002) 评论(0) 推荐(0)
摘要: 1. 查看主库的参数设置: SQL> show parameter log_archive_dest_2 NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ log_archi... 阅读全文
posted @ 2019-10-13 16:22 刚好遇见Mysql 阅读(592) 评论(0) 推荐(0)
摘要: 查看文件 导出数据 阅读全文
posted @ 2019-10-12 17:33 刚好遇见Mysql 阅读(662) 评论(0) 推荐(0)
摘要: postgres=# select * from pg_tables where tablename='t'; schemaname | tablename | tableowner | tablespace | hasindexes | hasrules | hastriggers | rowse 阅读全文
posted @ 2019-10-12 14:05 刚好遇见Mysql 阅读(2277) 评论(0) 推荐(0)
摘要: pg_switch_xlog() 是9.6版本下的命令,强制手动切换归档日志 postgres=# select version(); version PostgreSQL 11.5 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7 201203 阅读全文
posted @ 2019-10-12 11:35 刚好遇见Mysql 阅读(1560) 评论(0) 推荐(0)
摘要: 逻辑备份 postgres=# select * from t; id | name + 1 | http 2 | qdds (2 rows) postgres=# \l List of databases Name | Owner | Encoding | Collate | Ctype | Ac 阅读全文
posted @ 2019-10-11 18:27 刚好遇见Mysql 阅读(950) 评论(0) 推荐(0)
摘要: 修改postgresql.conf archive_mode =on%p = path of file to archive%f = file name only archive_command ='cp %p /u01/pgsql/archive/pg_%f' 重启postgresql pg_ct 阅读全文
posted @ 2019-09-22 19:01 刚好遇见Mysql 阅读(3911) 评论(0) 推荐(0)
摘要: postgresql11 有2种安装方法:二进制源码安装 、rpm包安装 不过在上述2中安装方式前都要先建用户和组及目录编辑用户环境变量 严格起来还需要设置sysctl.conf and limits.conf rpm安装完毕以后需要从/usr/local/pgsql-11下的东西拷贝到/u01/p 阅读全文
posted @ 2019-09-22 17:04 刚好遇见Mysql 阅读(5310) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 24 下一页