Oracle10g归档参数研究
2008-10-25 12:58:03 来源:WEB开发网log_archive_dest
log_archive_dest_n
log_archive_start
db_recovery_file_dest
oracle
版本:
sql> select * from v$version;
BANNER
--------------------------------------------------------------------------------
oracle
Database 10g Enterprise Edition Release 10.2.0.2.0 - Prod
PL/SQL Release 10.2.0.2.0 - Production
www.ixdba.net
CORE 10.2.0.2.0 Production
TNS for Solaris: Version 10.2.0.2.0 - Production
NLSRTL Version 10.2.0.2.0 – Production
Oracle为10g的企业版
sql> show parameter spfile
NAME TYPE VALUE
------------------------------------ ---------------------- ------------------------------
spfile string /export/home/oracledb/oracle/p roduct/10.2.0/dbs/spfileorcl.ora
使用的是spfile参数。
sql> alter system set log_archive_dest_1='location=/export/home/arch';
system altered.
sql> alter system set log_archive_dest_1=''; #置为空的时候, 没有location字样。
system altered.
sql> alter system set log_archive_dest='/export/home/arch';
alter system set log_archive_dest='/export/home/arch'
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid ORA-16018: cannot use LOG_ARCHIVE_DEST with LOG_ARCHIVE_DEST_n orDB_RECOVERY_FILE_DEST
更多精彩
赞助商链接