📄 236.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 专栏 >> 怎样识别IO竞争和负载平衡?</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>
>> 怎样识别IO竞争和负载平衡? [<a href=http://www.jsp001.com/forum/showthread.php?goto=newpost&threadid=236>查看别人的评论</a>]<br>
<hr><p>由 webmaster 发布于: 2001-02-03 14:02</p><p><img src="images/icons/icon10.gif" alt="Talking" border=0> </p><p>系统环境: <br>1、操作系统:Windows 2000<br>2、数据库: Oracle 8i R2 (8.1.6) for NT 企业版<br>3、安装路径:C:\ORACLE<br><br>使用系统表: <br>v$datafile:存储数据库中数据文件的信息<br>v$filestat:存储系统中访问数据文件的统计信息<br><br>SQL语句: <br><br>col 文件名 format a35<br>select <br> df.name 文件名,<br> fs.phyrds 读次数,<br> fs.phywrts 写次数,<br> (fs.readtim/decode(fs.phyrds,0,-1,fs.phyrds)) 读时间,<br> (fs.writetim/decode(fs.phywrts,0,-1,fs.phywrts)) 写时间<br>from <br> v$datafile df,<br> v$filestat fs<br>where df.file#=fs.file#<br>order by df.name<br>/<br>文件名 读次数 写次数 读时间 写时间<br>-------------------------------------------- ---------- ---------- ---------- ----------<br>C:\ORACLE\ORADATA\ORADB\DR01.DBF 885 883 0 0<br>C:\ORACLE\ORADATA\ORADB\INDX01.DBF 885 883 0 0<br>C:\ORACLE\ORADATA\ORADB\OEM_REPOSITORY.ORA 885 883 0 0<br>C:\ORACLE\ORADATA\ORADB\RBS01.DBF 925 22306 0 0<br>C:\ORACLE\ORADATA\ORADB\SYSTEM01.DBF 50804 155025 0 0<br>C:\ORACLE\ORADATA\ORADB\TEMP01.DBF 887 894 0 0<br>C:\ORACLE\ORADATA\ORADB\TOOLS01.DBF 886 892 0 0<br>C:\ORACLE\ORADATA\ORADB\USERS01.DBF 885 883 0 0<br><br>已选择8行。<br><br>其中:ORADB为数据库名,因为本例中数据库使默认安装,没有进行过优化、调整,<br> 所以,一直在system表空间上做操作,导致system表空间所在的数据文件SYSTEM01.DBF被读写的次数最多,<br> 这也说明了,尽量不要在system表空间做与系统无关的操作,应给各个用户建立单独的表空间。<br><br></p></td>
</tr>
</table>
<p>
<CENTER><a href="http://www.jsp001.com/forum/newreply.php?action=newreply&threadid=236">点这里对该文章发表评论</a></CENTER>
<p>该文章总得分是 <font color=red>0</font> 分,你认为它对你有帮助吗?
[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=236&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=236&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=236&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=236&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=236"></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 + -