做完standby後,忘記添加temp文件了,補上:
SQL> select d.tablespace_name from dba_tablespaces d where d.contents='TEMPORARY';
TABLESPACE_NAME
------------------------------
TEMP
SQL> select name from v$tempfile;
no rows selected
SQL> alter tablespace temp add tempfile '/opt/ora9/oradata/test/temp01.dbf' size 50m reuse;
Tablespace altered.