Upgrade PDB 12.1 to 12.2 PDB(Pluggable database)
Upgrade Version - 12.2.0.1.0
Pluggable Database Name - PDB
Oracle Database DBA (Database Administration) Blog. I wish to share my real-time experience with you all on Oracle DBA and Linux administration and few other technologies. I am certified and trained on Oracle Administration Associate and Oracle Autonomous Database Specialist. Releases: 9i,10g,11g,12c,18c and 19c. Your comments and suggestions are welcome.
Oracle Dataguard:
1. What are different protection modes in dataguard?
There are three modes.
a.
MAXIMUM PROTECTION
This mode
provides maximum protection. It guarantees zero data loss. In this mode the
redo/transaction data must be written to both primary redo log and standby redo
log. For any reason(mostly N/W issue) if it is unable to write to standby, Then
primary will get shutdown.
b.
MAXIMUM AVAILABILITY:
It provides
the highest level of data protection that is possible without affecting the
availability of the primary database.Transactions are not allowed to commit
until all redo data are written to the online redo logs and propagated to at
least one synchronized secondary database. If for any reason, the primary
database cannot propagate its redo stream to one secondary database, the
primary will NOT shutdown and operates as it it were in maximum performance mode
until issues are fixed.
c.
MAXIMUM PERFORMANCE:(default one)
This is the default protection mode. With this protection mode, a transaction is committed as soon as the redo data needed to recover the transaction is written to the local (online) redo log.
2. What are different types of dataguard and their
difference?
There are two types of dataguard setups. PHYSICAL and LOGICAL.
PHYSICAL STANDBY:
A physical standby database is an exact, block-for-block copy of a primary database. A physical standby is maintained as an exact copy through a process called REDO APPLY, in which redo data received from a primary database is continuously applied to a physical standby database using the database recovery mechanisms. So it will be always in sync with primary.
This Standby database can be opened in read only mode( knows as ACTIVE DATA GUARD), for reporting purpose. Most of the corporations use physical standby for dataguard configuration.
LOGICAL STANDBY:
The logical standby
database is kept synchronized with the primary database through SQL APPLY,
which transforms the data in the redo received
from the primary database into SQL statements and then executes the SQL
statements on the standby database. So it contains same logical information as
that of production , but physical structure of data can be different.
3. What is the process to apply a psu patch in dataguard
setup.
Upgrade PDB 12.1 to 12.2 PDB(Pluggable database) Source Version - 12.1.0.2.0 Upgrade Version - 12.2.0.1.0 Pluggable Database Name - PDB S...