11.07.2015 Views

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 10 ■ DATA GUARD 439Believe it or not, that was it! Now, let’s put the snapshot standby back to a physical standbydatabase. Again, it takes only a single convert statement to put it back. Here you will see asingle convert statement that will convert a snapshot standby into a physical standby:DGMGRL> convert database 'dba<strong>11</strong>gdr' to physical standby;Converting database "dba<strong>11</strong>gdr" to a Physical Standby database, please wait...Operation requires shutdown of instance "DBA<strong>11</strong>gDR" on database "dba<strong>11</strong>gdr"Shutting down instance "DBA<strong>11</strong>gDR"...<strong>Database</strong> closed.<strong>Database</strong> dismounted.ORACLE instance shut down.Operation requires startup of instance "DBA<strong>11</strong>gDR" on database "dba<strong>11</strong>gdr"Starting instance "DBA<strong>11</strong>gDR"...ORACLE instance started.<strong>Database</strong> mounted.Continuing to convert database "dba<strong>11</strong>gdr" ...Operation requires shutdown of instance "DBA<strong>11</strong>gDR" on database "dba<strong>11</strong>gdr"Shutting down instance "DBA<strong>11</strong>gDR"...ORA-0<strong>11</strong>09: database not open<strong>Database</strong> dismounted.ORACLE instance shut down.Operation requires startup of instance "DBA<strong>11</strong>gDR" on database "dba<strong>11</strong>gdr"Starting instance "DBA<strong>11</strong>gDR"...ORACLE instance started.<strong>Database</strong> mounted.<strong>Database</strong> "dba<strong>11</strong>gdr" converted successfullyWe just demonstrated how executing the new convert database to physical/snapshotstandby command transforms a physical standby database into a read/write database. Othercommands that are new to the Data Guard command-line interface are disable fast_startfailover, enable fast_start failover, and show fast_start failover. These new commandlineoptions are discussed in further detail in the following sections.Unfortunately, the Data Guard Manager does not have the ability to convert a physicalstandby database to a real-time query standby database. You must use SQL*Plus to convert thephysical standby to a real-time query standby database. The feature to convert a physical standbydatabase to a real-time query standby database will be available in <strong>Oracle</strong> Enterprise ManagerGrid Control <strong>11</strong>g when it is released.Using Data Guard Broker simplifies the management of the redo transport and apply layerin <strong>Oracle</strong> <strong>Database</strong> <strong>11</strong>g. The logic is that the primary database will be in transport-on ortransport-off mode. This is an attribute of the LogShipping property and corresponds to thelog_archive_dest_state_n initialization parameter. transport-off will indicate that this parameteris being set to defer, whereas transport-on will set this parameter to enable. The samelogic applies to the physical standby database. The physical standby database will either be inapply-on or apply-off mode.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!