做完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.