PARAMETER FILE研究
为什么80%的码农都做不了架构师?>>>
initialization parameter files have two types
1)read-only text file:be called text initialization parameter file
2)read/writer binary file:be called server parameter file
《Oracle® Database Administrator's Guide 11g Release 2 (11.2)》-<Specifying Initialization Parameters> introduce database startup using parameter file method
Before you manually create a server parameter file, you can start an instance with a text initialization parameter file. Upon startup, the Oracle instance first searches for a server parameter file in a default location, and if it does not find one, searches for a text initialization parameter file. You can also override an existing server parameter file by naming a text initialization parameter file as an argument of the STARTUP
command.
实践启动方式和修改方式如下
startup method |
change method |
current effect |
after shutdown and startup |
with initialization parameter file | alter system | TEST 1,effect | TEST 1,no effect |
change text file | TEST 2,no effect | TEST 2,effect | |
with server parameter file | alter system | TEST 3,effect | TEST 3,no effect |
TEST 1 steps:
step content |
result |
1)determenation no server parameter file |
|
2)startup database spfile=’’ |
|
3)show parameter db_cache_size |
db_cache_size value is 0 |
4)alter system set db_cahche_size=1024000 |
|
5)show parameter db_cache_size |
db_cache_size value is 16M |
6)shutdown immediate |
|
7)observe server paramter file if exsit |
server paramter file not exist |
8)startup |
|
9)show parameter db_cache_size |
db_cache_size value is 0 |
conclusion:
1)if database startup with text initialization parameter file,database don’t produce server parameter file automatic,even parameter be changed with alter system statement.
2)if database startup with server parameter file ,want to change parameter and persist it.follow steps achieve this objects
[1]sql>alter system set paramter=
[2]sql>create pfile from spfile
[3]sql>startup pfile=’’
[4]sql>create spfile from pfile
[5]sql>startup
转载于:https://my.oschina.net/kursk/blog/79544
PARAMETER FILE研究相关推荐
- could not open parameter file init**.ora
sqlplus /nolog.conn /as sysdba.startup命令后显示 SQL> startup ORA-01078: failure in processing system ...
- 【MRT报错问题】Error: ReadParameterFile : Reading Input Parameter File
盘点那些使用MRT过程中的 " 不走心" 带来的ERROR ~~知错能改,善莫大焉~~~ 疑难杂症浅录 ERROR 1: 执行投影时,读参数文件报错 MODIS Reproject ...
- ORA-01078: failure in processing system parameters LRM-00109: could not open parameter file 解决过程
问题描述 centOS7上面装有oracle数据库,参考这种方式安装的,服务器异常关闭,重启服务器后数据库不能启动. 处理步骤 1.登录Linux,切换到oracle用户下su - oracle,查询 ...
- ORA-01078: failure in processing system parameters LRM-00109: could not open parameter file
产生原因:在执行关闭数据命令或其他命令的过程中异常断电,或者命令人为中断(因为有的命令可能要执行1分钟,有些新手以为卡死了,关闭了命令行导致),导致开启数据库的初始化文件丢失或异常 解决办法:orac ...
- Oracle parameter file(参数文件)
Oracle中的参数文件是一个包含一系列参数以及参数对应值的系统文件.数据库启动时加载参数文件,按参数文件中的配置决定数据库的物理结构.内存.数据库的限制等各种属性. 一.参数文件可分为:pfile( ...
- oracle中overwrite写法,【学习笔记】Oracle 11G新特性restart的深入研究案例
[学习笔记]Oracle 11G新特性restart的深入研究案例 时间:2016-11-26 22:35 来源:Oracle研究中心 作者:网络 点击: 次 天萃荷净 Oracle研究中 ...
- Oracle OEM 配置报错: No value was set for the parameter DBCONTROL_HTTP_PORT 解决方法
这几天经常与OEM 顶上,前几天刚解决一个OEM问题,今天又遇到了. Oracle 安装OEM 报错: 无法对所有EM 相关账户解锁 解决方法 http://blog.csdn.net/tianles ...
- 使用RMAN备份控制文件(control file)和系统参数文件(spfile)
1.Use the CONFIGURE CONTROLFILE AUTOBACKUP command to eanable 设置RMAN配置文件,将CONFIGE CONTROLFILE AUTOBA ...
- oracle file参数,oracle的参数以及pfile和spfile
对这些东西都没什么整体概念,以下是东抄西抄的. 1,Select isspecified,count(*) from v$spparameter group by isspecified; 如果iss ...
最新文章
- Codeforces Round #104 (Div. 2) E DP(01背包模型) +组和+除法取模求逆元
- MQTT client id重复导致连接失败
- OpenGL ES 3.0之Texturing纹理详解(二)
- 浙江工商大学计算机学院调剂录取,浙江工商大学2017年硕士研究生调剂拟录取名单公布(持续更新)...
- win10 家庭版 CredSSP加密Oracle修正 设置方法
- 为什么谷歌要执行严格的代码编写规范
- Spring Boot如何以优雅的姿势校验参数
- java+widthstep,OpenCV 中结构体IplImage 成员width,widthStep使用注意事项
- C# 将图片转成字符画
- 用AI引导人类直觉促进数学发展 【DeepMind Nature2021.12.1】
- eclipse的安装及最大子数组求和
- https利用360cdn实现网站加速
- python开发工程师是干嘛的-python开发工程师是做什么的
- sonar pdf 插件
- 刀客建站系统安装流程
- file上传代码 ios_iOS-实现文件上传下载
- 《图解HTTP》(四)更安全的HTTPS、用户认证
- Delphi System 提供的编译期函数(Dec,Inc,Odd,Pred,Succ,Ord,Chr,Low,High,Sizeof)
- 微信自定义开发的一些问题的梳理
- 遇到class path resource [applicationcontext.xml] cannot be opened becaus的问题该怎么解决??