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

📄 554.html

📁 关于jsp的一些好文章 主要介绍一些关于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 专栏 >> A 7-3 LGWR,Log Switches, and Checkpoints</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=4>论坛精华</a>
>> <a href=http://www.jsp001.com/list_thread.php?forumid=20&int_attribute=4>Oracle 专栏</a>
>> A 7-3 LGWR,Log Switches, and Checkpoints [<a href=http://www.jsp001.com/forum/showthread.php?goto=newpost&threadid=554>查看别人的评论</a>]<br>

<hr><p>由 macro 发布于: 2001-03-01 12:53</p><p><img src="images/icons/icon6.gif" alt="Cool" border=0> </p><p>Redo Log Buffer and the LGWR Background Process<br><br>The oracle server sequentially records all changes made to the database in the redo log buffer.The redo log buffer is used in <font color=red>a circular manner</font>.The redo entries are written to <font color=red>one of the online redo log groups</font> called the current online redo log group by the LGWR process under the following situations:<br><br>1. When a transaction commits<br>2. When the redo log buffer becomes one-third full<br>3. When there is more than a megabyte of changed records in the redo log buffer.<br>4. When timeout occurs(every 3 seconds)<br>5. Before the DBWn writes modified blocks in the database buffer cache to the data files.<br><br>Log Switches <br><br>LGWR writes to the online redo log files sequentially - that is , when the  current online redo log group is filled , LGWR begins writing to the next group ,when the last available online redo log file is filled, LGWR returns to the first online redo log group and starts writing again .<br><br>The database administrator can also force log switches.Each time a log switch occurs and LGWR begins writing to a new log group, the oracle server assigns a number known as the log sequence number to identify the set of redo entries.<br><br>When a log switch occurs, and event called a checkpoint is initiated.<br><br>A log switch is the event during which LGWR stops writing to one online redo log group and  starts writing to another.<br><br></p><hr><p>由 macro 发布于: 2001-03-01 13:04</p><p> </p><p>During a checkpoints:<br><br>1. A number of dirty database buffers covered by the log being checkpointed are written to the data files by DBWn . The number of buffers being written by DBWn is determined by the parameter FAST_START_IO_TARGET , if specifed.<br><br>2.The checkpoint background process CKPT updates the headers of all data files and control files to reflect  that it has completed successfully.<br><br>Checkpoints can occur for all data files in the database or for only specific data files.<br><br>A checkpoint occurs , for example, in the following situations:<br><br>1.At every log switch<br>2.when an instance has been shut down with the normal ,transactional,or immediate option<br>3.When forced by setting the initialization parameters: LOG_CHECKPOINT_INTERVAL,LOG_CHECKPOINT_TIMEOUT,and FAST_START_IO_TARGET<br>4.When manually requested by the database administrator<br><br><br>Information about each checkpoint is recorded in the ALERT file if the initialization parameter LOG_CHECKPOINT_TO_ALERT is set to TURE. <font color=red>The default value of FALSE</font> for this parameter does not log checkpoint.</p><hr><p>由 macro 发布于: 2001-03-01 13:05</p><p> </p><p>The FAST_START_IO_TARGET parmeter has been added in release 8.1</p></td>
  </tr>
</table>

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