WEB开发网
开发学院数据库Oracle Oracle10g归档参数研究 阅读

Oracle10g归档参数研究

 2008-10-25 12:58:03 来源:WEB开发网   
核心提示:log_archive_destlog_archive_dest_nlog_archive_startdb_recovery_file_destoracle版本:sql> select * from v$version;BANNERoracleDatabase 10g Enterprise Edition Rel

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

1 2 3  下一页

Tags:Oracleg 归档 参数

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接