SQL>select ARCH_MODE,STATUS$ from v$database;
LINEID ARCH_MODE STATUS$
---------- --------- -----------1 N 4
used time: 2.126(ms).Execute id is500.SQL>SQL>SQL>SQL>alterdatabase mount;
executed successfully
used time: 1.212(ms).Execute id is0.SQL>ALTERDATABASEADD ARCHIVELOG 'DEST=/dm8/arch, TYPE=local, FILE_SIZE=1024, SPACE_LIMIT=2048';
executed successfully
used time: 0.931(ms).Execute id is0.SQL>ALTERDATABASE ARCHIVELOG;
executed successfully
used time: 4.335(ms).Execute id is0.SQL>ALTERDATABASEOPEN;
executed successfully
used time: 10.069(ms).Execute id is0.SQL>select ARCH_MODE,STATUS$ from v$database;
LINEID ARCH_MODE STATUS$
---------- --------- -----------1 Y 4
used time: 0.677(ms).Execute id is501.SQL>
SQL>select ARCH_MODE,STATUS$ from v$database;
LINEID ARCH_MODE STATUS$
---------- --------- -----------1 Y 4
used time: 0.677(ms).Execute id is501.SQL>SQL>SQL>alterdatabase mount;
executed successfully
used time: 4.498(ms).Execute id is0.SQL>ALTERDATABASE noarchivelog;
executed successfully
used time: 35.259(ms).Execute id is0.SQL>ALTERDATABASEOPEN;
executed successfully
used time: 9.043(ms).Execute id is0.SQL>select ARCH_MODE,STATUS$ from v$database;
LINEID ARCH_MODE STATUS$
---------- --------- -----------1 N 4
used time: 0.548(ms).Execute id is502.SQL>
SQL>SQL>select*from v$arch_status;
LINEID ARCH_TYPE ARCH_DEST ARCH_STATUS ARCH_SRC
---------- --------- --------- ----------- ----------1LOCAL/dm8/arch VALID OADBSERVER
used time: 0.560(ms).Execute id is506.SQL>alterdatabase mount;
executed successfully
used time: 3.315(ms).Execute id is0.SQL>ALTERDATABASE NOARCHIVELOG;
executed successfully
used time: 35.285(ms).Execute id is0.SQL>SQL>ALTERDATABASEdelete ARCHIVELOG 'DEST=/dm8/arch, TYPE=local, FILE_SIZE=1024, SPACE_LIMIT=2048';
executed successfully
used time: 0.585(ms).Execute id is0.SQL>ALTERDATABASEopen;
executed successfully
used time: 10.230(ms).Execute id is0.SQL>select*from v$dm_arch_ini;norows
used time: 0.565(ms).Execute id is507.SQL>select*from v$arch_status;norows
used time: 0.504(ms).Execute id is508.SQL>
开启归档SQL> select ARCH_MODE,STATUS$ from v$database;LINEID ARCH_MODE STATUS$ ---------- --------- -----------1 N 4used time: 2.126(ms). Execute id is 500.SQL> SQL> SQL> SQL> alter database mount;executed su