This blog contains Oracle Database and RHEL and OEL support and troubleshoot documents. Most of them are copied from Oracle support Documents and references are mentioned.
Monday, August 24, 2020
Friday, August 21, 2020
How to Enable Archive Log Mode in Oracle Database (ASM)
Enable Archive log mode using Flash Recovery Area
How to Enable Flash Recovery Area
Monday, August 17, 2020
DBCA fails with errors: [FATAL] [DBT-50000] Unable to check for available memory in "Specify configuration option" (Doc ID 2631718.1)
|
Thursday, July 30, 2020
Wednesday, July 1, 2020
ORA-01665: control file is not a standby control file
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE nodelay DISCONNECT FROM SESSION;
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE nodelay DISCONNECT FROM SESSION
*
ERROR at line 1:
ORA-01665: control file is not a standby control file
SQL>
SQL> ALTER DATABASE CONVERT TO PHYSICAL STANDBY;
Database altered.
SQL> SHU IMMEDIATE;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 838860800 bytes
Fixed Size 8626240 bytes
Variable Size 629149632 bytes
Database Buffers 197132288 bytes
Redo Buffers 3952640 bytes
Database mounted.
SQL> SELECT database_role FROM v$database;
DATABASE_ROLE
--------------------
PHYSICAL STANDBY
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT;
Database altered.
SQL> SELECT database_role FROM v$database;
DATABASE_ROLE
----------------
PHYSICAL STANDBY
SQL>
How To Change Flash Recovery Area Location
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
SQL> show parameter db_recovery_file
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string /dbaclassdb/oradata/FRA
db_recovery_file_dest_size big integer 20G
SQL> select name from V$RECOVERY_FILE_DEST;
NAME
--------------------------------------
/dbaclassdb/oradata/FRA
|
1
2
3
4
5
6
7
8
9
10
11
12
|
SQL> alter system set db_recovery_file_dest='/fradg/oradata/FRA' scope=both;
System altered.
select name from V$RECOVERY_FILE_DEST;
NAME SPACE_LIMIT SPACE_USED SPACE_RECLAIMABLE NUMBER_OF_FILES CON_ID
-------------------------------------- ----------- ---------- ----------------- --------------- ----------
/fradg/oradata/FRA 2.1475E+10 0 0 0 0
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
1. Drop restore point if any
SQL> select GUARANTEE_FLASHBACK_DATABASE,NAME from v$restore_point;
GUARANTEE_FLASHBACK_DATABASE NAME
-------------------------------- -----------------------------
YES RESTORE_UPGRDE
SQL > Drop restore point restore_point RESTORE_UPGRDE ;
2. Turn off and turn on flashback :
ALTER DATABASE FLASHBACK OFF;
ALTER DATABASE FLASHBACK ON;
|
RMAN Recovery Catalog About Recovery Catalog RMAN recovery catalog Is another database which is out of your normal databases or which is o...
-
Change Host Name in Red Hat and Oracle Linux Make sure you are logged in as root and move to /etc/sysconfig and open the network file i...
-
Oracle 11gR - 11.2.0.2 to 11.2.0.4 upgrade steps * yum install oracle-rdbms-server-11gR2-preinstall Download the ‘patch’ software Cu...
-
Oracle 11g: Access Control List and ORA-24247 From a more DBA point of view, I would like to go in more detail in response to ...