SQL> startup ORA-19802: cannot use DB_RECOVERY_FILE_DEST without DB_RECOVERY_FILE_DEST_SIZE
由于数据库已关闭,这时候也无法修改参数db_recovery_file_dest_size:
1 2 3 4 5 6 7
SQL> alter system set db_recovery_file_dest_size=4G scope=spfile; alter system set db_recovery_file_dest_size=4G scope=spfile * ERROR at line 1: ORA-01034: ORACLE not available Process ID: 0 Session ID: 0 Serial number: 0
NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ db_recovery_file_dest string db_recovery_file_dest_size big integer 0 SQL> alter system set db_recovery_file_dest='/u01/app/oracle/fast_recovery_area' scope=spfile;
System altered. SQL> shutdown immediate Database closed. Database dismounted. ORACLE instance shut down. SQL> startup ORA-19802: cannot use DB_RECOVERY_FILE_DEST without DB_RECOVERY_FILE_DEST_SIZE SQL> alter system set db_recovery_file_dest_size=4G scope=spfile; alter system set db_recovery_file_dest_size=4G scope=spfile * ERROR at line 1: ORA-01034: ORACLE not available Process ID: 0 Session ID: 0 Serial number: 0
Total System Global Area 1073737800 bytes Fixed Size 8904776 bytes Variable Size 616562688 bytes Database Buffers 440401920 bytes Redo Buffers 7868416 bytes ORA-00205: error in identifying control file, check alert log for more info
SQL> select status from v$instance;
STATUS ------------ STARTED
SQL> create pfile='/u01/app/oracle/product/19.3.0/db_1/dbs/init-20201020.ora' from spfile='/u01/app/oracle/product/19.3.0/db_1/dbs/spfileorcl.ora';
File created.
SQL> shutdown immediate ORA-01507: database not mounted