ITPub博客

首页 > Linux操作系统 > Linux操作系统 > pfile spfile

pfile spfile

原创 Linux操作系统 作者:ygzhou518 时间:2011-12-15 10:30:56 0 删除 编辑

[oracle@RAC01 bdump]$ sqlplus / as sysdba
 SQL*Plus: Release 10.2.0.1.0 - Production on Tue Dec 13 03:34:21 2011
 Copyright (c) 1982, 2005, Oracle.  All rights reserved.
 
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
 
SQL> create pfile='/home/oracle/backup/initygzhou.ora' from memory;
create pfile='/home/oracle/backup/initygzhou.ora' from memory
                                                       *
ERROR at line 1:
ORA-00922: missing or invalid option
 
 SQL> create spfile='/home/oracle/backup/spfileygzhou.ora' from memory;
create spfile='/home/oracle/backup/spfileygzhou.ora' from memory
                                                          *
ERROR at line 1:
ORA-00922: missing or invalid option

[oracle@standbyDB backup]$ sqlplus / as sysdba
 SQL*Plus: Release 11.2.0.1.0 Production on Thu Dec 15 01:44:31 2011
 Copyright (c) 1982, 2009, Oracle.  All rights reserved.
 
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
 
SQL> create pfile='/home/oracle/backup/initygzhou.ora' from memory;
 File created.
 
SQL> create spfile='/home/oracle/backup/spfileygzhou.ora' from memory;
 File created.

當Oracle 11g pfile/spfile丟失后、可以通過該方式重新獲取

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24867586/viewspace-713344/,如需转载,请注明出处,否则将追究法律责任。

上一篇: Rman backup step
下一篇: Linux date
请登录后发表评论 登录
全部评论

注册时间:2011-02-11

  • 博文量
    167
  • 访问量
    360340