0% found this document useful (0 votes)
24 views15 pages

Oracle Standby Database Requirements

The document discusses requirements for Oracle standby databases. It states that for a physical standby in Oracle 9i Release 1 and earlier, the primary and standby databases must be completely homogeneous in software, hardware, and operating system. For a logical standby in Oracle 9i Release 2 and later, the databases can be heterogeneous, allowing the primary and standby to run on different operating systems. Data Guard is introduced as providing additional features over a basic standby database configuration.

Uploaded by

Ma Gic
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views15 pages

Oracle Standby Database Requirements

The document discusses requirements for Oracle standby databases. It states that for a physical standby in Oracle 9i Release 1 and earlier, the primary and standby databases must be completely homogeneous in software, hardware, and operating system. For a logical standby in Oracle 9i Release 2 and later, the databases can be heterogeneous, allowing the primary and standby to run on different operating systems. Data Guard is introduced as providing additional features over a basic standby database configuration.

Uploaded by

Ma Gic
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Ask Tom "Oracle standby database hardware/softwar..." http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION...

Questions Resources Archives Links Popular Hot Files

Home > Question Details

Rich -- Thanks for the question regarding "Oracle standby database hardware/software requirements", version
8.1.7
Submitted on 3-Jul-2002 9:28 Eastern US time Tom's latest followup | Bookmark | Bottom
Last updated 21-Oct-2008 15:39

You Asked
I know primary and the standby database need to be the same base release level. But, do
they have to be the same edition of the database - (primary enterprise edition and
standby standard edition), and the same O/S - (primary on SUN Solaris and standby on
Linux) ??

and we said...
For a physical standby (9iR1 and before) they must be 100% homogenous -- Software,
hardware (Sun to Sun, could be Sun 4500 to Sun E450 but must be sun sparc to sun sparc
for example), and OS. EE to EE and SE to SE.

updated this answer..

For a LOGICAL standby (9iR2 and above), they are still homogenous although by using
Oracle streams directly, you can achieve the same goal of a standby but use heterogenous
hardware.

Sorry for the confusion. See

http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96571/toc.htm

Reviews

Exactly what I needed July 3, 2002 - 1pm US/Eastern Bookmark | Bottom | Top
Reviewer: Rich Stucke from St. Louis, MO

This answer is exactly what I needed to know. If I understand correctly: If my Primary database
is Oracle 9.2 EE on a SUN Sparc Solaris 4500, I can have my standby database as Oracle 9.2 EE on a
Linux box ??

Followup July 3, 2002 - 2pm US/Eastern:

with a logical standby -- yes.

that is a new 9iR2 feature -- we turn the binary redo stream into logical change records which are
turned into SQL and applied to the logical standby (you can still do a physical standby of course)

Correct July 4, 2002 - 5am US/Eastern Bookmark | Bottom | Top


Reviewer: Akthar A.J. from Sun Micro - Singapore

If you guys have solaris platform ,'Data Guard' can be used to configure standby DB. Available
right from 8i. Have any folks tried it..It is really fantastic and Real point in time.

Tom , any comment on Data Guard..

Followup July 4, 2002 - 11am US/Eastern:


Data guard is cool, better then standby. More features, more options.

Doesn't require solaris -- just any two homogenous platforms that Oracle is on. and in 9iR2 -- can
be heterogenous as well (Solaris to Nt, Nt to HP/UX etc)

July 4, 2002 - 9am US/Eastern Bookmark | Bottom | Top

1 of 15 23.10.2008 7:20
Ask Tom "Oracle standby database hardware/softwar..." http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION...

Reviewer: Sagi from India

What is Logical and Physical Standby.

Would appreciate if you could explain in short.

Thanx in advance.

Regards,

Followup July 4, 2002 - 11am US/Eastern:


http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96653/standbycon.htm#1005573

<quote from there>

* Physical standby databases

A physical standby database is physically identical to the primary database, with on-disk
database structures that are identical to the primary database on a block-for-block basis. The
physical standby database is updated by performing recovery. It can either be recovering data or
open for read-only reporting.

* Logical standby databases

A logical standby database is logically identical to the primary database. The logical
standby database is updated using SQL statements. The tables in a logical standby database can be
used simultaneously for recovery and for other tasks such as reporting, summations, and queries.

</quote>

August 21, 2002 - 4pm US/Eastern Bookmark | Bottom | Top


Reviewer: A reader

Hi Tom,

I am little confuse ,

1- you said:
<quote>
Data guard is cool, better then standby. More features, more options.

Doesn't require solaris -- just any two homogenous platforms that Oracle is on.
and in 9iR2 -- can be heterogenous as well (Solaris to Nt, Nt to HP/UX etc)
<quote>

But when I read the operation requirements in the Oracle documentation about Data Guard for the
release 9i2, they said
<quote>
The hardware and operating system architecture on the primary and standby locations must be the
same. For example, this means a Data Guard configuration with a primary database on a 32-bit Sun
system must have a standby database that is configured on a 32-bit Sun system. Similarly, a primary
database on a 64-bit HP-UX system must be configured with a standby database on a 64-bit HP-UX
system, a primary database on a 32-bit Linux on Intel system must be configured with a standby
database on a 32-bit Linux on Intel system, and so forth.
<qoute>

Taking into account this, Can I use two differents severs with differents OS but the same ORacle
release?

2-You said <qoute> Data guard is cool, better then standby. More features, more options. <quote>
Why did you say better then standby? Isn't data guard an Oracle tool (like entreprise manager for
example) in order to manage better the standby databases? Don't you need to have a standby database
in order to use data guard?

Thanks for your help

Followup August 21, 2002 - 7pm US/Eastern:

1) I "mispoke" a little there. The underlying technology here is "streams" and with streams it can
be heterogenous. A little more involved then out of the box logical standby (which wants you to
start with a hot/cold backup of the original which won't work in a heterogenous situation). So
yes, you are correct -- it would not be a true "logical standby", it would be a one way stream (see
the streams concepts guide)

2) standby is the version 8i and before name (in my mind) -- data guard is a more comprehensive

2 of 15 23.10.2008 7:20
Ask Tom "Oracle standby database hardware/softwar..." http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION...

solution giving you switch over, switch back; 4 levels from which to choose (as far as apply goes)
and so on. The standby database is just a tiny component of that now.

Data Guard gives you a standby database.


A standby database doesn't necessarily have all of the features of data guard.

August 22, 2002 - 12pm US/Eastern Bookmark | Bottom | Top


Reviewer: A reader

Thanks for the answer.


1-Logical standby database is available in 9i standard edition?
2-Do you know if data guard is available in 9i standard edition?

regards

Followup August 22, 2002 - 10pm US/Eastern:

they are enterprise features

see

http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96531/ch5_edit.htm#73594

Why primary and standby on same box? August 23, 2002 - 9am US/Eastern Bookmark | Bottom | Top
Reviewer: A reader from USA

Tom,
Can you please explain in what situation and why we put primary and standby databases on the same
box? I thought the standby is for disaster recovery. If both on the same box, how?
Thank you very much.

Followup August 23, 2002 - 2pm US/Eastern:

they are on different computers.

What is the difference between Data Guard's logical Standby and Replication? February 5, 2003 - 9am US/Eastern
Bookmark | Bottom | Top
Reviewer: Alin Cretu from Romania

I want to have a better comprehention of these options. A highlighted list of differences and
resemblances between Data Guard's logical Standby and Advance Replication would help.

Followup February 5, 2003 - 11am US/Eastern:


Well that is easy.

One is an apple.

The other is a toaster oven.

In as much as you can compare them, go for it.

You see -- data guard is for DR, disaster recovery. plain and simple.

Replication -- that is a technology that does lots of things, you build applications with it in
mind.

Using data guard for replication -- no, not really.

Using replication for DR -- wouldn't suggest it, it is not a DR tool, never has been.

So, if you are building an application that needs replication -- you use replication.

If you are building a system that needs DR -- data guard is what you want and if you want to use

3 of 15 23.10.2008 7:20
Ask Tom "Oracle standby database hardware/softwar..." http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION...

the DR site as a reporting instance just as a bonus and can live within the bounds of the logical
standby -- it is an OK thing to do.

But -- one is not to be used for the other (although everyone keeps trying to use replication as
DR, it just is the most utterly painful way to try and do it. if you *need* replication, thats
fine. If you want DR, replication isn't the way to go)

Is 9.2.0.2 compatable with 9.2.0.1 for physical standby March 3, 2003 - 5pm US/Eastern
Bookmark | Bottom | Top
Reviewer: Baqir Hussain from Emeryville, CA USA

Tom,
In the test environment for the physical standby,

Primary database is 9.2.0.2 on sun solaris 2.8, ULTRA 5.


Standby databse is 9.2.0.1 on e250 solris 2.8.

The standby database was set successfully into the managed recover mode as well as the transfer of
the archivelog from the PRIMARY to the STANDBY.

Now I tried to open the standby database in read-only mode as follows:

ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;


and then
SQL> ALTER DATABASE OPEN READ ONLY;

the database shutdown with the following message:

ORA-01092: ORACLE instance terminated. Disconnection forced

and there is an error message in the alert log:

Mon Mar 3 13:13:43 2003


ALTER DATABASE OPEN READ ONLY
Mon Mar 3 13:13:43 2003
SMON: enabling cache recovery
Mon Mar 3 13:13:44 2003
Database Characterset is WE8ISO8859P1
Updating 9.2.0.2.0 NLS parameters in sys.props$
-- adding 9.2.0.1.0 NLS parameters.
An error occurred while updating sys.props$ !
Failure when inserting the new parameters.
It is inadvisable to use the new 9.2.0.1.0 NLS parameters
until this problem is resolved.

1. Is there is any kind of bug that conversion of 9.2.0.2 of NLS parameters could not update into
9.2.0.1? As per oracle only base of the database should be the same (EE 9.2)??
2. OR it is due to the hradware or both?

Please advise. thanks


2.

Followup March 4, 2003 - 6am US/Eastern:

physical standbys -- by definition -- must be at the same release.

they are not in your case.

contact support.

upgrading database and standby March 4, 2003 - 8am US/Eastern Bookmark | Bottom | Top
Reviewer: Rich Stucke from St. Louis, MO USA

How can I install patches to a standby database. I can upgrade the engine, but I can't run the
catalog and catproc scripts without opening the database can I ?? And if that is true, then I
suspect that you only upgrade the production database and then create a new standby. Or because
I've installed the patches in the standby engine, the application of the archive logs during
synchronization will effectively do the catalog and catproc, etc. scripts for me ??

Followup March 4, 2003 - 6pm US/Eastern:

think about what catalog and catproc do.....

4 of 15 23.10.2008 7:20
Ask Tom "Oracle standby database hardware/softwar..." http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION...

they update tables -- which are logged -- which propagate... just like if you create or replace a
view in your own schema -- they move over via redo.

Data Guard for Windows 2000 March 5, 2003 - 12pm US/Eastern Bookmark | Bottom | Top
Reviewer: Riaz Shahid from PRAL, Islamabad, Pakistan

Hi Tom !

Is data guard available for Oracle 8.1.7 running on Windows 2000 Advanced Server ? I vistied
technet.oracle.com > Download but couldn't find one for Windows 2000.

Thankx

Followup March 5, 2003 - 2pm US/Eastern:

data guard is a 9i new feature

SOME of the bits were available for 8i like the data guard manager command line interface but the
architectural changes are 9i and up.

standby upgrades March 5, 2003 - 12pm US/Eastern Bookmark | Bottom | Top


Reviewer: Rich Stucke from St. Louis, MO USA

OK if I understand correctly, I can do DDL processes on my production database and they also will
propagate to my standby ?? Is there anything that might be added to my production database that
would warrant having to create a new standby ??

Followup March 5, 2003 - 2pm US/Eastern:

see

http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76995/standbym.htm#27672

stream May 16, 2003 - 8pm US/Eastern Bookmark | Bottom | Top


Reviewer: test from usa

I have release 9ir2(9.2.0.2.1) on sun solaris. I am trying to configure oracle stream on a single
table object between two database through OEM. OEM generates three scripts 1. Setup script 2.
EXp/im script 3. Run script.

When the first scripts(setup script) run it fails at giving the permission of ENQUE ANY using
DBMS_AQ package. Giveing an error End of file on communication channel. When I try to look into
alert log file it generates ORA-600 internal error. I tried to check on metalink for any patch
related to this. But none was there.

Has anyone faced this problem?

Thanks for the help.

Followup May 17, 2003 - 10am US/Eastern:

open a tar with support -- you have metalink access so apparently you can. all ora-600's should
lead to a tar.

Setting up of DR on different Palteform August 8, 2003 - 2am US/Eastern Bookmark | Bottom | Top
Reviewer: Manish Garg

Hi Actualy i have Oracle 8.1.7 running on AIX Plateform ,i wanted to setup a HOT DR Server on
Solaris Box .i am looking for online replication sort of thing .so this article help me in finding
answer of my query

5 of 15 23.10.2008 7:20
Ask Tom "Oracle standby database hardware/softwar..." http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION...

Regards
Manish Garg

Standby Cold backup September 18, 2003 - 3pm US/Eastern Bookmark | Bottom | Top
Reviewer: Haratsaris,Alexandre from Rio de Janeiro,RJ BRAZIL

Hi Tom,
My question is quite strange, but here it goes anyway...
I've created a standby database on a new Customer ( I work as Oracle Consultant) that I supose it
would be for Disaster Recovery issues, but then they sad that they are planning to use only Standby
database files for cold backups rather than have to stop Production Env (24X7 new APPS) , as it
"would" be at same point-in-time as Prod . You know : No RMAN, No HOTBACKUPS, ONLY WEEKLY SO COLD
backups for years...terrible.
Well, as it is not easy to change their minds, what more arguments can I use than explain problems
with gap of sequence logs , nologging indexes replication, create datafiles replication and so on ?

Thanks!

Followup September 18, 2003 - 3pm US/Eastern:

i would tell them "i can cut your hardware costs in half and never shutdown your production
database"

in order to do standby, they MUST be in archivelog mode.

if they are in archivelog mode, it is *trivial* to hot backup.

restoring a cold or hot backup is no more or less difficult.

taking a cold or hot backup is just as easy as well.

they *could* do what they are doing but they need 2x the disk, 2x the computers, 2x the software.
Maybe you can be their hero and cut their costs in half by giving them a simple hot backup script.

November 10, 2003 - 6pm US/Eastern Bookmark | Bottom | Top


Reviewer: A reader

Tom,

We are using dgmgrl which is pretty cool. Consider this

P1 is production and S1 is standby.

I gracefully switched over to S1, so now S1 is my production. Now i wanna switchback to P1 so it


becomes my production (back again).

Do i need to create a new controlfile from S1 and copy it to P1 or just issuing the command
"switchover ..." should work like before.

Thanks.

Followup November 10, 2003 - 7pm US/Eastern:


the switchover reverses the roles -- standby becomes prod, prod becomes standby. to re-reverse
them, putting them back, is just another switchover.

November 10, 2003 - 8pm US/Eastern Bookmark | Bottom | Top


Reviewer: A reader

Thanks..

6 of 15 23.10.2008 7:20
Ask Tom "Oracle standby database hardware/softwar..." http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION...

November 12, 2003 - 4pm US/Eastern Bookmark | Bottom | Top


Reviewer: A reader

Tom,

We have similar kind of situation, instead of switchover we are testing failover using
dataguard(dgmgrl).

As per my understanding after performing failover we cannot use former primary as standby. We have
to configure it again.

Example:- From Prod1 i failover to Standby1.

So now Standby1 is Production, now I have to configure Prod1 to be my new Standby.

Do i have to copy all the datafiles and standby controlfiles from primary (former standby) to be
standby (former primary), or i can just create a standby controlfile and copy & follow the process
as suggested in Oracle docs.

Thanks.

Followup November 13, 2003 - 6am US/Eastern:


if you did a non-graceful "failover" (as opposed to switchover), you reinstantiate the standby from
this new production (just like you were setting up from scratch) and then do a graceful switchover.

if no data was lost during the non-graceful "failover", there is an opportunity to "fail back" --
but in reality, it would not really happen. You failed over because the production machines blew
up, they don't exist anymore.

Standby for SE December 3, 2003 - 11am US/Eastern Bookmark | Bottom | Top


Reviewer: Olaf from Germany

Tom,

what the possibilities I have to make a standby database for our prod DB SE.

In "Oracle 9i Feature and Option Availability" I saw that DATA GUARD as well as Standby database
GUI are not available for SE.

Followup December 3, 2003 - 11am US/Eastern:

managed standby (data guard) is a feature of Enterprise Edition.

so the redo shipping, etc etc etc -- it not available with SE.

with SE, you have to "roll your own" - shipping logs, applying, etc. no FAL server, no managed
standby

Standby DB December 3, 2003 - 11am US/Eastern Bookmark | Bottom | Top


Reviewer: A reader

Is it enough to buy a Standard Edition One license for the prod database with SE license? HW for
standby always has one CPU.

December 3, 2003 - 12pm US/Eastern Bookmark | Bottom | Top


Reviewer: A reader

Tom,

In 9i dataguard is there some command for reinstantiating.

Thanks.

7 of 15 23.10.2008 7:20
Ask Tom "Oracle standby database hardware/softwar..." http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION...

Followup December 3, 2003 - 4pm US/Eastern:


reinstantiating?

db_file_name_convert and log_file_name_convert February 21, 2004 - 4pm US/Eastern


Bookmark | Bottom | Top
Reviewer: reader

Are these parameters used in logical standby database parameter file? I was reading the document
and it is suggesting to rename all of the data files using ALTER DATABSE RENAME command as one of
the steps in creating logical standby. Is there any reason why these parameters cannot be used in
logical standby? Thanks.

Following is a copy and paste from data guard concept guide (pdf doc).

4.2.11 Rename the Datafiles on the Logical Standby Database


On the logical standby database, rename all of the datafiles that were identified in Section 4.2.1
and copied from the primary database. For example:

SQL> ALTER DATABASE RENAME FILE /disk1/oracle/oradata/payroll/system01.dbf


2> TO /disk1/oracle/oradata/payroll/standby/system01.dbf ;

Followup February 21, 2004 - 4pm US/Eastern:


yes you can and the documentation goes through that as well.

http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96653/init_params.htm#77575

db_file_name_convert ..... February 22, 2004 - 10am US/Eastern Bookmark | Bottom | Top
Reviewer: reader

Thanks.
(1)I looked at the above link, it says the parameter is applicable for physical standby only. That
means if I had to rename a file in primary database, do I have to manually do the same in the
logical standby?

(2) If I set the protection mode in 9i R2 to one of these maximum protection or availability or
performance for the standby database, is it possible to dynamicall change this mode or do I have to
shutdown both primary and standby before I change the protection mode? Thanks.

(3) If for some reason my standby is down and assume that it was set in maximum performance. When I
bring the standby up would it automatically detect the archive gap and applies them? Thanks for
your time. Hope you don't mind asking these questions in this thread.

Thanks.

Followup February 22, 2004 - 12pm US/Eastern:


1) just search the data guard concepts/admin guide for that and you'll see things like:

...
You must rename primary database datafiles in the standby database control file. You can either
manually rename the datafiles (see Section B.4) or set up the DB_FILE_NAME_ CONVERT initialization
parameter on the standby database to automatically rename the datafiles (see Section 6.3.4).
......

it is for the standby.

2) quote from sql ref:

...
SET STANDBY [DATABASE] Clause Use this clause to specify the level of protection for the data in
your database environment. You specify this clause from the primary database, which must be mounted
but not open.
......

it is an "offline" operation. database must be mounted but not open.

8 of 15 23.10.2008 7:20
Ask Tom "Oracle standby database hardware/softwar..." http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION...

3) see

http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96653/log_apply.htm#1017313

Synch vs Aynch February 23, 2004 - 8pm US/Eastern Bookmark | Bottom | Top
Reviewer: reader

I understand synch as LGWR writes redo info to standby redolog at the same time it writes to
primary redo log. What does asynch mean? Does it mean LGWR writes to standby redo log after some
time? Thanks.

Followup February 24, 2004 - 6am US/Eastern:


async means "not syncronous"

lgwr can write to the standby in one of three ways:

a) syncronous -- write to the standby and wait for a confirmation that write succeeded.

b) asyncronous -- write to the standby but do not wait for confirmation (fire and forget).

c) really long asyncronous, actually let ARCH move the redo over to standby after redo log fills up

Is ARCH process sync or async? February 25, 2004 - 6pm US/Eastern Bookmark | Bottom | Top
Reviewer: David

Tom, can ARCH process ASYNC? Thanks.

Followup February 25, 2004 - 7pm US/Eastern:

can arch process async what?

Oracle Standby on diffrent Linux releases September 4, 2004 - 7am US/Eastern Bookmark | Bottom | Top
Reviewer: Asif Anwar from Pakistan

Hi,

With my production system running on Oracle 8.1.7.4 and RedHat Linux 6.2 (filesystem type ext2),
can I configure an Oracle Standby Server with Oracle 8.1.7.4 and RedHat Enterprise Linux AS 2.1 on
filesystem type ext3 ?

Regards and thanks,

Followup September 4, 2004 - 11am US/Eastern:


While it would "probably work by accident" (the OS's are certainly close enough to probably work)
it would sort of go against the very tenet of disaster recovery -- when you fail over, something
really utterly bad has happened. Do you really want to pour salt into that gaping wound and rub it
in by imposing and OS upgrade/downgrade at the same time you fail over.

Think about it -- your production data center just blew up. Some of your best friends are gone or
in the hospital, your mission critical applications have to get up and running, but "something is
not working" -- why? because you've totally changed the operating environments.

At least it is not as bad as the people who ask "can I use my windows print server as a failover
site for my 32 cpu sparc?"

Migrate Oracle 8.1.7.4 from RedHat 6.2 to RedHat Enterprise with a hot backup. September 5, 2004 - 4am
US/Eastern
Bookmark | Bottom | Top
Reviewer: Asif Anwar from Pakistan

Ok!
Thanks for the usefull suggestions.
What is the best and easiest way to migrate my oracle 8.1.7.4 from RedHat 6.2 (ext2) to RedHat

9 of 15 23.10.2008 7:20
Ask Tom "Oracle standby database hardware/softwar..." http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION...

Enterprise Linux AS 2.1 (ext3)? Can I simply restore my hot backup to the new box and then apply
the online redologs to make it synchronized. I have to ensure a minimum downtime for the migration.

Regards,

Followup September 5, 2004 - 10am US/Eastern:


yes. just restore and upgrade it.

ORA-01092 March 1, 2005 - 2pm US/Eastern Bookmark | Bottom | Top


Reviewer: Nishant Choudhary from India

Sir,

I am creating logical on test environment .. same os same hardware. oracle 9i rel2

first time it created sucessfully but after that i m continously getting error:
ORA-01092: ORACLE instance terminated. Disconnection forced

====================alert.log================

ALTER DATABASE GUARD ALL


Wed Mar 02 00:34:06 2005
Completed: ALTER DATABASE GUARD ALL
Wed Mar 02 00:34:14 2005
ALTER DATABASE OPEN RESETLOGS
RESETLOGS after incomplete recovery UNTIL CHANGE 203075
Resetting resetlogs activation ID 4243928368 (0xfcf53530)
Online log 2 of thread 1 was previously cleared
Wed Mar 02 00:34:20 2005
LGWR: Primary database is in CLUSTER CONSISTENT mode
Assigning activation ID 4243911553 (0xfcf4f381)
Thread 1 opened at log sequence 1
Current log# 1 seq# 1 mem# 0: D:\STDBY\REDO01.LOG
Successful open of redo thread 1.
Wed Mar 02 00:34:20 2005
SMON: enabling cache recovery
Wed Mar 02 00:34:22 2005
Undo Segment 1 Onlined
Undo Segment 2 Onlined
Undo Segment 3 Onlined
Undo Segment 4 Onlined
Undo Segment 5 Onlined
Undo Segment 6 Onlined
Undo Segment 7 Onlined
Undo Segment 8 Onlined
Undo Segment 9 Onlined
Undo Segment 10 Onlined
Successfully onlined Undo Tablespace 1.
Dictionary check beginning
Dictionary check complete
Wed Mar 02 00:34:22 2005
SMON: enabling tx recovery
Wed Mar 02 00:34:22 2005
Database Characterset is WE8MSWIN1252
Wed Mar 02 00:34:23 2005
Errors in file d:\stdby\udump\stdby_ora_1236.trc:
ORA-00604: error occurred at recursive SQL level 1
ORA-25153: Temporary Tablespace is Empty

Error 604 happened during db open, shutting down database


USER: terminating instance due to error 604
Instance terminated by USER, pid = 1236
ORA-1092 signalled during: ALTER DATABASE OPEN RESETLOGS...

==============stdby_ora_1236.trc =================
Dump file d:\stdby\udump\stdby_ora_1236.trc
Wed Mar 02 00:34:15 2005
ORACLE V9.2.0.1.0 - Production vsnsta=0
vsnsql=12 vsnxtr=3
Windows 2000 Version 5.0 Service Pack 4, CPU type 586
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Windows 2000 Version 5.0 Service Pack 4, CPU type 586
Instance name: stdby

Redo thread mounted by this instance: 1

10 of 15 23.10.2008 7:20
Ask Tom "Oracle standby database hardware/softwar..." http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION...

Oracle process number: 15

Windows thread id: 1236, image: ORACLE.EXE

*** SESSION ID:(11.3) 2005-03-02 00:34:15.000


*** 2005-03-02 00:34:15.000
ORA-00604: error occurred at recursive SQL level 1
ORA-25153: Temporary Tablespace is Empty

===========================================================

is this due to non existence of temp file ... how should i go ahead ..

thanx in advance

Followup March 1, 2005 - 3pm US/Eastern:

support would be the best path for these things. I see a metalink Note 273413.1

they suggest setting sufficiently high sort_area_size (workarea_policy set to manual for this) and
starting (avoiding the recursive sql attempt to write to temp)

then you can add the tempfile.

ORA-25153 April 7, 2005 - 12am US/Eastern Bookmark | Bottom | Top


Reviewer: Totu from AZ

Dear Tom.

I was importing spatial data to Oracle using another tool. During that process ORA-25153: temp.
tabslespace is empty occured.
I read Oracle docs and google search: Solution is that add temp file to tablespace. But original
file exists physically. OEM doesn't show it. What caused Oracle to go on this way?..

Thanks in advance.

Followup April 7, 2005 - 9am US/Eastern:

no idea on that one. sorry.

little confused May 12, 2005 - 11am US/Eastern Bookmark | Bottom | Top
Reviewer: avi from mumbai.

Hi Tom,
You said:
* Physical standby databases
A physical standby database is physically identical to the primary database, with on-disk
database structures that are identical to the primary database on a block-for-block basis. The
physical standby database is updated by
performing recovery. It can either be recovering data or open for read-only reporting.

* Logical standby databases


A logical standby database is logically identical to the primary database. The logical
standby database is updated using SQL statements. The tables in a logical standby database can be
used simultaneously for recovery and for other tasks such as reporting, summations, and queries.

So where is the diffrence in betwwen? In every case it'll apply archive logs which contains SQL
statements. What I mean to say is in Physical it uses SQL statements from archive log to recover
database and in Logical it uses SQL statements for updating. Please clarify as I'm confused.
Lots of thanks in advance.

Followup May 12, 2005 - 1pm US/Eastern:

physical standby applies redo like recovery does

logical standby READS redo and turns it into sql and does inserts/updates/deletes.

11 of 15 23.10.2008 7:20
Ask Tom "Oracle standby database hardware/softwar..." http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION...

physical does NOT use sql at all, it uses bits and bytes to recover datafiles.

Difference between Physical and Logical standby June 29, 2005 - 10pm US/Eastern Bookmark | Bottom | Top
Reviewer: mohan from Chicago, USA

Hi Tom,

I had configured physical standby using Oracle 8i. The disadvantage is that for each recovery the
standby DB has to be shutdown and apply archive logs.
I want to configure logical standby. How difficult it is from a physical standby.

Followup June 30, 2005 - 9am US/Eastern:


you won't be doing that in 8i, it was a new 9i feature.

It is documented in the data guard documentation, freely available on OTN, you can read it and see
what is different from your perspective.

but you won't be doing it until you get on software written this century....

Need help in estimating Bandwidth usage / considerations for Standby July 27, 2006 - 3am US/Eastern
Bookmark | Bottom | Top
Reviewer: Anand G from PA USA

Hi Tom,
Thanks a lot for the wonderful answers given here.

When setting up a standby environment how can be estimate the bandwidth requirements?
- If you can give some guidance/ links that would be a a great help.

Is there a way from Oracle to compress and send archivelogs? I guess only way to use external
utilities and manual transfer..

Followup July 27, 2006 - 11am US/Eastern:

how much redo do you generate in a given period of time.

That will be your basic requirement - to get that much redo from system A to system B in that same
amount of time.

FAL CONCEPTS October 19, 2006 - 2pm US/Eastern Bookmark | Bottom | Top
Reviewer: Star Nirav from India

Hi TK,

can you tell us that do we need to configure FAL server and client at DR end or both (PDC and
DR)...?

My senior told me that we dont need to configure FAL at any end in oracle 9i and if it is required
then configure at PDC side only.

What if I am having connectivity from PDC to DR and still I am having archive_gap ?

What I understood from the concepts and articles published by you is that in such cases, we need to
manually register those archives.. correct ?

Pls. tell me if i am manually download and register files then do my FAL will do automatically
applying future archives...... ?

Pls. help me as My PDC and DR are not in sync.

Thanks in advance...
Star nirav

Followup October 19, 2006 - 2pm US/Eastern:

12 of 15 23.10.2008 7:20
Ask Tom "Oracle standby database hardware/softwar..." http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION...

guess you haven't figured out that TK isn't here.

we'll wait for him/her.

TK means technically King ;) October 19, 2006 - 4pm US/Eastern Bookmark | Bottom | Top
Reviewer: Star Nirav from India

Hey Tk,

I hope that you would like this nickname.

Anyways coming to the point that, I would surely like to have your expert advice on the above said
issue.

Pls. let me know....

Followup October 20, 2006 - 4am US/Eastern:


man, you don't get it.

I will tell you the solution.... October 20, 2006 - 4pm US/Eastern Bookmark | Bottom | Top
Reviewer: STAR NIRAV from India

In the above said case, need to follow the instructions.

1. see the gap of sequence in standby site.


2. download the said archives to standby site from PDC.
3. SQL > Shu immediate;
4. SQL > STARTUP NOMOUNT;
5. SQL > ALTER DATABASE MOUNT STANDBY DATABASE;
6. REGISTER THOSE FILES MANUALLY
7. SQL > ALTER DATABASE RECOVER AUTOMATIC STANDBY DATABASE
8. SQL > SELECT * FROM V$ARCHIVE_GAP; (STANDBY SIDE)
9. IF THERE IS ANY RECORDS THEN RE-RUN THE STEPS AGAIN.
10. THEN CANCEL THE RECOVERY AND MANUALLY LOGSWITCH IN PDC TO VERIFY THAT PDC AND DR IN SYNC MODE.

CORRECT MR. TK ???

REGARDS,
STAR NIRAV

Followup October 20, 2006 - 5pm US/Eastern:


When Mr. TK comes by - I'll be sure and ask him. Ok?

Ok... Tom, one clarification please October 23, 2006 - 4pm US/Eastern Bookmark | Bottom | Top
Reviewer: Star Nirav from india

In the above said case, need to follow the instructions.

1. see the gap of sequence in standby site.


2. download the said archives to standby site from PDC.
3. SQL > Shu immediate;
4. SQL > STARTUP NOMOUNT;
5. SQL > ALTER DATABASE MOUNT STANDBY DATABASE;
6. REGISTER THOSE FILES MANUALLY
7. SQL > ALTER DATABASE RECOVER AUTOMATIC STANDBY DATABASE
8. SQL > SELECT * FROM V$ARCHIVE_GAP; (STANDBY SIDE)
9. IF THERE IS ANY RECORDS THEN RE-RUN THE STEPS AGAIN.
10. THEN CANCEL THE RECOVERY AND MANUALLY LOGSWITCH IN PDC TO VERIFY THAT PDC
AND DR IN SYNC MODE.

CORRECT Tom ???

One confusion here is that in a given situation, we are supposed to move some big tables to another
tablespace and hence we need to rebuilding indexes. So it is confirm that this activity will
generate more archives and will try to ship all to DR (Standby) site, Now tom, i would like to have
your feedback on this that how to come out from this situation when we are supposed to do this
activity...?

Is there any hidden parameters which will constantly check and ship the archives from Prmary site
to DR site ?

13 of 15 23.10.2008 7:20
Ask Tom "Oracle standby database hardware/softwar..." http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION...

REGARDS,
STAR NIRAV

How to keep continue log-shipping ? respond please October 24, 2006 - 6pm US/Eastern
Bookmark | Bottom | Top
Reviewer: Star Nirav from India

One confusion here is that in a given situation, we are supposed to move some
big tables to another tablespace and hence we need to rebuilding indexes. So it is confirms that
this activity will generate more archives and will try to ship
all to DR (Standby) site, Now tom, i would like to have your feedback on this
that how to come out from this situation when we are supposed to do this
activity...?

Is there any hidden parameters which will constantly check and ship the archives from Prmary site
to DR site ?

REGARDS,
STAR NIRAV

Followup October 25, 2006 - 9am US/Eastern:


please utilize support for setup/configuration of data guard.

Dataguard Linux 4 -> Linux 5 September 13, 2007 - 2am US/Eastern Bookmark | Bottom | Top
Reviewer: Daniel from Auckland , NZ

I understand that similar questions have been asked before but given the current ( much later than
those discussed above) versions of Oracle and OS I feel I am still not exactly sure if :

1.Data guard ( PHYSICAL standby ) would work with


Primary DB on RH Linux rel 4 , Oracle 10.2.0.2 and
Standby DB on RH Linux rel 5 , Oracle 10.2.0.3
( both systems 64 bit Intel )
2. Same question for LOGICAL standby .

Oracle documentation is not entirely clear on the subject , although the phrasing in the DataGuard
Conceps and Admin guide suggests that both configurations should work ...

My apologies for a repetitive question.

Followup September 15, 2007 - 7pm US/Eastern:

1) no, physical says "everything is the same"

2) same with logical

a failover is to be IDENTICAL operationally to the production machine, it can be smaller (less hardware), but everything else is the same.
One more doubt on Standby November 21, 2007 - 2am US/Eastern Bookmark | Bottom | Top
Reviewer: tkl from India
Can I run primary on one server,
stand by on a second server and
data guard on third one?

Followup November 21, 2007 - 2pm US/Eastern:

data guard is the infrastructure you use to implement a standby - not sure what you mean by "run data guard on a third one"

November 22, 2007 - 10pm US/Eastern Bookmark | Bottom | Top


Reviewer: A reader

Tom,

Referring to the above post can we setup dataguard - physical between Sun OS 5.8 Oracle 9208 and
Sun OS 5.10 Oracle 9208 both are 64 bit the only difference is OS version.

Thanks.

14 of 15 23.10.2008 7:20
Ask Tom "Oracle standby database hardware/softwar..." http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION...

Oracle standby / dataguard November 23, 2007 - 12am US/Eastern Bookmark | Bottom | Top
Reviewer: tkl from India
Can I run primary on one server,
stand by on a second server and
data guard on third one?

Followup November 21, 2007 - 2pm US/Eastern:

data guard is the infrastructure you use to implement a standby - not sure what you mean by "run data guard on a third one"

What I meant is that I want to run standby database without data guard in one site and with data guard in yet another site simultaneously.
Sorry for mix up

standby database October 20, 2008 - 2pm US/Eastern Bookmark | Bottom | Top
Reviewer: A reader

Tom,

Can I create standby DB on the different Disk group in ASM?

Primary uses DG as DB_DATA in ASM. Can I create standby DB in DG DEV_DATA in asm?

Thanks,

Kevin

Followup October 21, 2008 - 3pm US/Eastern:

you would typically use a different disk group as you would typically have the data guard site physically way away from production.

Not sure what sense it would make to have data guard running in the same ASM set of disks though, all of the disks would be in the same
room. Data guard is used to protect you from losing the room - if the room burns up in a fire for example.

Can you expand on what you mean here?

Write a Review

All information and materials provided here are provided "as-is"; Oracle disclaims all express and implied warranties, including, the implied warranties of merchantability or fitness
for a particular use. Oracle shall not be liable for any damages, including, direct, indirect, incidental, special or consequential damages for loss of profits, revenue, data or data
use, incurred by you or any third party in connection with the use of this information or these materials.

About Oracle | Legal Notices and Terms of Use | Privacy Statement

15 of 15 23.10.2008 7:20

You might also like