This EBOOK will help you to Create a logical Standby Database... :)Full description
Practice 1 Creating a Physical Standby DatabaseFull description
Creating Database Connection
Full description
Creation of a Logical Database
Full description
Full description
Descripción completa
Full description
kreiranje baze za autoskoluFull description
Creating a Servitor
Full description
Creacion de un rol- StanislavskiFull description
general outline of different techniques for one to create thought forms
general outline of different techniques for one to create thought forms
Full description
analytical reasoningFull description
I have put together this information to have a precise configuration of tools needed to create a Mail Server on Linux.
Descripción: Intense Strongman Workouts
Creating a Logical Standby Database This chapter steps you through the process of creating a logical standby database. It includes the following main topics: • •
Prerequisite Conditions for Creating a Logical Standby Database StepbyStep Instructions for Creating a Logical Standby Database
1.1 Prerequisite Conditions for Creating a Logical Standby Database Table !! Preparing the Primary Database for Logical Standby Database Creation Reference
Task
Section Section !.!.! Determine Determine Support Support for Data Data Types Types and Storage Storage "ttribute "ttributess for Tables Tables Section Section !.!.# $nsure $nsure Table %ows %ows in the Primary Primary Databas Databasee Can &e 'niquely 'niquely Identif Identified ied
1.1.1 Determine Support for Data Types and Storage Attributes for Tables If the primary database contains unsupported tables( log apply ser)ices automatically e*clude the tables when applying redo logs to the logical standby database. SQL> SELECT OWNER, TABLE_NAME FROM DBA_LOGSTDBY_UNSUPPORTED; OWNER TABLE_NAME ------------------------------ -----------------------------OE CUSTOMERS
1.1. !nsure Table Ro"s in t#e Primary Database Can $e %niquely &dentified If your application ensures the rows in a table are unique( you can create a disabled primary +ey RELY constraint on the table else create the primary +ey. SQL> SELECT OWNER, TABLE_NAME FROM DBA_LOGSTDBY_NOT_UNIQUE; OWNER TABLE_NAME ------------------------------ -----------------------------SCOTT SALGRADE SQL> ALTER TABLE SALGRADE ADD PRIMARY KEY (GRADE) RELY DISABLE;
!
1. Step'by'Step &nstructions for Creating a Logical Standby Database Table !# Creating a Logical Standby Database Reference
Task
Database
Section !.#.!
Create a Physical Standby Database
Primary
Section !.#.#
Stop %edo "pply on the Physical Standby Database
Standby
Section !.#.,
Prepare the Primary Database to Support a Logical Standby Database
Primary
Section !.#.-
Transition to a Logical Standby Database
Standby
Section !.#.
/pen the Logical Standby Database
Standby
Section !.#.0
1erify the Logical Standby Database Is Performing Properly Standby
1..1 Create a P#ysical Standby Database 2ollow the information below and create a physical standby database. Primary Server - HQLINUX26 Userid - oracle Setfile- setlgstdby DBN!"#- lgstdby DBUNIQU#N!"# - #$HQ Sta%dby Server - I&LINUX'6 Userid - oracle Setfile- setlgstdby DBN!"#- lgstdby DBUNIQU#N!"# - "I(
1.. Stop Redo Apply on t#e P#ysical Standby Database SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
#
1..( Prepare t#e Primary Database to Support a Logical Standby Database 1..(.1 Prepare t#e Primary Database for Role Transitions SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_3= 'LOCATION=/ultra!"#/ORACLE/l$%t!&/%t!&_ar( VALID_)OR=*STANDBY_LOG)ILES+STANDBY_ROLE, DB_-NIQ-E_NAME=EGHQ'; SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_#='LOCATION=/ultra!"#/ORACLE/l$%t!&/ar( VALID_)OR=*ONLINE_LOG)ILES+ALL_ROLES, DB_-NIQ-E_NAME=EGHQ'; SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_.= SERVICE='MITEC LGR SYNC A))IRM VALID_)OR=*ONLINE_LOG)ILES+ 0RIMARY_ROLE, DB_-NIQ-E_NAME=MITEC'
1..(. $uild a Dictionary in t#e Redo Data SQL> E1EC-TE DBMS_LOGSTDBY2B-ILD;
1..) Transition to a Logical Standby Database 1..).1 Con*ert to a Logical Standby Database SQL> ALTER DATABASE RECOVER TO LOGICAL STANDBY MISDB;
1..). Create a +e" Pass"ord ,ile ra45 67l8=ra4597%! 4a%%5r=ral8 8:tr78%=."
1..).( Ad-ust &nitialiation Parameters for t#e Logical Standby Database SQL> SH-TDON; SQL> START-0 MO-NT; SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_#= 'LOCATION=/u"#/ORACLE/l$%t!&/ar( VALID_)OR=*ONLINE_LOG)ILES+ALL_ROLES, DB_-NIQ-E_NAME=MITEC' SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_.= 'SERVICE=EGHQ LGR ASYNC VALID_)OR=*ONLINE_LOG)ILES+0RIMARY_ROLE, DB_-NIQ-E_NAME=EGHQ' SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_3= 'LOCATION=/u"#/ORACLE/l$%t!&/%t!&_ar( VALID_)OR=*STANDBY_LOG)ILES+STANDBY_ROLE, DB_-NIQ-E_NAME=MITEC'
1../ 0pen t#e Logical Standby Database
,
SQL> ALTER DATABASE O0EN RESETLOGS; SQL> ALTER DATABASE START LOGICAL STANDBY A00LY IMMEDIATE;
1.. 2erify t#e Logical Standby Database &s Performing Properly See the following sections for help )erifying that the logical standby database is performing properly: •