📄 234.html
字号:
<STYLE type=text/css>
<!--
body,td { font-size:9pt;}
hr { color: #000000; height: 1px}
-->
</STYLE>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD><TITLE>精选文章 >> Oracle 专栏 >> ORACLE数据库应用开发常见问题及排除</title>
</head>
<body >
<p><IMG SRC="../image/jsp001_middle_logo.gif" WIDTH="180" HEIGHT="60" BORDER=0 ALT=""></p>
<table width=100% bgcolor="#cccccc" align=center cellpadding="2" cellspacing="0" border=1 bordercolorlight="#000000" bordercolordark="#FFFFFF">
<tr bgcolor="#EFF8FF"><td>
<a href=http://www.jsp001.com/list_thread.php?int_attribute=2>精选文章</a>
>> <a href=http://www.jsp001.com/list_thread.php?forumid=20&int_attribute=2>Oracle 专栏</a>
>> ORACLE数据库应用开发常见问题及排除 [<a href=http://www.jsp001.com/forum/showthread.php?goto=newpost&threadid=234>查看别人的评论</a>]<br>
<hr><p>由 webmaster 发布于: 2001-02-03 14:00</p><p><img src="images/icons/icon10.gif" alt="Talking" border=0> </p><p>硬件平台:SUN Ultra Enterprise 3000 <br><br> 操作系统:Solaris 2.5(中文简体) <br><br> 磁盘:4.2GB <br><br> 内存:256MB <br><br> ORACLE B版本:7.3.2.1 <br><br> 安装目录:/database/oracle(/database下有2GB空间) <br><br> 安装产品:ORACLE RDBMS,SQL*NET,SQL*Plus,Pro *C,Server Manager等 <br><br> 产品安装正常,运行稳定。 <br> <br><br> 二、应用开发中常见问题及排除 <br><br> ORACLE数据库在应用开发过程中,经常会遇到以下两个问题: <br><br> 1、使用Shutdown命令不能关闭数据库; <br><br> 2、Client端经常无故发生死机现象。 <br><br> 问题1的排除:只要正确使用命令开启和关闭数据库(只有Internal用户有此权),问题1的出现,是由于数据库有未提交事务,此时可用Shutdown Abort命令关闭数据库,但是所有未提交事务将被废弃。 <br><br> 问题2的排除:⑴此时可在Server端使用Platinum EP M产品确认问题所在。使用EMP可以监控系统的运行,当Cl ient端发生死机时,监控DML LOCK的使用会发现,用户由于误操作,造成此用户在数据库中发生死锁,引起Client 端死机。经确定进程号后,到ORACLE用户下,使用‘KILL -9进程号’命令,即可释放死锁,解决Client端死机问题。 <br><br> 例如用户在发出Update、Delete命令语句后,接着进行Select,此时这个用户就会发生死锁。 <br><br> ⑵在应用软件开发过程中?会由于应用软件中存在某些BUG问题引起Client端死机。此时可借助数据字典和数据库基表进行查找,主要针对数据库中数据特点及数据库基表的约束条件进行核对以尽快找到问题所在,而和数据库的性能没有关系;当然也可在Server端使用EPM,监控某一用户当前正在执行的SQL语句,以便找到问题的所在。 <br><br> 例如用户数据表加入数据后,运行应用程序时,提示DUP-VALUE-IN-INDEX等类似错误信息时,就是因为数据基表的Primary Key的数据字段选择有误,造成不应加入的数据加入到数据库,使应用程序发生死机。此时可通过修改基表,删除错误数据,即可解决问题。 <br> </p></td>
</tr>
</table>
<p>
<CENTER><a href="http://www.jsp001.com/forum/newreply.php?action=newreply&threadid=234">点这里对该文章发表评论</a></CENTER>
<p>该文章总得分是 <font color=red>0</font> 分,你认为它对你有帮助吗?
[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=234&intVote=4","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>非常多</a>](<font color=red>0</font>)
[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=234&intVote=2","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>有一些</a>](<font color=red>0</font>)
[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=234&intVote=1","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>无帮助</a>](<font color=red>0</font>)
[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=234&intVote=-1","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>是灌水</a>](<font color=red>0</font>) </p>
<script language="javascript" src="http://www.jsp001.com/include/read_thread_script.php?threadid=234"></script>
<p><CENTER>
Copyright © 2001 - 2009 JSP001.com . All Rights Reserved <P>
<IMG SRC="../image/jsp001_small_logo.gif" WIDTH="85" HEIGHT="30" BORDER=0 ALT="">
</CENTER></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -