[Oracle]如何为数据库设置Event(eg: ORA-00235)
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了[Oracle]如何为数据库设置Event(eg: ORA-00235),小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含2441字,纯文字阅读大概需要4分钟。
内容图文
![[Oracle]如何为数据库设置Event(eg: ORA-00235)](/upload/InfoBanner/zyjiaocheng/492/8be8de3e8de741d5a2cf93e147b90dbf.jpg)
[Oracle]如何为数据库设置Event(eg: ORA-00235)
■ When you use SPFILE,
Setting procedure:
1. Check the current event setting status:
SQL> show parameter event;
2. Add an event and set it up:
If there is no existing event, it is set as follows:
SQL> alter system set event = ‘235 errorstack (3) systemstate (10)‘ scope = spfile;
If there is an existing event, add it and set it as follows:
For example, if there is already an event of "902 errorstack (3) systemstate (10)" as a result of the above "1"
SQL> alter system set event = ‘902 errorstack (3) systemstate (10): 235 errorstack (3) systemstate (10)‘ scope = spfile;
3. Just to be sure, I will get a backup of SPFILE:
Example of execution:
SQL> create pfile = ‘/ home / oracle / pfile.ora‘ from spfile;
4. Restart the database.
To disable it:
1. Delete event 235:
If there is no existing event, it is set as follows:
SQL> alter system set event = ‘‘ scope = spfile;
If there is an existing event, restore the original value:
For example, if there is already an event "902 errorstack (3) systemstate (10)" before this event setting,
SQL> alter system set event = ‘902 errorstack (3) systemstate (10)‘ scope = spfile;
2. Restart the database. In case
■ When you use PFILE,
Setting procedure:
1. Check the line related to "*. Event" with the cat command in the contents of PFILE.
2. Add and configure event 235:
If there is no existing event, please modify it as follows:
*. Event = ‘235 errorstack (3) systemstate (10)‘
The existing event will be appended and set as follows:
For example, if the event of *. Event = ‘902 errorstack (3) systemstate (10)‘ already exists as a result of the above "1"
In some cases,
*. Event = ‘902 errorstack (3) systemstate (10): 235 errorstack (3) systemstate (10)‘
3. Restart the database.
To disable it:
1. Correct the line related to "*. Event" to the contents of PFILE.
If there is no existing event, it is set as follows:
*. Event = ‘‘
If there is an existing event, restore the original value:
For example, if there is already an event of *. Event = ‘902 errorstack (3) systemstate (10)‘ before this event setting,
*. Event = ‘902 errorstack (3) systemstate (10)‘
2. Restart the database.
[Oracle]如何为数据库设置Event(eg: ORA-00235)
标签:when ack backup creat ror show case art example
本文系统来源:http://www.cnblogs.com/gaojian/p/7574290.html
内容总结
以上是互联网集市为您收集整理的[Oracle]如何为数据库设置Event(eg: ORA-00235)全部内容,希望文章能够帮你解决[Oracle]如何为数据库设置Event(eg: ORA-00235)所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。