将staticstics_level设置为basic:
SQL> alter system set statistics_level = basic
2 scope = spfile;
System altered.
启动失败:
SQL> startup force
ORA-00824: cannot set SGA_TARGET or MEMORY_TARGET due to existing internal settings
ORA-00848: STATISTICS_LEVEL cannot be set to BASIC with SGA_TARGET or MEMORY_TARGET
从这个信息看,错误原因就很明显了:statistics_level=BASIC和sga_target的设置不兼容。
为了使数据库启动则使用pfile启动:
SQL> startup pfile=/u01/admin/orclvm/pfile/init.ora.617201202416
通过pfile创建spfile:
create spfile='/u01/oracle/dbs/spfile.ora' from pfile='/u01/admin/orclvm/pfile/init.ora.617201202416';
说明:
平台 |
默认名称 |
默认位置 |
UNIX and Linux |
spfile$ORACLE_SID.ora |
$ORACLE_HOME/dbs |
Windows |
spfile%ORACLE_SID%.ora |
%ORACLE_HOME%database |
实例启动时参数文件的搜索顺序
首先搜索spfile
搜索顺序是首先找spfile$ORACLE_SID.ora,如果没有找到,则找spfile.ora
如果没找到spfile,则搜索pfile:init$ORACLE_SID.ora
如果spfile是裸设备,则会在init$ORACLE_SID.ora文件中使用如下方式指定使用的裸设备:
*.spfile=/dev/rlv_spfile
分享到:
相关推荐
调整参数后引起,ORA-00838: Specified value of MEMORY_TARGET is too small, needs to be at least 3 2768M 的解决方案
oracle19c缺少的函数
ora-01033:oracle initialization or shutdown in progress 解决方法 ora-01033:oracle initialization or shutdown in progress 解决方法 ora-01033:oracle initialization or shutdown in progress 解决方法 ora-...
ORA-32001:write to spfile requested but no spfile is in use请求写入spfile,但没有使用spfile的解决方法 在输入以下语句中报了这样的错误: SQL>alter system set control_files=’/u01/app/oracle/oradata/prod/...
在运行查询SELECT * FROM V$SESSION 会出现ORA-29275:部分多字节字符的错误,这是什么原因开始我不得其解,网上也没有介绍什么好办法。本文给出答案。
ORA-12154: TNS: 无法解析指定的连接标识符的解决方法
ORA-00031:标记要终止的会话解决方案; ORA-00031:标记要终止的会话解决方案;
在启动Oracle数据库时提示:ORA-00845 MEMORY_TARGET not supported on this system错误,解决办法
ORA-01036:非法的变量名/编号 oracle特有的错误
ORA-00604: 递归SQL层1出现错误 ORA-03106: 致命的双工通信协议错误 ORA-02063: 紧接着line(源于dblink) 以及 ORA-04052: 在查找远程对象时出错 ORA-00604: 递归SQL层1出现错误 ORA-03120: 双工转换例行程序:整数...
-- 解决ORA-00904: "WMSYS"."WM_CONCAT": 标识符无效 的文件包....... -- 解决ORA-00904: "WMSYS"."WM_CONCAT": 标识符无效 的文件包....... -- 解决ORA-00904: "WMSYS"."WM_CONCAT": 标识符无效 的文件包....... ...
ORA-03113 "end_of_file on communication channel" ORA-03113 "end_of_file on communication channel" ORA-03113 "end_of_file on communication channel
oracle 12 c ORA-01017: 用户名/口令无效; 登录被拒绝
NULL 博文链接:https://3w1h.iteye.com/blog/1211779
ORA-27303: additional information: MTU could not be verified. Did not receive valid message. These errors are caused by more aggressive checking introduced in 10.2.0.4. Likelihood of Occurrence ...
ORA-00904 WMSYS.WM_CONCAT标识符无效解决方案
ORA-20011,ORA06564错误分析
oracle报错ora-12541:TNS无监听程序
oracle网络配置(listener_ora-sqlnet_ora-tnsnames_ora).mht