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
阅读(281)
推荐(0)
2021年2月23日
摘要:
Oracle11.2.0.4 DG 主库查询数据库SCN SYS@orcl>select 1 dest_id, current_scn from v$database 2 union all 3 select dest_id, applied_scn from v$archive_dest wher
阅读全文
posted @ 2021-02-23 14:13
helontian
阅读(633)
推荐(0)
2021年2月3日
摘要:
RHEL6.8 Oracle RAC 11g R2 ASM磁盘在线扩容 1.使两个节点从OS级别识别到新添加的LUN,dm-11、dm-12为新识别的LUN 多路径配置cat /etc/multipath.confdefaults { polling_interval 10 user_friendl
阅读全文
posted @ 2021-02-03 22:28
helontian
阅读(541)
推荐(0)
2020年12月22日
摘要:
[root@ze11 ~]# ll /usr/local/mysqllrwxrwxrwx. 1 mysql mysql 35 Dec 22 21:52 /usr/local/mysql -> mysql-5.7.25-linux-glibc2.12-x86_64[root@ze11 ~]# ps -
阅读全文
posted @ 2020-12-22 22:42
helontian
阅读(495)
推荐(0)
2020年12月16日
摘要:
Oracle11.2.0.4_Linux7静默安装 软件包 unzip linux.x64_11gR2_database_1of2.zip unzip linux.x64_11gR2_database_2of2.zip 操作系统环境配置 编辑文件/etc/hosts 192.168.0.215 ze
阅读全文
posted @ 2020-12-16 22:46
helontian
阅读(206)
推荐(1)
2020年12月5日
摘要:
Oracle DG库报错 SQL> select * from w.v_result_detail;select * from w.v_result_detail *ERROR at line 1:ORA-01157: cannot identify/lock data file 201 - see
阅读全文
posted @ 2020-12-05 23:31
helontian
阅读(753)
推荐(0)
2020年12月3日
摘要:
环境介绍 # uname -aLinux p0-mcrm-midsrv-db01 4.18.0-553.58.1.el8_10.x86_64 #1 SMP Thu Jun 12 14:27:07 EDT 2025 x86_64 x86_64 x86_64 GNU/Linux# cat /etc/re
阅读全文
posted @ 2020-12-03 16:03
helontian
阅读(156)
推荐(0)
2020年9月26日
摘要:
[postgres@zehost ~]$ pg_rman backup -b full -U postgres -Z -h 127.0.0.1 -p 5432Password for user postgres: INFO: copying database filesWARNING: could
阅读全文
posted @ 2020-09-26 22:06
helontian
阅读(828)
推荐(0)
2020年9月2日
摘要:
查询schema: select nspname from pg_namespace; 切换schema zezedb=# set search_path to zeze;SETzezedb=# \d 查询数据库 select datname from pg_database; 查询表 SELECT
阅读全文
posted @ 2020-09-02 14:45
helontian
阅读(255)
推荐(0)
2020年8月5日
摘要:
master端: 创建流复制用户 postgres=# CREATE USER repuser replication LOGIN CONNECTION LIMIT 3 ENCRYPTED PASSWORD 'ze0321';CREATE ROLE slave端: /usr/local/pgsql/
阅读全文
posted @ 2020-08-05 11:37
helontian
阅读(209)
推荐(0)
2020年7月31日
摘要:
导出: mongodump -h 127.0.0.1:27017 --username=usr_ze --password=usr_ze -d zedb -o /data/mongobackup/`date +%Y%m%d` --gzip 导入: mongorestore -h 127.0.0.1:
阅读全文
posted @ 2020-07-31 18:05
helontian
阅读(212)
推荐(0)
2020年7月24日
摘要:
Change the Global Memory Allocation Limit The SAP HANA database preallocates a pool of memory from the operating system over time, up to a predefined
阅读全文
posted @ 2020-07-24 10:11
helontian
阅读(353)
推荐(0)
2020年7月21日
摘要:
1、Studio连接HANA host文件 The HANA Studio connects to HANA DB Instance with JDBC on port 3<Instance number>15. 2、Studio 分配HANA使用内存 global.ini-->memorymana
阅读全文
posted @ 2020-07-21 18:14
helontian
阅读(306)
推荐(0)
2020年7月20日
摘要:
Oracle:11.2.0.4 Linux:RHEL6.8 2节点:rac1、rac2 主机名:ze02db01、ze02db02 故障复盘: 在节点2-ze02db02,停掉实例rac2 /u01/app/11.2.0/grid/bin/srvctl stop instance -d orcl /
阅读全文
posted @ 2020-07-20 16:22
helontian
阅读(719)
推荐(0)
2020年7月18日
摘要:
#Crsctl start cluster 是 11.2 新特性,crsctl strat/stop cluster 既可以管理本地 clusterware stack ,也可以管理整个集群 指定 –all 启动集群中所有节点的集群件,即启动整个集群。 -n 启动指定节点的 集群件 但是不包含 OH
阅读全文
posted @ 2020-07-18 01:43
helontian
阅读(1916)
推荐(0)
2020年7月17日
摘要:
日志有三种: pg_xlog目录pg_wal 在线重做日志 pg_clog目录pg_xact 事务日志文件,记录哪些事务已完成 pg_log 数据库日志, 记录host,db,慢SQL信息 归档或者流复制发生异常的时候,事务日志会不断生成,有可能会造成磁盘空间被塞满,最终导致DB挂掉或者起不来。 遇
阅读全文
posted @ 2020-07-17 17:10
helontian
阅读(1765)
推荐(0)
摘要:
Oracle11g RAC节点2实例,出现大量的报错TNS-12535: TNS:operation timed out,连接操作超时 通过报告,也能得到印证,数据库等待事件SQL*Net message from client、SQL*Net message to client较为严重, SQL*
阅读全文
posted @ 2020-07-17 15:51
helontian
阅读(189)
推荐(0)
摘要:
Oracle11.2.0.4 2节点RAC Tue Dec 24 15:01:10 2019 ARC0: Archiving disabled thread 2 sequence 1531 Archived Log entry 7060 added for thread 2 sequence 153
阅读全文
posted @ 2020-07-17 15:46
helontian
阅读(471)
推荐(0)
摘要:
数据库版本: Oracle11.2.0.1 数据库异常宕机 Exception [type: SIGSEGV, SI_KERNEL(general_protection)] [ADDR:0x0] [PC:0x17E8693, opiaba()+639] [flags: 0x0, count: 1]
阅读全文
posted @ 2020-07-17 15:36
helontian
阅读(792)
推荐(0)
摘要:
数据库版本:Oracle11.2.0.4 架构:2节点RAC、单实例DG 问题描述:在RAC节点新增视图,可进行正常查询;但是在DG库查询视图是报错: 查询DG状态是正常的,但是执行SQL的时候报出ORA-06512 SQL> SQL> select count(*) from prod.VIEW_
阅读全文
posted @ 2020-07-17 15:13
helontian
阅读(1069)
推荐(0)