⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 309.html

📁 Jsp001精华文章离线版.很不错的,主要是针对JSP的相关内容的
💻 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 专栏 >> 关于ROLLBACK SEGMENT</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>
>> 关于ROLLBACK SEGMENT [<a href=http://www.jsp001.com/forum/showthread.php?goto=newpost&threadid=309>查看别人的评论</a>]<br>

<hr><p>由 webmaster 发布于: 2001-02-07 14:23</p><p><img src="images/icons/icon6.gif" alt="Cool" border=0> </p><p>rollback segment是ORACLE里一种很特殊的数据对象,它处理事务的回滚操作。<br><br>通常,我们需要(并发ORACLE用户连接数/4 ) 个rollback segment,一般用private类型, 最大的个数为50。<br><br>创建r01,r02,r03,r04以外的rollback segment语法:<br><br>create rollback segment r05 tablespace rbs storage (initial 128k next 128k minextents 20 );<br>alter rollback segment r05 online;<br>......  ......<br><br>rollback segemt 缺省的存储参数:pctincrease 0  minextents 偶数  <br>                                maxextent跟数据库的块大小有关<br>                                        2K      121<br>                                        4K      249<br>                                        8K      505<br><br>针对某个特定的大事务操作,如update大量数据时,可以建一个大的rollback segment<br><br>如:<br>create rollback segment rte tablespace rbs storage (initial 5M next 5M minextents 20);<br>alter rollback segment rte online;<br>改数据库参数文件 initoraid.ora<br>rollback_segments = (r01, r02, r03, r04,r05,r06,r07,r08,r09,r10,r11,r12,rte)<br><br>重启数据库,新建的rollback_segment才生效<br><br>把大事务操作指给大的回滚段rte<br>set transction use rollback_segment rte;<br>update table_name set filed_name=......  where ...... ;<br>commit;<br></p></td>
  </tr>
</table>

<p>
<CENTER><a href="http://www.jsp001.com/forum/newreply.php?action=newreply&threadid=309">点这里对该文章发表评论</a></CENTER>
<p>该文章总得分是 <font color=red>0</font> 分,你认为它对你有帮助吗?
				[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=309&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=309&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=309&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=309&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=309"></script>
<p><CENTER>
Copyright &copy; 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 + -