{"id":1207,"date":"2016-01-03T10:25:39","date_gmt":"2016-01-03T10:25:39","guid":{"rendered":"http:\/\/haisins.epac.to\/wordpress\/?p=1207"},"modified":"2016-01-03T10:25:39","modified_gmt":"2016-01-03T10:25:39","slug":"oracle-%ec%a0%80%ec%9e%a5-%ea%b5%ac%ec%a1%b0-data-block","status":"publish","type":"post","link":"https:\/\/haisins.synology.me\/wordpress\/?p=1207","title":{"rendered":"Oracle \uc800\uc7a5 \uad6c\uc870 &#8211; Data Block"},"content":{"rendered":"<p><P>&nbsp;<\/P><br \/>\n<P style=\"FLOAT: none; TEXT-ALIGN: center; CLEAR: none\"><img loading=\"lazy\" src=\"https:\/\/i0.wp.com\/oracledba.zapto.org\/wordpress\/wp-content\/uploads\/1\/cfile26.uf.25375D425688F6B42C399F.png?resize=413%2C365\" class=\"aligncenter\" width=\"413\" height=\"365\" filename=\"Image2.png\" filemime=\"image\/jpeg\" data-recalc-dims=\"1\" \/><\/P><br \/>\n<P> <SPAN><\/P><br \/>\n<DIV><SPAN>\uc704 \uadf8\ub9bc\uc5d0\uc11c \uc81c\uc77c \uc704\uc5d0 \uc788\ub294 Block Header\ub294 Cache layer(common)\uc640 Transaction layer(varaible,fixed) \ub098\ub269\ub2c8\ub2e4.<\/SPAN><\/DIV><br \/>\n<DIV><SPAN>\uc704\uc5d0\uc11c \uad6c\ubd84\ud55c \ubd80\ubd84\ub4e4\uc758 \uac01\uac01 \ud06c\uae30\ub97c \ube44\uad50\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/SPAN><\/DIV><br \/>\n<DIV><SPAN><br \/><\/SPAN><\/DIV><br \/>\n<DIV><SPAN>SQL&gt; select component, type, description, type_size<br \/>from v$type_size<br \/>where component in (&#8216;KCB&#8217;,&#8217;KTB&#8217;);<\/p>\n<p>COMPONEN TYPE&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; DESCRIPTION&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TYPE_SIZE<br \/>&#8212;&#8212;&#8211; &#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;-<br \/><B>KCB&nbsp;&nbsp;&nbsp;&nbsp; KCBH&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; BLOCK COMMON HEADER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 20<\/B><br \/>KTB&nbsp;&nbsp;&nbsp;&nbsp; KTBIT&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; TRANSACTION VARIABLE HEADER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 24<br \/>KTB&nbsp;&nbsp;&nbsp;&nbsp; KTBBH&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; TRANSACTION FIXED HEADER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 48<br \/>KTB&nbsp;&nbsp;&nbsp;&nbsp; KTBBH_BS TRANSACTION BLOCK BITMAP SEGMENT&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 8<\/SPAN><\/DIV><br \/>\n<DIV><SPAN><br \/><\/SPAN><\/DIV><br \/>\n<DIV><SPAN>Cache Layer\ub294 20byte\uc774\uba70 KCBH\ub85c \uc870\ud68c\ub429\ub2c8\ub2e4.<\/SPAN><\/DIV><br \/>\n<DIV><SPAN>\uc544\ub798\uc640 \uac19\uc740 \uc815\ubcf4\ub97c \ud3ec\ud568\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4.<\/SPAN><\/DIV><br \/>\n<DIV><SPAN>@Data Block Address(DBA,\uc8fc\uc18c)<\/SPAN><\/DIV><br \/>\n<DIV><SPAN>@Block Type(\uc608 : Table, Index, Undo)<\/SPAN><\/DIV><br \/>\n<DIV><SPAN>@Block Format(v6,v7,v8,\uc624\ub77c\ud074\ubc84\uc804)<\/SPAN><\/DIV><br \/>\n<DIV><SPAN>@System Change Number(SCN : \ubcf5\uad6c\uc791\uc5c5 \ub4f1\uc5d0 \uc0ac\uc6a9\ub428)<\/SPAN><\/DIV><br \/>\n<DIV><SPAN><br \/><\/SPAN><\/DIV><br \/>\n<DIV><SPAN>\ub2e4\uc74c\uc740 Transaction layer\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4<\/SPAN><\/DIV><br \/>\n<DIV><SPAN><br \/><\/SPAN><\/DIV><br \/>\n<DIV><SPAN>SQL&gt; select component, type, description, type_size<br \/>from v$type_size<br \/>where component in (&#8216;KCB&#8217;,&#8217;KTB&#8217;)&nbsp; 2&nbsp;&nbsp;&nbsp; 3&nbsp; ;<\/p>\n<p>COMPONEN TYPE&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; DESCRIPTION&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TYPE_SIZE<br \/>&#8212;&#8212;&#8211; &#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;-<br \/>KCB&nbsp;&nbsp;&nbsp;&nbsp; KCBH&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; BLOCK COMMON HEADER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 20<br \/><B>KTB&nbsp;&nbsp;&nbsp;&nbsp; KTBIT&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; TRANSACTION VARIABLE HEADER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 24<\/B><br \/><B>KTB&nbsp;&nbsp;&nbsp;&nbsp; KTBBH&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; TRANSACTION FIXED HEADER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 48<\/B><br \/>KTB&nbsp;&nbsp;&nbsp;&nbsp; KTBBH_BS TRANSACTION BLOCK BITMAP SEGMENT&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 8<\/SPAN><\/DIV><br \/>\n<DIV><SPAN><br \/><\/SPAN><\/DIV><br \/>\n<DIV><SPAN>Fixed\uc601\uc5ed\uc740 KTBBH\uc601\uc5ed\uc5d0 \ud574\ub2f9\ub418\uba70 \ucd1d 48 byte\uc758 \ud06c\uae30\ub97c \uac00\uc9d1\ub2c8\ub2e4.<\/SPAN><\/DIV><br \/>\n<DIV><SPAN>@Block Type<\/SPAN><\/DIV><br \/>\n<DIV><SPAN>@\ub9c8\uc9c0\ub9c9\uc73c\ub85c \uc218\ud589\ub41c Block Cleanout \uc2dc\uac04, ITL Entries \uc815\ubcf4, Free List Link \uc815\ubcf4, Free space Lock \uc815\ubcf4 \ub4f1\uc774 \uc800\uc7a5\ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4<\/SPAN><\/DIV><br \/>\n<DIV><SPAN><br \/><\/SPAN><\/DIV><br \/>\n<DIV><SPAN>\uadf8\ub9ac\uace0 varaiable \uc601\uc5ed\uc740 KTBIT \ubd80\ubd84\uc5d0 \ud574\ub2f9\ub418\uba70 24byte\uc758 \ud06c\uae30\ub97c \uac00\uc9d1\ub2c8\ub2e4. \uc5ec\uae30\uc5d0\ub294 row\ub97c \ubcc0\uacbd\ud558\uae30\ub97c \uc6d0\ud558\ub294 \uc2e4\uc81c itl \uad00\ub828 \uc815\ubcf4\uac00 \ub4e4\uc5b4\uac11\ub2c8\ub2e4.<\/SPAN><\/DIV><\/SPAN><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; \uc704 \uadf8\ub9bc\uc5d0\uc11c \uc81c\uc77c \uc704\uc5d0 \uc788\ub294 Block Header\ub294 Cache layer(common)\uc640 Transaction layer(varaible,fixed) \ub098\ub269\ub2c8\ub2e4. \uc704\uc5d0\uc11c \uad6c\ubd84\ud55c \ubd80\ubd84\ub4e4\uc758 \uac01\uac01 \ud06c\uae30\ub97c \ube44\uad50\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. SQL&gt; select component, type, description, type_sizefrom v$type_sizewhere component in (&#8216;KCB&#8217;,&#8217;KTB&#8217;); COMPONEN TYPE&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; DESCRIPTION&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TYPE_SIZE&#8212;&#8212;&#8211; &#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;-KCB&nbsp;&nbsp;&nbsp;&nbsp; KCBH&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; BLOCK COMMON HEADER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 20KTB&nbsp;&nbsp;&nbsp;&nbsp; KTBIT&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; TRANSACTION VARIABLE HEADER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 24KTB&nbsp;&nbsp;&nbsp;&nbsp; KTBBH&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; TRANSACTION [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1208,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"spay_email":""},"categories":[9],"tags":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/haisins.synology.me\/wordpress\/wp-content\/uploads\/1\/cfile26.uf.25375D425688F6B42C399F.png?fit=413%2C365&ssl=1","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1207"}],"collection":[{"href":"https:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1207"}],"version-history":[{"count":0,"href":"https:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1207\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/media\/1208"}],"wp:attachment":[{"href":"https:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}