一什么是CKPT进程 作用: 发出信号给DBWn 更新数据文件头 更新控制文件 At specific times, all modified databasebuffers in the system global area are written to the datafiles by DBWn. Thisevent is called a checkpoint. The checkpoint process is
一 什么是CKPT进程
作用:
发出信号给DBWn
更新数据文件头
更新控制文件
At specific times, all modified databasebuffers in the system global area are written to the datafiles by DBWn. Thisevent is called a checkpoint. The checkpoint process is responsible forsignalling DBWn at checkpoints and updating all the datafiles and control filesof the database to indicate the most recent checkpoint.
二%20%20操作示例
[oracle@localhost%20桌面]$%20ps%20-ef%20|%20grep%20ora_oracle%20%20%20%206491%20%20%20%20%201%20%200%2011:17%20?%20%20%20%20%20%20%20%2000:00:00%20ora_pmon_orcloracle%20%20%20%206493%20%20%20%20%201%20%200%2011:17%20?%20%20%20%20%20%20%20%2000:00:00%20ora_psp0_orcloracle%20%20%20%206495%20%20%20%20%201%20%200%2011:17%20?%20%20%20%20%20%20%20%2000:00:00%20ora_mman_orcloracle%20%20%20%206497%20%20%20%20%201%20%200%2011:17%20?%20%20%20%20%20%20%20%2000:00:00%20ora_dbw0_orcloracle%20%20%20%206499%20%20%20%20%201%20%200%2011:17%20?%20%20%20%20%20%20%20%2000:00:00%20ora_lgwr_orcloracle%20%20%20%206501%20%20%20%20%201%20%200%2011:17%20?%20%20%20%20%20%20%20%2000:00:00%20ora_ckpt_orcloracle%20%20%20%206503%20%20%20%20%201%20%200%2011:17%20?%20%20%20%20%20%20%20%2000:00:00%20ora_smon_orcloracle%20%20%20%206505%20%20%20%20%201%20%200%2011:17%20?%20%20%20%20%20%20%20%2000:00:00%20ora_reco_orcloracle%20%20%20%206507%20%20%20%20%201%20%200%2011:17%20?%20%20%20%20%20%20%20%2000:00:00%20ora_cjq0_orcloracle%20%20%20%206509%20%20%20%20%201%20%200%2011:17%20?%20%20%20%20%20%20%20%2000:00:00%20ora_mmon_orcloracle%20%20%20%206511%20%20%20%20%201%20%200%2011:17%20?%20%20%20%20%20%20%20%2000:00:00%20ora_mmnl_orcloracle%20%20%20%206513%20%20%20%20%201%20%200%2011:17%20?%20%20%20%20%20%20%20%2000:00:00%20ora_d000_orcloracle%20%20%20%206515%20%20%20%20%201%20%200%2011:17%20?%20%20%20%20%20%20%20%2000:00:00%20ora_s000_orcloracle%20%20%20%206519%20%20%20%20%201%20%200%2011:17%20?%20%20%20%20%20%20%20%2000:00:00%20ora_qmnc_orcloracle%20%20%20%206527%20%20%20%20%201%20%200%2011:18%20?%20%20%20%20%20%20%20%2000:00:00%20ora_q000_orcloracle%20%20%20%206529%20%20%20%20%201%20%200%2011:18%20?%20%20%20%20%20%20%20%2000:00:00%20ora_q001_orcloracle%20%20%20%206538%20%20%20%20%201%20%200%2011:19%20?%20%20%20%20%20%20%20%2000:00:00%20ora_j000_orcloracle%20%20%20%206541%20%202720%20%200%2011:19%20pts/0%20%20%20%2000:00:00%20grep%20ora_[oracle@localhost%20桌面]$%20ps%20-ef%20|%20grep%20ora_%20|%20grep%20ckptoracle%20%20%20%206501%20%20%20%20%201%20%200%2011:17%20?%20%20%20%20%20%20%20%2000:00:00%20ora_ckpt_orcl[oracle@localhost%20桌面]$%20kill%20-9%206501[oracle@localhost%20桌面]$%20ps%20-ef%20|%20grep%20ora_%20|%20grep%20ckpt[oracle@localhost%20桌面]$%20ps%20-ef%20|%20grep%20ora_oracle%20%20%20%206554%20%202720%20%200%2011:20%20pts/0%20%20%20%2000:00:00%20grep%20ora_[oracle@localhost%20桌面]$%20sqlplus%20/%20as%20sysdba;SQL*Plus:%20Release%2010.2.0.1.0%20-%20Production%20on%20Thu%20Jun%206%2011:20:14%202013Copyright%20(c)%201982,%202005,%20Oracle.%20%20All%20rights%20re本文来源gaodaimacom搞#^代%!码&网(served.Connected%20to%20an%20idle%20instance.SQL>%20startupORACLE%20instance%20started.Total%20System%20Global%20Area%20%20838860800%20bytesFixed%20Size %20%20%20%201222192%20bytesVariable%20Size %20%20788531664%20bytesDatabase%20Buffers %20%20%2046137344%20bytesRedo%20Buffers %20%20%20%202969600%20bytesDatabase%20mounted.Database%20opened.SQL>%20exit;Disconnected%20from%20Oracle%20Database%2010g%20Enterprise%20Edition%20Release%2010.2.0.1.0%20-%20ProductionWith%20the%20Partitioning,%20OLAP%20and%20Data%20Mining%20options[oracle@localhost%20桌面]$%20ps%20-ef%20|%20grep%20ora_%20|%20grep%20ckptoracle%20%20%20%206568%20%20%20%20%201%20%200%2011:20%20?%20%20%20%20%20%20%20%2000:00:00%20ora_ckpt_orcl
三%20%20总结
%20
%20%20%20%20%20%20%20%201.CKPT,非常非常重要的后台进程,同样不能kill。触发顺序:CKPT——>DBWR——->LGWR
%20%20%20%20%20%20%20%202.作用:发出信号给DBWn、更新数据文件头、更新控制文件
%20%20%20%20%20%20%20%203.Linux中使用ps命令查看CKPT进程。
我的邮箱:[email protected]%20%20新浪微博:@Wentasy27%20%20微信公众平台:JustOracle(微信号:justoracle)%20%20数据库技术交流群:336882565(加群时验证%20From%20CSDN%20XXX)%20%20Oracle交流讨论组:https://groups.google.com/d/forum/justoracle%20%20By%20Larry%20Wen
@Wentasy |