Backups on the physics of the standby database?
I use dataguard and standby a physical database. How to assign backups on the physics of the standby database to reduce the load on the primary database.environment: windows
Database version: 11.2.0.1.0
What are the pro and cons on the allocation of jobs of RMAN backups for the physics of the standby database?
Hello;
The backup database is an identical copy of the primary database block.
Therefore, you just save one of the two (you can choose to only save the day before, however, if you want to remove the load on the primary). But if you are uncomfortable with the primary backup, it is not necessary for the safeguarding of the day before. (Since you can recreate the primary backup before).
The only important part, is that you use the RMAN catalog. Then only known RMAN, the two are identical and can use the same backup.
Best regards
mseberg
Tags: Database
Similar Questions
-
Destination different archivelog on the physics of the standby database
Hello
Can I set different archivelog destination for the physics of dual standby database? (Because of space issues) How can I do?
For example, on the site main archivelogs reside in/u01/ORCL/archivelog and I want on phy. side Eve archive dest. under/u08/ORCL/archivelog.
You can also give LOG_ARCHIVE_DEST_1 in file init Eve, so whenever you start sleep/auxiliary instance automatically done dest_1 refers to/u08/orcl (whereever you want). So you can have destination archive anywhere but must have the appropriate permissions and location should be available.
If you want to set a destination, then again you can use the "ALTERNATE" sort clause only when the primary location unavailable or unable to archive, and then, of course, he wrote in the other location you have specified a pfile.
You can check this
http://docs.Oracle.com/CD/B28359_01/server.111/b28294/log_arch_dest_param.htm#i91817
-
The physics of the standby database Y2K problem
Hi all
I am the passage of primary school to the physics of the standby database. Physical standby is in "recovery management" mode using real-time applies and is in editing mode. I've run alter database commit to switch to sleep mode physical with the logoff command. Now I'm waiting for standby mrp leave after treated RAH recording, but it seems mrp was hanged.
Here is the content of the database pending:
Online Redo Log recovery: thread 1 mem Group 5 Seq 620 reading 0
Mem # 0: /oracle/app/oracle/dbrac/th1-redo5a.log
Activation reset sleep ID 749049115 (0x2ca5951b)
Met Media Recovery end Redo indicator
Media recovery continues
Media, recovery waiting for thread 1 sequence 621
Journal archived 14 extra for each thread 1 620 0x2ca5951b dest ID sequence entry 1:
Need help to solve.
Thank you
Sandy.Hello;
After after deliver you (successfully) a:
alter database commit to switchover to physical standby with session shutdown
You must:
Shutdown the former primary and mount as a standby database
Check out my step by step:
http://www.Visi.com/~mseberg/data_guard/Data_Guard_switchover.html
Read everything (all steps) before continuing.
Best regards
mseberg
-
failover and failback on the physics of the standby database.
Hi all
I use the EE 10.2.0.4.I oracle version have a configuration database and named prim and Everelief. I tried the method of failover. I liquidated low primary eve and convert to the new primary database.
•Arretez repeat applies.
Run the following SQL statement on the database waiting for target:
SQL > ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
Standing by applying all the data received to redo.
In this we give indication to the standby database primary database is no more.
SQL > ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH;
Once the order of FINISH is completed, the mode of protection of the primary database is lowered to optimum performance, regardless of its original protection mode. This is done because the new primary can be activated with on a standby
SQL > select protection_mode, protection_level from database v$
Level of Protection for the protection Mode
——————– ——————–
PERFORMANCE WITHOUT PROTECTION
•Check that the standby database target is ready to become a primary database.
Query column SWITCHOVER_STATUS of the view V$ DATABASE on the database waiting for target.
•If the physical database ensures the main role.
SQL > ALTER DATABASE COMMIT to THE MOVE to THE PRIMARY WITH the STOP of the SESSION;
•Open the new primary database
SQL > ALTER DATABASE OPEN;
•At this point the level of protection is passed to Max Performance "Unprotected".
Circuits the new primary database.
How can I see this previous situation?Hello;
I can share my test notes (Oracle 11) should work even in 10:
http://www.Visi.com/~mseberg/Data_Guard_Failover_Test_using_SQL.PDF
Best regards
mseberg
-
Script of free space for the physics of the standby database
I need to determine how much free space I have in my physical storage spaces of the standby database. Is there a query for this? Remember that dba_ views are not available in a mounted single standby database so I'm pretty well limited to using the views v$. Thank youWhy do you think you have to check the free space into a storage ensures physical ?
You cannot create all segments anyway.Kind regards
Uwe Hessehttp://uhesse.WordPress.com
-
Effects of the opening of a primary database in resetlogs on the standby database
Hi all
Operating system: Solaris
DB: 11 gR 2
Can anyone throw some light below the explanation is given in case of recovery through the OPEN RESETLOGS Statement oracle documentation
If the database pending... Then... Perform these steps... Not asked to redo data beyond the new resetlogs SCN (after the start of the new branch of data recovery) Redo apply automatically takes the new branch of the roll forward. No manual intervention is required. The MRP automatically resynchronizes the database pending with the new branch of data recovery. Here is the link of the source:
Manage a database of physical standby
Kind regards
Just to give a concrete example, I did a test on one of my VM boxes. The database currently shows:
SQL > select sequence #, the journal of v status $;
SEQUENCE # STATUS
---------- ----------------
34 ACTIVE
CURRENT 35
ACTIVE 33
While on the eve, I stopped the redo apply so the standby status is:
SQL > select sequence #, used from v$ archived_log;
SEQUENCE # APPLIED
---------- ---------
YES 30
31 YES
32 YES
33 NO.
34 NO.
The database ensures in a few newspapers behind the primary.
On the primary, I moved the journal a few sequences, close, the bootable media and restored and recovered 37 sequence:
RMAN > run
2 > {}
3 > restore database;
4 > up 37 sequence;
5 > restore database;
6 > alter database open resetlogs;
{7 >}
During the open resetlogs operation, I have to tail the log of alerts on the standby database and the following output shown:
RFS [11]: identified the type of database such as 'physical' standby: customer is ARCH pid 17192
RFS [11]: new branch archives REDO: 844006029 current: 843649185
RFS [11]: Journal selected 102 for thread 1 1 dbid-204899919 branch of the 844006029 sequence
RFS [11]: new Branch (resetlogs_id) of archive REDO: before 844006029: 843649185
RFS [11]: ID of Activation of archives: current 0xf3d44942: 0xf3cf5ac3
RFS [11]: effect of primary database OPEN RESETLOGS
RFS [11]: entry of Incarnation added to Branch (resetlogs_id): 844006029 (ORCL11PS)
Fri Apr 04 14:07:39 2014
Definition of embodiment of recovery target 2
Fri Apr 04 14:07:39 2014
Archived journal 21 additional for each sequence 1 1 0xf3d44942 dest ID thread entry 1:
So as you can see, the log shows the standby detects the resetlogs on the primary operation and the new branch of the roll forward and received the next archivelog with sequence 1.
Audit on the eve, it shows the status following the archivelogs:
SEQUENCE # APPLIED
---------- ---------
31 YES
32 YES
33 NO.
34 NO.
35 NO.
36 NO.
37 NO.
38 NO.
1 NO.
2 NO.
And after restart the managed recovery process, it now shows:
SEQUENCE # APPLIED
---------- ---------
31 YES
YES 30
YES 19
YES 33
34 YES
35 YES
YES 36
37 NO.
38 NO.
1 YES
2 YES
Archivelogs with sequence 37 and 38 were not implemented because of the CAMILLE on the main sequence until (but not including!) 37 and then properly applied the next archivelogs of the new branch of the roll forward, with sequence 1 and 2.
-
Switching from primary to the standby database
Hi all
Please can you give me some advice/comments/documents to help understand the steps that should be applied to move from a primary database to a standby database.
I'm using Oracle 11 g 2 with Dataguard.
What are the steps that must be applied from the primary to the standby database.
Kind regardsHello again;
My paper is a physical standby database. I have NOT tested using a logical standby database.
The steps documented to perform the failover of the database logical Standby is located in:
Perform the failover in a Configuration of data hold without the [ID 232240.1] Data Guard Broker
Look under the heading "the steps to perform the logical passage with the Standby databases:
I hope this helps.
There is additional information here:
http://ayyudba.blogspot.com/2007/10/performing-switchover-in-Data-Guard.html
Best regards
mseberg
-
Archived not getting applied to the standby database.
Hello
I turned the parameter standby_file_management to manual and since I created 3 primary data file, but they are not applied to the standby database.
I turned on the Auto setting and started the MRP process but still not able to apply archive.
Version Oracle 10.2.0.5
Please suggest,
Amit SharmaHello
Your problem is that the MRP standby automatically when a data file is added on the primary database. The reason would be that the parameter STANDBY_FILE_MANAGEMENT is set to MANUAL on the standby database.
Please refer to this http://shivanandarao-oracle.com/2012/04/02/managed-recovery-process-mrp-terminates-on-standby-database-upon-adding-datafile-on-the-primary-database/
It will be useful.
Kind regards
Shivananda -
Data file not shipped from the primary database to the standby database
Hello
(1) create a new user
(2) created a new table space and add datafile on the primary database
(3) the value tablespace default user
But so far, this new data file is not delivered on the standby database.
Version of database - 10.2.0.3
OS - Windows
Setting of primary and Standby: -.
SQL > show parameter standby_file_management;
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
standby_file_management string AUTO
Both have the same file system, but the difference is case sensitive.
Primary data file location - D:\testdata
Location of file data at rest - D:\TESTDATA
Help, please.MRP process is running on the standby database?
If it is then try to pass, log on the primary database and share your result.
-
Upgrade to 11.2.0.4 with the physics of the standby database
Dear gurus,
We have the obligation to upgrade databases 11.2.0.1 existing 11.2.0.4 and 11.2.0.2 to 11.2.0.4 running on AIX boxes. We have physical databases of Eve configured for these databases of different version.During the preparation of the documentation for upgrade, we observed that FORCE_LOGGING is disabled for the production databases and observed, there are objects along 350 + with journaling = No. and logging = NULL and patterns are SYS, SYSMAN, APEX_030200, OLAPSYS, XDB, SYSTEM, OIMDBUSER, MDSYS, EXFSYS, WMSYS, ORDDATA, PERFSTAT.
My query:
I can still proceed with the upgrade still under the document indicated for "upgrading a database with a physical Standby database in place" without you connect the data dictionary objects will be not be updated pending database.
Can you please let me know your suggestions on this please?
Kind regards
Kumar
Hello;
Quote:
"Keep the database in LOGGING mode FORCE as long as the backup database is necessary."
Of
Oracle® DataGuard of Concepts and Administration 11 g Release 2 (11.2) E10700-02
I think I FORCE turn on CONNECTING to the primary database and rebuild the eve before doing the upgrade.
Best regards
mseberg
-
create the standby database using backup to restore
Hello
I'm creating a database ensuring 11g using a manual process of restoring a backup, but nothing helped. I can restore same failed backup.
Here are the steps that I followed (courtesy of ORACLE-BASE) BASE-ORACLE Data Guard physical standby Setup in Oracle Database 11 g Release 2 -
I'm confused about these steps:
Copy the files from the primary to the standby server.
Copy Standby controlfile to all locations.
$ scp oracle@ol5-112-dga1:/tmp/db11g_stby.ctl /u01/app/oracle/oradata/DB11G/control01.ctl
$ cp /u01/app/oracle/oradata/DB11G/control01.ctl /u01/app/oracle/fast_recovery_area/DB11G/control02.ctl
My question is, for the 2nd copy, I have to stop the primary db? given that control01.ctl is updated all the time?
Then I have not used the previous day ctl (db11g_stbg.ctl) and copy it into /u01/app/oracle/fast_recovery_area/DB11G/control02.ctl instead?
Your help is very appreciated.
Check "ORCL" your backup files will be present in this place.
-
GoldenGate to replicate physical of the standby database
Friends,
I don't have an answer instead of data guard
Could we use oracle Portal gold to replicate a physical custody ensures data in a new logical basis?
Or we need to replicate keeps the primary database data in a new logical basis?
Thank you
newdba
Use the extract parameter TRANLOGOPTIONS with the ARCHIVEDLOGONLY option. This
force option extracts for ALO mode against a primary or logical standby
database, as determined by the PRIMARY or STANDBY LOGIC value in the db_role
column in the view v$ database. The default is to read newspapers online.
TRANLOGOPTIONS with ARCHIVEDLOGONLY is not necessary if you use the ALO mode against a
standby database physical, as determined by the PHYSICAL INTELLIGENCE value to the
db_role column of v database $. Extract works automatically in ALO mode if it
detects that the database is a physical standby.
-
Script to remove applied connects on the physics of the standby database
Hello
Our prod DB is configured with Dataguard physical standby Database (10.2.0.4) on Linux.
I'm trying to write a script to delete the archives that are applied on a standby database to DR (standby server).
Any help will be appreciated.
Kind regards
Viswa08viswa08 wrote:
Hi pavan,.I received the script of OTN itself below is the script and I can't understand how the sequence is deleted.
******************************************************************************************
###################
#! / usr/bin/kshscript = ' basename $0'.
SID = RW2P
dir = / u04/oracle / $sid/archProf = $HOME /'echo ${sid} | AWK ' {print tolower($0)} ".profile
tmpf=$home/.$script.tmpLogCount = 100
function GetAppliedLogfileSequenceNumber
{
sqlplus-s/nolog$tmpf
Connect / as sysdba
Go head
set pages 0
Select max(sequence#) from v$ archived_log in case of application = 'YES ';
output
EXPRESSIONS OF FOLKLORE
return
}If [f $prof]
then
. $prof
on the other
print ' $script: $prof no such file or directory ".
Output 1
FI
If [d $dir]If there is the $dir
then
CD $dirchange directory to $dir
GetAppliedLogfileSequenceNumber
call the GetAppliedLogfileSequenceNumber function
So [s $tmpf]
If there is no sequence max
then
Count ='cat $tmpf | AWK '{print $1} ' | SED 1 d; »Set as maxsequence
If [${#count} - No 0]
If the counter is not zero
then
Let count = $count - $logcountAssign County County-100 the script does not remove the last 100 archivelogs applied.
If ((County<=>=>
If count is less than or equal to zero
then
print ' $script: journal count is set to zero (or not) no or newspapers to remove.
Exit 0
FI
on the other
Exit 0
FI
on the other
print ' $script: no archive or newspapers to remove.
Exit 0
FI
While [http:// f ${sid} _arch_1_$ {number} .arc]If $ORACLE_SID_arch_1_count.arc is
do
RM-f ${sid} _arch_1_$ {number} .arcdelete
RCODE = $?
RCODE is assigned as the return code of the rm command.
If ((rcode! = 0))
If the return code is success
then
Print "$script: can't delete: ${sid} _arch_1_$ {number} .arc.
Output 1
on the other
Let count = $count - 1reduce the number of 1
FI
fact
RM-f $tmpfdelete the temporary file.
on the other
print ' $script: $dir no such file or directory ".
Output 1
FI
Exit 0Hope will help you.
Kind regards.
-
Need help on Physics of the standby database
Currently, our physical database ensures runs in manual mode and newspapers is applied by me manually within 2 days.
And also when I add a data file in the primary database, I have to manually add the file again to sleep.
This process becomes too painful, that now I want to automate this process,
Now my question is
To automate this process, I need to bounce back to the database?
I want to have the gap of 2 days for check log to apply the process? How should I do this.
And all the settings I need to change.
Please advice...
Oracle 9.2.0.7 verison
Solaris 10 operating systemORA_DBA2 wrote: for the automatic management of the files that I need to enable these settings,
For example
standby_archive_dest = ' / disk1/oracle/oradata/payroll/standby.
db_file_name_convert = ('/ disk1/oracle/oradata/pay /',)
’db_file_name_convert and redo_file_name_convert are parameters used for databases of relief when waiting for redo log files and data files are in different places of the primary database. If you do a conversion of the locations. If they are the same as the primary, then you don't need the parameters. What do you need to make sure of, is that you have standby_file_management = 'auto', while created for primary data files are also created for sleep.
-
Switch on the physics of the standby database
Hello
I'm the primary database "DPRB" on the ip address of the server 10.0.0.7.
and database ensures "DBST" Physics on the ip address of 10.0.0.8 Server
I can spend the roles of database with integrated OEM Data Guard Broker.
At some methods including ip automatic change of database pending after switch? cuase users didn't change tsnnames of files?
Can I use LDAP internet directory or 2 network interfaces on private and public servers, but is located in oracle, another solution? simple like DataGuard brokerFollow this metalink note:
Step by step guide how to configure and test the failover of Client for the transition to the Dataguard and failover.
DOC - ID: 740029.1Werner
Maybe you are looking for
-
C50D-A-1308 drive satellite does not
Hello For some reason, my drive does not read disks. I tried all that is on the following site (even if it is for HP laptops); None of it worked, and I'm stuck for ideas. I have a feeling that the laser must be replaced. The disk will turn briefly, b
-
Toolbox graphic and assembly language of Saturn on the HP 50 g
Hello. It's posibble to use instructions of the graphic Toolbox in Saturn on the HP 50 g Assembly language programs? If possible, give an example of the program which draws the filled area.
-
My CPU has been replaced on the satellite P series
Hello I'm new to the Forum and registered once more to the entire page to Toshiba, because I have problems with my laptop. A month ago, my laptop just stop while I was working on this subject, as usual, nothing special. He replied, I have been partic
-
threads, processes and the dual core processors
Hello We use the CVI and we want to use multithreading. The application is running on a dual core processor, so the question is if it is possible to define the basis on which the thread is running? Does anyone know if it is possible to start a progra
-
I can cursor windows 7 on windows xp?
Hellocan I get the cursor windows 7 on windows xp or they do not workthnx