ORACLE PL/SQL异常处理(Exception)学习笔记
1、PL/SQL错误类型
错误类型 |
报告者 |
处理方法 |
编译时错误 |
PL/SQL编译器 |
交互式地处理:编译器报告错误,你必须更正这些错误 |
运行时错误 |
PL/SQL运行时引擎 |
程序化地处理:异常由异常处理子程序引发并进行捕获 |
错误类型 |
报告者 |
处理方法 |
编译时错误 |
PL/SQL编译器 |
交互式地处理:编译器报告错误,你必须更正这些错误 |
运行时错误 |
PL/SQL运行时引擎 |
程序化地处理:异常由异常处理子程序引发并进行捕获 |
| 主题: | Customer Introduction to ORA-7445 Errors | |||
| 文档 ID: | 211909.1 | 类型: | BULLETIN | |
| Modified Date: | 10-OCT-2008 | 状态: | PUBLISHED | |
The purpose of this note is to provide an introduction to ORA-7445 errors, and to suggest the next step in diagnosing the error. The note is written with a UNIX bias, although the concepts are generic.
To be used by the DBA when reporting ORA-7445 errors to Oracle Support Services.
An ORA-7445 error is raised by an Oracle server process when it has received a fatal signal from the operating system. The error may be raised in either a foreground or background process. The process will normally
There are many ‘illegal’ operations that the operating system can trap. A common example is a process writing to an invalid memory location, and so to protect the system the offending process will be sent a fatal signal.
Typically, the signals seen are SIGBUS (signal 10, bus error) and SIGSEGV (signal 11, segmentation violation). There are other UNIX signals and exceptions that may happen, however, they are likely caused by OS problems rather than an Oracle problem. Examples of other signals are: SIGINT, SIGKILL, SIGSYS. A complete list is available in Note 1038055.6.
An ORA-7445 is a generic error, and can occur from anywhere in the Oracle code. The precise location of the error is identified by the trace file it produces.
The appearance of an ORA-7445 error varies slightly from platform to platform. The two general forms are illustrated here.