ORA-03113: end-of-file on communication channel
[oracle@oprd pfile]$ sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Thu Feb 22 16:22:35 2018
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup mount
ORACLE instance started.
Total System Global Area 1.5032E+10 bytes
Fixed Size 12349192 bytes
Variable Size 2348810488 bytes
Database Buffers 1.2616E+10 bytes
Redo Buffers 54759424 bytes
Database mounted.
SQL> alter database clear unarchived logfile group 1;
Database altered.
SQL> alter database clear unarchived logfile group 2;
Database altered.
SQL> alter database clear unarchived logfile group 3;
Database altered.
SQL> shutdown immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 1.5032E+10 bytes
Fixed Size 12349192 bytes
Variable Size 2348810488 bytes
Database Buffers 1.2616E+10 bytes
Redo Buffers 54759424 bytes
Database mounted.
Database opened.
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 PDB1 READ WRITE NO
4 PDB01 MOUNTED
SQL> alter pluggable database PDB01 open;
Pluggable database altered.
What do I do to increase the size of the flash recovery area (FRA)?
Answer: The size of the flashback recovery area (FRA) is determined by the size of the db_recovery_file_dest_size parameter. To increase the size of the flash recovery area (FRA) simply run this command:
SQL> alter system set db_recovery_file_dest_size=50g scope=both;
System altered.
SQL> show parameter db_rec
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string +RECO
db_recovery_file_dest_size big integer 50G
db_recycle_cache_size big integer 0
SQL>
SQL>
SQL>
SQL> create pfile from spfile;
File created.
SQL>
SQL> shut immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 1.5032E+10 bytes
Fixed Size 12349192 bytes
Variable Size 2348810488 bytes
Database Buffers 1.2616E+10 bytes
Redo Buffers 54759424 bytes
Database mounted.
Database opened.
SQL> show parameter db_rec
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string +RECO
db_recovery_file_dest_size big integer 50G
db_recycle_cache_size big integer 0
SQL> sho pdbs;
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 PDB1 READ WRITE NO
4 PDB01 MOUNTED
SQL> alter pluggable database PDB01 open;
Pluggable database altered.
[oracle@oprd pfile]$ sqlplus / as sysdba
SQL*Plus: Release 12.2.0.1.0 Production on Thu Feb 22 16:22:35 2018
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup mount
ORACLE instance started.
Total System Global Area 1.5032E+10 bytes
Fixed Size 12349192 bytes
Variable Size 2348810488 bytes
Database Buffers 1.2616E+10 bytes
Redo Buffers 54759424 bytes
Database mounted.
SQL> alter database clear unarchived logfile group 1;
Database altered.
SQL> alter database clear unarchived logfile group 2;
Database altered.
SQL> alter database clear unarchived logfile group 3;
Database altered.
SQL> shutdown immediate
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 1.5032E+10 bytes
Fixed Size 12349192 bytes
Variable Size 2348810488 bytes
Database Buffers 1.2616E+10 bytes
Redo Buffers 54759424 bytes
Database mounted.
Database opened.
SQL> show pdbs
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 PDB1 READ WRITE NO
4 PDB01 MOUNTED
SQL> alter pluggable database PDB01 open;
Pluggable database altered.
What do I do to increase the size of the flash recovery area (FRA)?
Answer: The size of the flashback recovery area (FRA) is determined by the size of the db_recovery_file_dest_size parameter. To increase the size of the flash recovery area (FRA) simply run this command:
SQL> alter system set db_recovery_file_dest_size=50g scope=both;
System altered.
SQL> show parameter db_rec
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string +RECO
db_recovery_file_dest_size big integer 50G
db_recycle_cache_size big integer 0
SQL>
SQL>
SQL>
SQL> create pfile from spfile;
File created.
SQL>
SQL> shut immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 1.5032E+10 bytes
Fixed Size 12349192 bytes
Variable Size 2348810488 bytes
Database Buffers 1.2616E+10 bytes
Redo Buffers 54759424 bytes
Database mounted.
Database opened.
SQL> show parameter db_rec
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest string +RECO
db_recovery_file_dest_size big integer 50G
db_recycle_cache_size big integer 0
SQL> sho pdbs;
CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 PDB1 READ WRITE NO
4 PDB01 MOUNTED
SQL> alter pluggable database PDB01 open;
Pluggable database altered.
No comments:
Post a Comment