欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

spfile丢失的处理

程序员文章站 2022-06-16 22:46:25
...

(1) SQL startup pfile=/oracle/admin/db/pfile/init.ora.73201416940 ORACLE instance started. Total System Global Area 285212672 bytes Fixed Size 2095704 bytes Variable Size 88081832 bytes Database Buffers 188743680 bytes Redo Buffers 62914

(1)

SQL> startup pfile=/oracle/admin/db/pfile/init.ora.73201416940

ORACLE instance started.

Total System Global Area 285212672 bytes

Fixed Size 2095704 bytes

Variable Size 88081832 bytes

Database Buffers 188743680 bytes

Redo Buffers 6291456 bytes

Database mounted.

Database opened.

(2)

SQL> create spfile from pfile='/oracle/admin/db/pfile/init.ora.73201416940';

File created.

(3)

重新启动,可以找到spfile

备份spfile

SQL> create pfile='/oracle/admin/pfile.ora' from spfile;

File created.