做DG的时候 主库两个节点无法把日志传到备库上 SQL> select dest_name,status,type,database_mode,protection_mode,destination,applied_seq#,db_unique_name from v$archive_dest_status; DEST_NAME STATUS TYPE DATABASE_MODE PROTECTION_MODE DESTINATIO APPLIED_SEQ# DB_UNIQUE_NAME ---…
主库有报错如下: ORA-16047: DGID mismatch between destination setting and standby 原因:主库参数设置错误,检查下列参数:log_archive_configfal_clientfal_serverlog_archive_dest_1log_archive_dest_2…
Setting up a database adapter zend-db provides a general purpose database abstraction layer. At its heart is the Adapter, which abstracts common database operations across the variety of drivers we support. In this guide, we will document how to conf…
本文转自:https://damienbod.com/2016/09/22/setting-the-nlog-database-connection-string-in-the-asp-net-core-appsettings-json/ NLog posts in this series: ASP.NET Core logging with NLog and Microsoft SQL Server ASP.NET Core logging with NLog and Elasticsearc…
Data Guard搭建完毕之后,执行开启归档路径2,结果发现不同步, SQL> alter system set log_archive_dest_state_2=enable; 查看错误日志,发现有PING[ARC2]: Heartbeat failed to connect to standby 'gqtzdb_dg'. Error is 16047.的报错: [oracle@KG-ORA-01 trace]$ tail -100f alert_gqtzdb.log Mon Jul 03…
1. DB_NAME 表示数据库名称,DB_NAME 会保持在数据文件头.控制文件.REDO文件里,所以更改DB_NAME不能仅仅修改spfile ,还需要用nid 来进行更改,并且更改后还需要手工做些工作,使其生效.DB_NAME 最长 8 个字符. 2. 在 DG下,主库和物理从库的 DB_NAME 是一致的,主库和物理从库的DB_UNIQUE_NAME 不同,DB_UNIQUE_NAME 用于标识主从库. 修改 DB_UNIQUE_NAME 需要修改 spfile 并重启数据库:由于 DB…
此次的操作环境是Oracle11g 单实例,os为Linux,采用duplicate在线创建物理备库 primary上设置相关参数 ALTER SYSTEM SET LOG_ARCHIVE_CONFIG='DG_CONFIG=(ora11g,stdb)';alter system set log_archive_dest_2='SERVICE=DB_DG2 lgwr async valid_for=(online_logfiles,primary_role) db_unique_name=std…
系统环境:rhel6.2_x64+Oracle RAC11g 操作过程: 1.非归档模式 SQL> archive log list; Database log mode No Archive Mode Automatic archival Disabled Archive destination /u01/oracle/app/oracle/11.2.0/db/dbs/arch Oldest online log sequence 303086 Current log sequence 303…
1,现象是oracle启动报错例如以下: SQL> startup ORA-16032: parameter LOG_ARCHIVE_DEST_3 destination string cannot be translated ORA-07286: sksagdi: cannot obtain device information. Linux-x86_64 Error: 2: No such file or directory SQL> google了下,运行例如以下命令还是没有生效. AL…
How to Create Transportable Tablespaces Where the Source and Destination are ASM-Based (Doc ID 394798.1) APPLIES TO: Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.2.0.3 [Release 10.1 to 11.2]Oracle Database Cloud Schema Service - Vers…
今天连接数据库,结果报错,ora-00257查看 [oracle@exam oracle]$ oerr ora 00257 00257, 00000, "archiver error. Connect internal only, until freed." // *Cause:  The archiver process received an error while trying to archive //       a redo log.  If the problem is…
Oracle 11g 物理Dataguard日常操作维护(二) 2017年8月25日 14:34 3.3 3.3.1 查看备库进程状态 SYS(125_7)@fpyj123> select process,client_process,sequence#,status from v$managed_standby ; PROCESS   CLIENT_P  SEQUENCE# STATUS --------- -------- ---------- ------------ ARCH     …
I. Pre-Switchover Checks These steps should be completed before the switchover planned maintenance window begins. Our recommendation is that these are done a couple days in advance. Verify Managed Recovery is running on the standby The following quer…
[RMAN]RMAN跨版本恢复(下)--大版本异机恢复 BLOG文档结构图 ORACLE_SID=ORA1024G 关于10g的跨小版本恢复参考:http://blog.chinaunix.net/uid-26736162-id-4942816.html 关于11g的跨小版本恢复参考:http://blog.itpub.net/26736162/viewspace-1565655/ 关于在不同版本和平台之间进行还原或复制的常见问题 :http://blog.itpub.net/26736162/…
环境:rhel 6.7 64位源库:ORACLE 11204 RAC 未打PSU备库:ORACLE 11204 RAC PSU 20170718 一.停止中间件并做全库备份 1.在节点2做全备 2.首先要规划主.备库db_unique_name 主库: 备库: ============================================================db_name mgrdb db_name mgrdbdb_unique_name mgrdb db_unique_n…
1.主库准备工作 2.物理备库准备工作 3.创建物理备库 写在前面: 最终实现环境:11.2.0.4版本 2节点RAC + 1节点DG 本文旨在弄清楚整个搭建过程中涉及到的基础概念: 本文安装maximum performance mode(最大性能模式)也是DG默认的数据保护模式: 前提环境: 1).主库已安装11.2.0.4版本 RAC数据库 #public ip 192.168.56.150 jyrac1 192.168.56.152 jyrac2 #private ip 10.10.10…
CLUSTER_DATABASE Property Description Parameter type Boolean Default value false Modifiable No Range of values true | false Basic Yes Real Application Clusters For all instances, the value must be set to TRUE. CLUSTER_DATABASE is a Real Application C…
作者:david_zhang@sh [转载时请以超链接形式标明文章] http://www.cnblogs.com/david-zhang-index/p/5042640.html参照文档:https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-configuring-oracle-data-guard/?cdn=disable#implement-the-physical-standby-databas…
1. Because of a power outage,instance failure has occurred. From what point in the redo log does recovery begin and where does it end?A. Current redo log and inactive redo logB. Checkpoint position to end of redo logC. Beginning of redo log to end of…
系统:Red Hat Enterprise Linux 6.4 数据库:Oracle 10.2.0.5.0 Patch Set 4 主机:10dg1 192.168.1.91 10dg2192.168.1.92 内存:1G 虚拟机:VBox 4.2.14 一,操作系统部分(略) 能够參考我之前写的博客 http://blog.csdn.net/aaron8219/article/details/38239065 二,数据库部分 *****主库配置***** 1. 开启归档,force loggi…
多DBA一定rm -rf讨厌它,也许有一天自己将数据库,以消除一个中午,然后.那么就没有一个--这种情况下,--这个不幸真的发生,你真的无药可救?不必要,有解决方法.也许你遇到不幸时,有一天.你可以用它来拯救自己.里做恢复操作的前提是没有可用的rman备份.或者数据库冷备份等,也就是说,没有不论什么备份. 一.登陆SQLPLUS,并启动数据库 [oracle@ora10g ~]$ sqlplus / as sysdba SQL*Plus: Release 10.2.0.1.0 - Product…
101.Identify two situations in which you can use Data Recovery Advisor for recovery. (Choose two.) A. The user has dropped an important table that needs to be recovered. B. The database files are corrupted when the database is open. C. You are not ab…
501.Note the output of the following query;SQL> SELECT flashback_archieve_name, status FROM dba_flashback_archieve;FLASHBACK_ARCHIEVE_NAME STATUSFLA1You executed the following command to enable Flashback Data Archive on the EXCHANGB_PATE table:ALTER…
401.Which of the following are correct about block media recovery? (Choose all that apply.)A. Physical and logical block corruption is recorded automatically in V$DATABASE_BLOCK_CORRUPTION.B. Logical corruptions are repairable by BMR.C. Physical corr…
327.You have a database with the following tablespaces: SYSTEM, SYSAUX, UNDO, USERS, TEMP.You want to"roll back" the data in the USERS tablespace to the way it looked yesterday. Whichtablespaces do you need to perform a point-in-time restore ope…
   每次想要使用这个js时,总是要到官网上下载,太麻烦,现在把它收录了 jquery-1.11.1.js /*! * jQuery JavaScript Library v1.11.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under…
DeployingCustomizations in Oracle E-Business Suite Release 12.2 This documentdescribes how to deploy customizations in an Oracle E-Business Suite Release12.2 environment. Follow these instructions to ensure that your customizationsare handled appropr…
Questions and Answers 1) 我能用更高版本的 Oracle 还原或复制旧版本的数据库吗? 2) 我能在两个不同的补丁程序集之间进行还原或复制吗? 3) 我能在同一操作系统的不同版本之间进行还原或复制吗? 4) Oracle 的位(bit)级别(32 位或 64 位)不匹配时,可以进行还原或复制吗? 5) 可以将更高版本的备份还原到较早版本的 Oracle 吗? 6) 我能在两个不同的平台之间还原或复制我的 RMAN 备份吗,例如 Solaris 到 Linux? 适用于:…
Deinstall卸载Oracle软件及数据库+GI集群软件 1. 本篇文档应用场景: 需要安装新的ORACLE RAC产品,系统没有重装,需要对原环境中的RAC进行卸载: #本篇文档,在AIX 6.1版本的系统中进行卸载 #流程:卸载Oracle软件及数据库 卸载GI集群软件: 两步走 #查询环境变量 rac11g770b:/picclife/app/grid$ which lsnrctl /picclife/app/11.2.0/grid/bin/lsnrctl rac11g770b:/pi…
一.环境说明 主库:10.110.96.88 备库:10.110.96.87 数据库实例:gisc 二.主库操作 1.开启force logging ALTER DATABASE FORCE LOGGING; 2.开启日志归档 a.查看日志归档是否开启 ARCHIVE LOG LIST; b.如果没有开始归档则开启 SHUTDOWN IMMEDIATE; STARTUP MOUNT; ALTER DATABASE ARCHIVELOG; ALTER DATABASE OPEN; 3.创建stan…