<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Oracle Database Disected Weblog</title>
	<atom:link href="http://oracledisect.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://oracledisect.wordpress.com</link>
	<description>Let's Talk about Oracle Server, day to day experiencies, technical researchs, some internals and news.</description>
	<lastBuildDate>Mon, 30 Aug 2010 20:36:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='oracledisect.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Oracle Database Disected Weblog</title>
		<link>http://oracledisect.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://oracledisect.wordpress.com/osd.xml" title="Oracle Database Disected Weblog" />
	<atom:link rel='hub' href='http://oracledisect.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Back home and writing</title>
		<link>http://oracledisect.wordpress.com/2010/08/30/back-home-and-writing/</link>
		<comments>http://oracledisect.wordpress.com/2010/08/30/back-home-and-writing/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 18:44:03 +0000</pubDate>
		<dc:creator>oracledisect</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://oracledisect.wordpress.com/2010/08/30/back-home-and-writing/</guid>
		<description><![CDATA[After a few trips abroad and very interesting projects with vip-big customers, new features, that demanded lot of time and concentration &#8230; I&#8217;m back! Want to share with you some goodies from my trips &#8230; and advice. Trinidad &#38; Tobago: be aware of displicent and slow service, lot of chinese places. Brazil, Rio de Janeiro: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracledisect.wordpress.com&amp;blog=5143040&amp;post=158&amp;subd=oracledisect&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After a few trips abroad and very interesting projects with vip-big customers, new features, that demanded lot of time and concentration &#8230; I&#8217;m back!</p>
<p>Want to share with you some goodies from my trips &#8230; and advice.</p>
<p>Trinidad &amp; Tobago: be aware of displicent and slow service, lot of chinese places.</p>
<p>Brazil, Rio de Janeiro: try Feijoada at Rondinella Rest., Av. Atlantica, Copacabana Beach&#8230; you won&#8217;t regret.</p>
<p><a href="http://oracledisect.files.wordpress.com/2010/08/feijoada.jpg"><img class="alignnone size-medium wp-image-159" title="Feijoada" src="http://oracledisect.files.wordpress.com/2010/08/feijoada.jpg?w=300&#038;h=225" alt="" width="300" height="225" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oracledisect.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oracledisect.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oracledisect.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oracledisect.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oracledisect.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oracledisect.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oracledisect.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oracledisect.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oracledisect.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oracledisect.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oracledisect.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oracledisect.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oracledisect.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oracledisect.wordpress.com/158/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracledisect.wordpress.com&amp;blog=5143040&amp;post=158&amp;subd=oracledisect&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oracledisect.wordpress.com/2010/08/30/back-home-and-writing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/51360c565459696cefe90b691819a49c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oracledisect</media:title>
		</media:content>

		<media:content url="http://oracledisect.files.wordpress.com/2010/08/feijoada.jpg?w=300" medium="image">
			<media:title type="html">Feijoada</media:title>
		</media:content>
	</item>
		<item>
		<title>Update under the hood … and some extreme side effects</title>
		<link>http://oracledisect.wordpress.com/2010/04/27/update-under-the-hood-and-some-extreme-side-effects/</link>
		<comments>http://oracledisect.wordpress.com/2010/04/27/update-under-the-hood-and-some-extreme-side-effects/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 07:47:00 +0000</pubDate>
		<dc:creator>oracledisect</dc:creator>
				<category><![CDATA[Innerworkings]]></category>
		<category><![CDATA[Linkedin]]></category>
		<category><![CDATA[Maintenance]]></category>
		<category><![CDATA[Oracle 10g]]></category>
		<category><![CDATA[LinkedIn]]></category>

		<guid isPermaLink="false">http://oracledisect.wordpress.com/2010/04/27/update-under-the-hood-and-some-extreme-side-effects</guid>
		<description><![CDATA[Ver este artículo en Español At first glance, this topic may look trivial, but may be the source for severe performance issues, unnecessary maintenance tasks and/or storage waste. Yes, you can say &#8220;update is so basic, why I should care about it?!&#8221;, well it may be some cases when using update without care, things may [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracledisect.wordpress.com&amp;blog=5143040&amp;post=154&amp;subd=oracledisect&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://technorati.com/faves?sub=addfavbtn&amp;add=http://oracledisect.blogspot.com"><img src="http://static.technorati.com/pix/fave/tech-fav-1.png" alt="Add to Technorati Favorites"></a><a href="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s1600-h/mx.gif"><img alt="" src="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s200/mx.gif" border="0"></a></p>
<p><a href="http://www.databases-la.com/?q=es/node/35">Ver este artículo en Español</a></p>
<p>At first glance, this topic may look trivial, but may be the source for severe performance issues, unnecessary maintenance tasks and/or storage waste.</p>
<p>Yes, you can say &#8220;update is so basic, why I should care about it?!&#8221;, well it may be some cases when using update without care, things may get ugly. I found it playing with my old friend ALTER SYSTEM DUMP BLOCK and a few inserts and updates, over a table with a few columns, two of them VARCHAR2 type.</p>
<p>This was done on an Oracle 10.2.0.4 release database, let&#8217;s see how it goes<br /><code><br />create table table5 (col1 number, col2 varchar(10), col3 varchar(46));</p>
<p>insert into table5 (col1,col2,col3) values (1,'<font>row one</font>','<font>This is the first row</font>');</p>
<p>commit;</p>
<p>insert into table5 (col1,col2,col3) values (2,'<font>row two</font>','<font>This is the 2nd row,updates will be Committed</font>!');</p>
<p>commit;<br />alter session set tracefile_identifier='table5_04_b103';<br />alter system dump datafile 6 block 103;<br /></code><br />I strongly recommend using parameter TRACEFILE_IDENTIFIER, because helps you differentiate your trace quickly.</p>
<p>Initial state dump for block where rows were inserted:
<pre>CF8F390 C1023320 01FFFF02 C102FF80 0203022C  [ 3..........,...]CF8F3A0 720703C1 7420776F 542D6F77 20736968  [...<font>row two-This</font> ]CF8F3B0 74207369 32206568 7220646E 752C776F  [<font>is the 2nd row,u</font>]CF8F3C0 74616470 77207365 206C6C69 43206562  [<font>pdates will be C</font>]CF8F3D0 696D6D6F 21646574 0203012C 720702C1  [<font>ommitted</font>!,.....<font>r</font>]CF8F3E0 6F20776F 5415656E 20736968 74207369  [<font>ow one.This is t</font>]CF8F3F0 66206568 74737269 776F7220 14A30601  [<font>he first row</font>....]Block header dump:  0x01800067...0xe:pti[0] <font>nrow=2</font> offs=00x12:pri[0] offs=0x1f740x14:pri[1] offs=0x1f38block_row_dump:tab 0, row 0, @0x1f74tl: 36 fb: --H-FL-- lb: 0x1  cc: 3col  0: [ 2]  c1 02col  1: [ 7]  72 6f 77 20 6f 6e 65col  2: [21]54 68 69 73 20 69 73 20 74 68 65 20 66 69 72 73 74 20 72 6f 77tab 0, row 1, @0x1f38tl: 60 fb: --H-FL-- lb: 0x2  cc: 3col  0: [ 2]  c1 03col  1: [ 7]  72 6f 77 20 74 77 6fcol  2: [45]54 68 69 73 20 69 73 20 74 68 65 20 32 6e 64 20 72 6f 77 2c 75 70 64 61 7465 73 20 77 69 6c 6c 20 62 65 20 43 6f 6d 6d 69 74 65 64 21end_of_block_dumpEnd dump data blocks tsn: 7 file#: 6 minblk 103 maxblk 103</pre>
<p>It shows our two records: starting bottom with first row; on top of it, second row (that&#8217;s why a &#8216;regular&#8217; Oracle table is properly named HEAP ORGANIZED TABLE)</p>
<p>Now let&#8217;s issue some updates on row #2, column 2 (col2) will change value from &#8216;row two&#8217; and &#8216;row two-02&#8242; to &#8216;row two-25&#8242;<br /><code><br />update table5b set col2 = 'row two-02' where col1 = 2;<br />...<br />update table5b set col2 = '<span style="color:rgb(204,0,0);font-weight:bold;">row two-25</span>' where col1 = 2;</code>
<pre>CF8F350 C3041100 FF373005 1702C102 03012C2F  [.....07...../,..]CF8F360 0A03C102 20776F72 2D6F7774 542D3532  [....<span style="color:rgb(204,0,0);font-weight:bold;">row two-25</span>-T]CF8F370 20736968 74207369 32206568 7220646E  [his is the 2nd r]CF8F380 752C776F 74616470 77207365 206C6C69  [ow,updates will ]CF8F390 43206562 696D6D6F 21646574 0203002C  [be Commited!,...]CF8F3A0 720703C1 7420776F 542D6F77 20736968  [...<font>row two</font>-This ]CF8F3B0 74207369 32206568 7220646E 752C776F  [is the 2nd row,u]CF8F3C0 74616470 77207365 206C6C69 43206562  [pdates will be C]CF8F3D0 696D6D6F 21646574 0203002C 720702C1  [ommited!,......r]CF8F3E0 6F20776F 5415656E 20736968 74207369  [ow one.This is t]CF8F3F0 66206568 74737269 776F7220 14F10602  [he first row....]Block header dump:  0x01800067...0xe:pti[0] nrow=2 offs=00x12:pri[0] offs=0x1f740x14:pri[1] offs=0x1ef9block_row_dump:tab 0, row 0, @0x1f74tl: 36 fb: --H-FL-- lb: 0x0  cc: 3col  0: [ 2]  c1 02col  1: [ 7]  72 6f 77 20 6f 6e 65col  2: [21]54 68 69 73 20 69 73 20 74 68 65 20 66 69 72 73 74 20 72 6f 77tab 0, row 1, @0x1ef9tl: 63 fb: --H-FL-- lb: 0x1  cc: 3col  0: [ 2]  c1 03col  1: [10]  72 6f 77 20 74 77 6f 2d 32 35col  2: [45]54 68 69 73 20 69 73 20 74 68 65 20 32 6e 64 20 72 6f 77 2c 75 70 64 61 7465 73 20 77 69 6c 6c 20 62 65 20 43 6f 6d 6d 69 74 65 64 21end_of_block_dump</pre>
<p>Changing col2 from &#8216;<font>row two</font>&#8216; to &#8216;row two-02&#8242;, required to duplicate the whole row&#8230; of course, the register with col2=&#8217;row two&#8217; was logically deleted, remaining in the block.<br />Is this a dead record? yes, it&#8217;s a dead record&#8230;</p>
<p>The 24 consecutive updates, didn&#8217;t duplicate any information &#8230; sorry to disappoint you if expected to see duplication in this case. But what happened? Seems that Oracle update algorithm has intelligence to identify that old and new values have the same length, then simply updating col2 on the spot. Update on CHAR columns (fixed length datatypes) behave the same way.</p>
<p>Ok, now let&#8217;s try modifying length of updated value between transactions. First alternate updates on col2 and col3:<br /><code><br />update table5 set col2 = 'row two-38' where col1 = 2;<br />commit;</p>
<p>update table5 set col3 = 'Now update the second row, shorter text!' where col1 = 2;<br />commit;</p>
<p>update table5 set col2 = 'row 2-39' where col1 = 2;<br />commit;</p>
<p>update table5 set col3 = 'Now re-update the second row, another text!' where col1 = 2;<br />commit;</p>
<p>update table5 set col2 = 'row two-40' where col1 = 2;<br />commit;</p>
<p>update table5 set col3 = 'Now re-re-update the second row, another text!' where col1 = 2;<br />commit;</p>
<p>update table5 set col2 = 'row 2-41' where col1 = 2;<br />commit;</p>
<p>update table5 set col3 = 'Now re-re-re-update the second row, will fit?' where col1 = 2;<br />commit;</p>
<p>update table5 set col2 = 'row two-42' where col1 = 2;<br />commit;</p>
<p>update table5 set col3 = 'Now re-re-re-re-update the 2nd row, changed?' where col1 = 2;<br />commit;</p>
<p>update table5 set col2 = 'row two-43' where col1 = 2;<br /></code><br />and later, updates only on col2&#8230;<br /><code><br />update table5 set col2 = '<span style="color:rgb(0,0,0);">row two-44</span>' where col1 = 2;<br />commit;</p>
<p>update table5 set col2 = 'row 2-45' where col1 = 2;<br />commit;</p>
<p>update table5 set col2 = 'row two-46' where col1 = 2;<br />commit;</p>
<p>update table5 set col2 = 'row 2-47' where col1 = 2;<br />commit;</p>
<p>update table5 set col2 = '<span style="color:rgb(102,0,204);font-weight:bold;">row two-48</span>' where col1 = 2;<br />commit;</p>
<p>update table5 set col2 = '<span style="color:rgb(0,102,0);font-weight:bold;">row 2-49</span>' where col1 = 2;<br /></code><br />And see how looks now the block dump, suddenly the block is filled like we issued inserts instead of updates, strange to say the least
<pre>D84D000 61623763 4E5F3163 2C6F6765 C1020302  [c7bac1_Nego,....]D84D010 6F720803 2D322077 4E2C3934 7220776F  [..<span style="color:rgb(0,102,0);font-weight:bold;">row 2-49</span>,<span style="font-weight:bold;">Now r</span>]D84D020 65722D65 2D65722D 752D6572 74616470  [<span style="font-weight:bold;">e-re-re-re-updat</span>]D84D030 68742065 6E322065 6F722064 63202C77  [<span style="font-weight:bold;">e the 2nd row, c</span>]D84D040 676E6168 2C3F6465 C1020300 6F720A03  [<span style="font-weight:bold;">hanged?</span>,......<span style="color:rgb(102,0,204);font-weight:bold;">ro</span>]D84D050 77742077 38342D6F 776F4E2C 2D657220  [<span style="color:rgb(102,0,204);font-weight:bold;">w two-48</span>,Now re-]D84D060 722D6572 65722D65 6470752D 20657461  [re-re-re-update ]D84D070 20656874 20646E32 2C776F72 61686320  [the 2nd row, cha]...... 46 rows not shown  .....D84D360 0A03C102 20776F72 2D6F7774 542D3833  [....row two-25-T]D84D370 20736968 74207369 32206568 7220646E  [his is the 2nd r]D84D380 752C776F 74616470 77207365 206C6C69  [ow,updates will ]D84D390 43206562 696D6D6F 21646574 0203002C  [be Commited!,...]D84D3A0 720703C1 7420776F 542D6F77 20736968  [...row two-This ]D84D3B0 74207369 32206568 7220646E 752C776F  [is the 2nd row,u]D84D3C0 74616470 77207365 206C6C69 43206562  [pdates will be C]D84D3D0 696D6D6F 21646574 0203002C 720702C1  [ommited!,......r]D84D3E0 6F20776F 5415656E 20736968 74207369  [ow one.This is t]D84D3F0 66206568 74737269 776F7220 61470602  [he first row..Ga]Block header dump:  0x01800067</pre>
<p>Seems that the block contains a lot of records, but look at the block header <span style="font-weight:bold;">nrow</span> figures: block contains 2 live rows, and everything else is logically deleted, dead&#8230; space wasted.
<pre>ntab=1<span style="font-weight:bold;color:rgb(255,0,0);">nrow=2</span>frre=-1fsbo=0x16fseo=0x1ba7avsp=0x1f20tosp=0x1f220xe:pti[0] <span style="color:rgb(255,0,0);font-weight:bold;">nrow=2</span> offs=00x12:pri[0] offs=0x1f740x14:pri[1] offs=0x1ba7</pre>
<p>Yep, this is something you must take care of&#8230; conclusion: you cannot take lightly update operations on variable length fields.</p>
<p>Remember there is always a trade-off, in this case update algorithm for variable length update is optimized for performance, which is one of Oracle&#8217;s virtues &amp; pillar.</p>
<p>It&#8217;s desirable to prevent this behavior at the design or programing stages, avoiding repeating updates over same record or making a weighted decision over CHAR, meaning a fixed and constant waste of space versus VARCHAR with this corner case.</p>
<p>If preventive solution is not possible, then Oracle provides ALTER TABLE instructions to cope with this and give maintenance to table, removing this &#8220;dead rows&#8221;.</p>
<p>Quiz: ALTER TABLE {table} SHRINK SPACE or ALTER TABLE {table} SHRINK SPACE COMPACT are our saving sentences?<br />Which pre-requisite have in order to use any of them?<br />Are they interchangeable or what is the behavior distinction?</p>
<p>Thanks for your time reading today, I&#8217;ll engage next time with updates on tables having INDEXES&#8230;</p>
<p><a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=1867657&amp;loc=en_US">Subscribe to Oracle Database Dissected by Email</a></p>
<p><img src="http://static.delicious.com/img/delicious.small.gif" alt="Delicious" height="10" width="10"><a href="http://delicious.com/save"> Bookmark this on Delicious</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oracledisect.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oracledisect.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oracledisect.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oracledisect.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oracledisect.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oracledisect.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oracledisect.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oracledisect.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oracledisect.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oracledisect.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oracledisect.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oracledisect.wordpress.com/154/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oracledisect.wordpress.com/154/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oracledisect.wordpress.com/154/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracledisect.wordpress.com&amp;blog=5143040&amp;post=154&amp;subd=oracledisect&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oracledisect.wordpress.com/2010/04/27/update-under-the-hood-and-some-extreme-side-effects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/51360c565459696cefe90b691819a49c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oracledisect</media:title>
		</media:content>

		<media:content url="http://static.technorati.com/pix/fave/tech-fav-1.png" medium="image">
			<media:title type="html">Add to Technorati Favorites</media:title>
		</media:content>

		<media:content url="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s200/mx.gif" medium="image" />

		<media:content url="http://static.delicious.com/img/delicious.small.gif" medium="image">
			<media:title type="html">Delicious</media:title>
		</media:content>
	</item>
		<item>
		<title>Starting Oracle Coherence 3.5 book review</title>
		<link>http://oracledisect.wordpress.com/2010/04/12/starting-oracle-coherence-3-5-book-review/</link>
		<comments>http://oracledisect.wordpress.com/2010/04/12/starting-oracle-coherence-3-5-book-review/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 14:41:00 +0000</pubDate>
		<dc:creator>oracledisect</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Linkedin]]></category>

		<guid isPermaLink="false">http://oracledisect.wordpress.com/2010/04/12/starting-oracle-coherence-3-5-book-review</guid>
		<description><![CDATA[Ver este articulo en Español Past Friday, Packt Publishing gave me a copy of his newest &#8220;Oracle Coherence 3.5&#8243; book, which you can find clicking the book cover image below. Coherence is a Middleware product from Oracle which main purpose is being a high performance Cache on the 2nd tier, thus improving performance reducing unnecessary [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracledisect.wordpress.com&amp;blog=5143040&amp;post=153&amp;subd=oracledisect&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://technorati.com/faves?sub=addfavbtn&amp;add=http://oracledisect.blogspot.com"><img src="http://static.technorati.com/pix/fave/tech-fav-1.png" alt="Add to Technorati Favorites" /></a></p>
<p><a href="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s1600-h/mx.gif"><img alt="" src="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s200/mx.gif" border="0" /></a><a href="http://www.databases-la.com/?q=node/79">Ver este articulo en Español</a></p>
<p>Past Friday, Packt Publishing gave me a copy of his newest <b>&#8220;Oracle Coherence 3.5&#8243;</b> book, which you can find clicking the book cover image below.</p>
<p><a href="http://www.packtpub.com/oracle-coherence-3-5/book?utm_source=oracledisect.blogspot.com&amp;utm_medium=bookrev&amp;utm_content=blog&amp;utm_campaign=mdb_002933"><img src="http://2.bp.blogspot.com/_9jCa6_0_7n4/S8My1gp6asI/AAAAAAAAAEE/W9-UdEJ-tGE/s320/6125_MockupCover_0.jpg.png" alt="" border="0" /></a></p>
<p>Coherence is a Middleware product from Oracle which main purpose is being a high performance Cache on the 2nd tier, thus improving performance reducing unnecessary traffic or requests to the database server. On next weeks my comments on this book&#8230;</p>
<p><a href="http://www.packtpub.com/oracle-11g-streams-implementers-guide/book/mid/230210qjwb6w+?utm_source=oracledisect.blogspot.com&amp;utm_medium=affiliate&amp;utm_content=blog&amp;utm_campaign=mdb_002589"> </a></p>
<p><a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=1867657&amp;loc=en_US">Subscribe to Oracle Database Disected by Email</a><br /><img src="http://static.delicious.com/img/delicious.small.gif" alt="Delicious" height="10" width="10" /><br /><a href="http://delicious.com/save"> Bookmark this on Delicious</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oracledisect.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oracledisect.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oracledisect.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oracledisect.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oracledisect.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oracledisect.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oracledisect.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oracledisect.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oracledisect.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oracledisect.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oracledisect.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oracledisect.wordpress.com/153/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oracledisect.wordpress.com/153/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oracledisect.wordpress.com/153/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracledisect.wordpress.com&amp;blog=5143040&amp;post=153&amp;subd=oracledisect&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oracledisect.wordpress.com/2010/04/12/starting-oracle-coherence-3-5-book-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/51360c565459696cefe90b691819a49c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oracledisect</media:title>
		</media:content>

		<media:content url="http://static.technorati.com/pix/fave/tech-fav-1.png" medium="image">
			<media:title type="html">Add to Technorati Favorites</media:title>
		</media:content>

		<media:content url="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s200/mx.gif" medium="image" />

		<media:content url="http://2.bp.blogspot.com/_9jCa6_0_7n4/S8My1gp6asI/AAAAAAAAAEE/W9-UdEJ-tGE/s320/6125_MockupCover_0.jpg.png" medium="image" />

		<media:content url="http://static.delicious.com/img/delicious.small.gif" medium="image">
			<media:title type="html">Delicious</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle Exadata/Database Machine&#8230; nice to meet you</title>
		<link>http://oracledisect.wordpress.com/2010/04/10/oracle-exadatadatabase-machine-nice-to-meet-you/</link>
		<comments>http://oracledisect.wordpress.com/2010/04/10/oracle-exadatadatabase-machine-nice-to-meet-you/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 07:00:00 +0000</pubDate>
		<dc:creator>oracledisect</dc:creator>
				<category><![CDATA[Database Machine]]></category>
		<category><![CDATA[Exadata]]></category>
		<category><![CDATA[Linkedin]]></category>
		<category><![CDATA[Oracle 11g]]></category>

		<guid isPermaLink="false">http://oracledisect.wordpress.com/2010/04/10/oracle-exadatadatabase-machine-nice-to-meet-you</guid>
		<description><![CDATA[Ver este articulo en Español During the last four or five weeks I&#8217;ve had the rare privilege of working with this amazing piece of engineering, the Oracle Database Machine. Engaged during deployment of it, I&#8217;ve faced the setup steps on the SW side, applied upgrade patches &#38; side-to-side with Oracle Sun engineers bringing this marvel [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracledisect.wordpress.com&amp;blog=5143040&amp;post=152&amp;subd=oracledisect&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://technorati.com/faves?sub=addfavbtn&amp;add=http://oracledisect.blogspot.com"><img src="http://static.technorati.com/pix/fave/tech-fav-1.png" alt="Add to Technorati Favorites" /></a></p>
<p><a href="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s1600-h/mx.gif"><img alt="" src="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s200/mx.gif" border="0" /></a><a href="http://www.databases-la.com/?q=node/78">Ver este articulo en Español</a></p>
<p>During the last four or five weeks I&#8217;ve had the rare privilege of working with this amazing piece of engineering, the Oracle Database Machine.</p>
<p>Engaged during deployment of it, I&#8217;ve faced the setup steps on the SW side, applied upgrade patches &amp; side-to-side with Oracle Sun engineers bringing this marvel to life&#8230; it&#8217;s just exciting, watching all the slightly-bluish-green leds showing HD activity or admiring the most precise cabling I&#8217;ve ever seen&#8230; there is just one word: precision. I remember my first experience with an HP XP12000 SAN, five years ago, being not that exciting as this recent experience.</p>
<p>Few months ago, started my preparation taking a web seminar for Oracle Exadata, appeared to me quite revolutionary the way it works, had to admit that first perception quickly got surpassed once started working directly with this beauty. </p>
<p>A new paradigma is needed when working with Exadata, it&#8217;s clear the tuning role will change, one (for instance) that may consider an index useless or even harmful. </p>
<p>Please stay with me on this exciting journey, I&#8217;ll try to share my experience on this as much as I can. Thank you for your attention.</p>
<p><a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=1867657&amp;loc=en_US">Subscribe to Oracle Database Disected by Email</a><br /><img src="http://static.delicious.com/img/delicious.small.gif" height="10" width="10" alt="Delicious" /><br /><a href="http://delicious.com/save"> Bookmark this on Delicious</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oracledisect.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oracledisect.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oracledisect.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oracledisect.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oracledisect.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oracledisect.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oracledisect.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oracledisect.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oracledisect.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oracledisect.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oracledisect.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oracledisect.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oracledisect.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oracledisect.wordpress.com/152/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracledisect.wordpress.com&amp;blog=5143040&amp;post=152&amp;subd=oracledisect&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oracledisect.wordpress.com/2010/04/10/oracle-exadatadatabase-machine-nice-to-meet-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/51360c565459696cefe90b691819a49c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oracledisect</media:title>
		</media:content>

		<media:content url="http://static.technorati.com/pix/fave/tech-fav-1.png" medium="image">
			<media:title type="html">Add to Technorati Favorites</media:title>
		</media:content>

		<media:content url="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s200/mx.gif" medium="image" />

		<media:content url="http://static.delicious.com/img/delicious.small.gif" medium="image">
			<media:title type="html">Delicious</media:title>
		</media:content>
	</item>
		<item>
		<title>Oracle 11g Streams Implementer’s Guide – Highlights – Part I</title>
		<link>http://oracledisect.wordpress.com/2010/04/02/oracle-11g-streams-implementers-guide-highlights-part-i/</link>
		<comments>http://oracledisect.wordpress.com/2010/04/02/oracle-11g-streams-implementers-guide-highlights-part-i/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 08:10:00 +0000</pubDate>
		<dc:creator>oracledisect</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Linkedin]]></category>
		<category><![CDATA[Oracle 11g]]></category>
		<category><![CDATA[Replication]]></category>
		<category><![CDATA[Streams]]></category>
		<category><![CDATA[LinkedIn]]></category>

		<guid isPermaLink="false">http://oracledisect.wordpress.com/2010/04/02/oracle-11g-streams-implementers-guide-highlights-part-i</guid>
		<description><![CDATA[Ver este articulo en Español I finished reading this very nice book on Oracle Streams&#8230; yes, the one I shared you weeks ago (See post My first assignment on book reviews). Now as promised, getting back to you and share my comments on the book, starting with those chapters that clearly make the difference against [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracledisect.wordpress.com&amp;blog=5143040&amp;post=151&amp;subd=oracledisect&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://technorati.com/faves?sub=addfavbtn&amp;add=http://oracledisect.blogspot.com"><img src="http://static.technorati.com/pix/fave/tech-fav-1.png" alt="Add to Technorati Favorites" /></a></p>
<p><a href="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s1600-h/mx.gif"><img alt="" src="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s200/mx.gif" border="0" /></a><a href="http://www.databases-la.com/?q=es/node/35">Ver este articulo en Español</a></p>
<p>I finished reading this very nice book on Oracle Streams&#8230; yes, the one I shared you weeks ago (See post <a href="http://oracledisect.blogspot.com/2010/02/my-first-assignment-on-book-reviews.html">My first assignment on book reviews</a>). Now as promised, getting back to you and share my comments on the book, starting with those chapters that clearly make the difference against other Oracle Streams books on the market, those which are more like &#8220;rephrasing&#8221; the manual.</p>
<p>Chapter 2 and Chapter 3 provide the foundation for success on implementing Streams, this is the Analysis and Design phase that is often overlooked &#8230; but pays high rewards to those who comply with it!!!</p>
<p>Particularly those chapters provide you with a practical ready-to-use framework, if you may tweak it to fit your needs, that is your call.</p>
<p>Chapter 8 is packed with a useful list of recipes for change, like adding a new replication site, detailed with full steps. Also recommendations to keep an eye on when changes are implemented. However, I liked most the troubleshooting cases, very handy BTW, which authors shown mapped against the replication process diagram&#8230; that is cool!!!</p>
<p>Wait for final part next week, this Transaction is not committed yet!</p>
<p><a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=1867657&amp;loc=en_US">Subscribe to Oracle Database Disected by Email</a><br /><img src="http://static.delicious.com/img/delicious.small.gif" height="10" width="10" alt="Delicious" /><br /><a href="http://delicious.com/save"> Bookmark this on Delicious</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oracledisect.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oracledisect.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oracledisect.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oracledisect.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oracledisect.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oracledisect.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oracledisect.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oracledisect.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oracledisect.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oracledisect.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oracledisect.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oracledisect.wordpress.com/151/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oracledisect.wordpress.com/151/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oracledisect.wordpress.com/151/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracledisect.wordpress.com&amp;blog=5143040&amp;post=151&amp;subd=oracledisect&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oracledisect.wordpress.com/2010/04/02/oracle-11g-streams-implementers-guide-highlights-part-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/51360c565459696cefe90b691819a49c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oracledisect</media:title>
		</media:content>

		<media:content url="http://static.technorati.com/pix/fave/tech-fav-1.png" medium="image">
			<media:title type="html">Add to Technorati Favorites</media:title>
		</media:content>

		<media:content url="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s200/mx.gif" medium="image" />

		<media:content url="http://static.delicious.com/img/delicious.small.gif" medium="image">
			<media:title type="html">Delicious</media:title>
		</media:content>
	</item>
		<item>
		<title>My first assignment on book reviews</title>
		<link>http://oracledisect.wordpress.com/2010/02/21/my-first-assignment-on-book-reviews/</link>
		<comments>http://oracledisect.wordpress.com/2010/02/21/my-first-assignment-on-book-reviews/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 08:07:00 +0000</pubDate>
		<dc:creator>oracledisect</dc:creator>
				<category><![CDATA[Oracle 11g]]></category>
		<category><![CDATA[Replication]]></category>
		<category><![CDATA[Streams]]></category>
		<category><![CDATA[LinkedIn]]></category>

		<guid isPermaLink="false">http://oracledisect.wordpress.com/2010/02/21/my-first-assignment-on-book-reviews</guid>
		<description><![CDATA[Ver este articulo en Español During the past week, I&#8217;ve got a copy of &#8220;Oracle 11g Streams Implementer&#8217;s Guide&#8221; book from Packt Publishing, by the way, it&#8217;s their newest book on Oracle Streams and the only one covering release 11g2; see more clicking the book cover image on left, that will lead you to the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracledisect.wordpress.com&amp;blog=5143040&amp;post=103&amp;subd=oracledisect&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://technorati.com/faves?sub=addfavbtn&amp;add=http://oracledisect.blogspot.com"><img src="http://static.technorati.com/pix/fave/tech-fav-1.png" alt="Add to Technorati Favorites" /></a></p>
<p><a href="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s1600-h/mx.gif"><img src="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s200/mx.gif" border="0" alt="" /></a><a href="http://www.databases-la.com/?q=node/77">Ver este articulo en Español</a></p>
<p>During the past week, I&#8217;ve got a copy of &#8220;Oracle 11g Streams Implementer&#8217;s Guide&#8221; book from Packt Publishing, by the way, it&#8217;s their newest book on Oracle Streams<a href="http://www.packtpub.com/oracle-11g-streams-implementers-guide/book/mid/230210qjwb6w+?utm_source=oracledisect.blogspot.com&amp;utm_medium=affiliate&amp;utm_content=blog&amp;utm_campaign=mdb_002589"><img class="alignleft size-full wp-image-145" title="9706_MockupCover_0.jpg" src="http://oracledisect.files.wordpress.com/2010/02/9706_mockupcover_0-jpg.png?w=125&#038;h=152" alt="Go to book at Packt Publishing" width="125" height="152" /></a> and the only one covering release 11g2; see more clicking the book cover image on left, that will lead you to the book&#8217;s page. There you may even get a free sample chapter (Ch 5 on N-Way Replication), for free!!!.</p>
<p>So, on days to come you may see here postings related to this endeavor&#8230; stay tuned!</p>
<p><a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=1867657&amp;loc=en_US">Subscribe to Oracle Database Disected by Email</a><br />
<img src="http://static.delicious.com/img/delicious.small.gif" alt="Delicious" width="10" height="10" /><br />
<a href="http://delicious.com/save"> Bookmark this on Delicious</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oracledisect.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oracledisect.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oracledisect.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oracledisect.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oracledisect.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oracledisect.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oracledisect.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oracledisect.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oracledisect.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oracledisect.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oracledisect.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oracledisect.wordpress.com/103/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oracledisect.wordpress.com/103/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oracledisect.wordpress.com/103/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracledisect.wordpress.com&amp;blog=5143040&amp;post=103&amp;subd=oracledisect&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oracledisect.wordpress.com/2010/02/21/my-first-assignment-on-book-reviews/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/51360c565459696cefe90b691819a49c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oracledisect</media:title>
		</media:content>

		<media:content url="http://static.technorati.com/pix/fave/tech-fav-1.png" medium="image">
			<media:title type="html">Add to Technorati Favorites</media:title>
		</media:content>

		<media:content url="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s200/mx.gif" medium="image" />

		<media:content url="http://oracledisect.files.wordpress.com/2010/02/9706_mockupcover_0-jpg.png" medium="image">
			<media:title type="html">9706_MockupCover_0.jpg</media:title>
		</media:content>

		<media:content url="http://static.delicious.com/img/delicious.small.gif" medium="image">
			<media:title type="html">Delicious</media:title>
		</media:content>
	</item>
		<item>
		<title>How to innocently corrupt a data table block</title>
		<link>http://oracledisect.wordpress.com/2009/10/30/how-to-innocently-corrupt-a-data-table-block/</link>
		<comments>http://oracledisect.wordpress.com/2009/10/30/how-to-innocently-corrupt-a-data-table-block/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 16:31:00 +0000</pubDate>
		<dc:creator>oracledisect</dc:creator>
				<category><![CDATA[Innerworkings]]></category>
		<category><![CDATA[Oracle 10g]]></category>

		<guid isPermaLink="false">http://oracledisect.wordpress.com/2009/10/30/how-to-innocently-corrupt-a-data-table-block</guid>
		<description><![CDATA[Ver este articulo en Español This really happened to me when trying to learn how the INITRANSattribute works, was very surprising how easily you can have thistransitory error state. Replicate the error is very straightforward, you just need one table and4 transactions. It happened on a 10.2.0.4 database. CREATE TABLESPACE UNIFDATAFILE '/u01/MASTER/unif.dbf'SIZE 20MEXTENT MANAGEMENT LOCAL [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracledisect.wordpress.com&amp;blog=5143040&amp;post=102&amp;subd=oracledisect&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://technorati.com/faves?sub=addfavbtn&amp;add=http://oracledisect.blogspot.com"><img src="http://static.technorati.com/pix/fave/tech-fav-1.png" alt="Add to Technorati Favorites" /></a></p>
<p><a href="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s1600-h/mx.gif"><img alt="" src="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s200/mx.gif" border="0" /></a><a href="http://www.databases-la.com">Ver este articulo en Español</a></p>
<p>This really happened to me when trying to learn how the <span style="font-weight:bold;">INITRANS</span><br />attribute works, was very surprising how easily you can have this<br />transitory error state.
<p>Replicate the error is very straightforward, you just need one table and<br />4 transactions. It happened on a 10.2.0.4 database.</p>
<p><code>CREATE TABLESPACE UNIF<br />DATAFILE '/u01/MASTER/unif.dbf'<br />SIZE 20M<br />EXTENT MANAGEMENT LOCAL UNIFORM SIZE 64K<br />SEGMENT SPACE MANAGEMENT AUTO;</code></p>
<p><code>create table scott.t2 (c1 number, c2 char(10)) tablespace unif;</code></p>
<p>Table is created with storage defaults, therefore INITRANS is 2 initially.</p>
<p><code>insert into scott.t2 (c1, c2) values (0,'TEST me!');</code></p>
<p><code>commit;</code></p>
<p><code>delete from scott.t2 where c1 = 0;</code></p>
<p><code>commit;</code></p>
<p>See this block dump after the DELETE/COMMIT pair&#8230; well, that is also<br />something to think about too: seems that data is logically erased.<br />Please observe the 2 ITL (Interested Transaction List) slots, which<br />corresponds to INITRANS=2.</p>
</p>
<pre>DFAA3E0 00000000 00000000 00000000 0102012C  [............,...]DFAA3F0 45540A80 6D205453 20202165 1CE60601  [..TEST me!  ....]Block header dump:  0x01800017Object id on Block? Yseg/obj: 0xd580  csc: 0x00.e1c2e  itc: 2  flg: E  typ: 1 - DATA  brn: 0  bdba: 0x1800011 ver: 0x01 opc: 0  inc: 0  exflg: 0

Itl           Xid                  Uba         Flag  Lck        Scn/Fsc0x01   0x0001.013.000001ac  0x0080b037.01c8.17  --U-    1  fsc0x0000.000e1ce60x02   0x0000.000.00000000  0x00000000.0000.00  ----    0  fsc0x0000.00000000</pre>
</p>
<p>Now we change the INITRANS attribute for T2, and increment to say 8.</p>
<p><code>alter table scott.t2 initrans 8;</code></p>
<p>Another block dump and you can see the new ITL slots are not allocated<br />right away (a detailed explanation of ITL may be seen at this place<br /><a href="http://advait.wordpress.com/2008/06/16/interested-transaction-list-itl/">http://advait.wordpress.com/2008/06/16/interested-transaction-list-itl/</a><br />and there you can see that this allocation is dynamic).</p>
<p>Now we are going to try something trivial, throw some transactions into<br />this table and see what happens. For that, we need at least 3 sqlplus<br />sessions, because ITLs seem to be allocated on a session/block basis<br />(this to be confirmed on a later article).</p>
<p><code>Session 1:</code></p>
<p><code>insert into scott.t2 (c1, c2) values (1,'TEST y0u!');<br />commit;</code></p>
<p><code>update scott.t2<br />set c2 = 'TeST You!'<br />where c1 = 1;<br />(no commit for the moment, we want all transactions in pending state)</code></p>
<p><code>Session 2:<br />insert into scott.t2 (c1, c2) values (2,'kiSS him!');<br />(no commit for the moment, same as above session)</code></p>
<p><code>Session 3:<br />insert into scott.t2 (c1, c2) values (4,'TeaCH DeY!');<br />(no commit for the moment, same as above session)</code></p>
<p>What our knowledge and logic may tell us, is that up to now the database<br />should have created a new ITL slot, counting 3.<br />However this data block dump shows us a distinct reality:<br />1) The database engine didn&#8217;t create a new ITL slot<br />2) It did the 3rd insert on same block as the other transactions<br />3) A careful look to the dump, shows that the block appears to be<br />&#8220;corrupted&#8221;&#8230; this is the shocking part.</p>
</p>
<pre>buffer tsn: 7 rdba: 0x01800016 (6/22)scn: 0x0000.000e1cad seq: 0x01 flg: 0x04 tail: 0x1cad0601frmt: 0x02 chkval: 0x89f7 type: 0x06=trans dataHex dump of corrupt header 3 = CHKVALDump of memory from 0x0DA66400 to 0x0DA66414DA66400 0000A206 01800016 000E1CAD 04010000  [................]DA66410 000089F7                             [....]        <span style="color:rgb(255,0,0);font-weight:bold;">Hex dump of corrupt block  &lt;&lt;--</span>Dump of memory from 0x0DA66414 to 0x0DA683FCDA66410          00000001 0000D580 000E1C2E      [............]DA66420 00000000 00320002 01800011 0001000A  [......2.........]DA66430 000001BC 00800AB7 001302B1 00000001  [................]DA66440 00000000 00000000 00000000 00000000  [................]     Repeat 1 timesDA66460 00000000 00010100 0014FFFF 1F731F87  [..............s.]DA66470 00001F73 1F870001 00000000 00000000  [s...............]DA66480 00000000 00000000 00000000 00000000  [................]     Repeat 501 timesDA683E0 00000000 00000000 2C000000 C1020201  [...........,....]DA683F0 65540A05 20484361 21596544           [..TeaCH DeY!]Dump of memory from 0x0DA66414 to 0x0DA683FCDA66410          00000001 0000D580 000E1C2E      [............]DA66420 00000000 00320002 01800011 0001000A  [......2.........]DA66430 000001BC 00800AB7 001302B1 00000001  [................]DA66440 00000000 00000000 00000000 00000000  [................]     Repeat 1 timesDA66460 00000000 00010100 0014FFFF 1F731F87  [..............s.]DA66470 00001F73 1F870001 00000000 00000000  [s...............]DA66480 00000000 00000000 00000000 00000000  [................]     Repeat 501 timesDA683E0 00000000 00000000 2C000000 C1020201  [...........,....]DA683F0 65540A05 20484361 21596544           [..TeaCH DeY!]    <span style="color:rgb(255,0,0);font-weight:bold;">-- 3rd Trx</span>buffer tsn: 7 rdba: 0x01800017 (6/23)scn: 0x0000.000e219d seq: 0x01 flg: 0x00 tail: 0x219d0601frmt: 0x02 chkval: 0x0000 type: 0x06=trans dataHex dump of block: st=0, typ_found=1Dump of memory from 0x0DA66400 to 0x0DA68400DA66400 0000A206 01800017 000E219D 00010000  [.........!......]DA66410 00000000 00000001 0000D580 000E2163  [............c!..]DA66420 00000000 00320002 01800011 000E0002  [......2.........]DA66430 000001E5 0080001E 0009028F 00000001  [................]DA66440 00000000 00000004 000001B0 008017B6  [................]DA66450 000701D2 00000001 00000000 00000000  [................]DA66460 00000000 00030100 00180000 1F5E1F66  [............f.^.]DA66470 00001F5E FFFF0003 1F661F77 00000000  [^.......w.f.....]DA66480 00000000 00000000 00000000 00000000  [................]     Repeat 499 timesDA683C0 00000000 00000000 022C0000 03C10202  [..........,.....]DA683D0 53696B0A 69682053 2C20216D C1020201  [.kiSS him! ,....] <span style="color:rgb(255,0,0);font-weight:bold;">-- 2nd Transaction</span>DA683E0 65540A02 59205453 2021756F 0102023C  [..TeST You! &lt;...] <span style="color:rgb(255,0,0);font-weight:bold;">-- 1st Transaction</span>DA683F0 45540A80 6D205453 20202165 219D0601  [..TEST me!  ...!]  <span style="color:rgb(255,0,0);font-weight:bold;">-- dead row</span>Block header dump:  0x01800017Object id on Block? Yseg/obj: 0xd580  csc: 0x00.e2163  itc: 2  flg: E  typ: 1 - DATA  brn: 0  bdba: 0x1800011 ver: 0x01 opc: 0  inc: 0  exflg: 0

Itl           Xid                  Uba         Flag  Lck        Scn/Fsc0x01   0x0002.00e.000001e5  0x0080001e.028f.09  ----    1  fsc0x0000.000000000x02   0x0004.000.000001b0  0x008017b6.01d2.07  ----    1  fsc0x0000.00000000

data_block_dump,data header at 0xda66464===============</pre>
</p>
<p>At this point, we may ask ourselves &#8216;Where is the rdbms keeping track of<br />ITL for the last transaction?&#8217;<br />&#8230; we need to get that answer.</p>
<p>This needed a confirmation which tried to found with<br /><span style="font-weight:bold;">DBMS_REPAIR.CHECK_OBJECT</span> , however everything looked just fine</p>
<p><code>SQL&gt; set serveroutput on<br />declare<br />v_corrupted_blocks number;<br />begin<br />dbms_repair.check_object('SCOTT','T2', object_type =&gt;<br />dbms_repair.table_object,<br />repair_table_name=&gt;'REPAIR_TABLEAU',corrupt_count=&gt;v_corrupted_blocks);<br />dbms_output.put_line('Corrupted Blocks = '||v_corrupted_blocks);<br />end;<br />/<br />SQL&gt;   2    3    4    5    6    7<br />Corrupted Blocks = 0</code></p>
<p><code>PL/SQL procedure successfully completed.</code></p>
<p>Confused I&#8217;ve tried a second block dump for same table, and surprisingly<br />this time no corruption was present, no new ITL slot was created but<br />instead database used another block for last transaction.</p>
</p>
<pre>buffer tsn: 7 rdba: 0x01800016 (6/22)scn: 0x0000.000e222b seq: 0x01 flg: 0x04 tail: 0x222b0601frmt: 0x02 chkval: 0x3930 type: 0x06=trans dataHex dump of block: st=0, typ_found=1Dump of memory from 0x0D26B400 to 0x0D26D400...D26B480 00000000 00000000 00000000 00000000  [................]     Repeat 501 timesD26D3E0 00000000 00000000 2C000000 C1020201  [...........,....]D26D3F0 65540A05 20484361 21596544 222B0601  [..TeaCH DeY!..+"]Block header dump:  0x01800016Object id on Block? Yseg/obj: 0xd580  csc: 0x00.e1c2e  itc: 2  flg: E  typ: 1 - DATA  brn: 0  bdba: 0x1800011 ver: 0x01 opc: 0  inc: 0  exflg: 0

Itl           Xid                  Uba         Flag  Lck        Scn/Fsc0x01   0x000a.001.000001bc  0x00800ab7.02b1.13  ----    1  fsc0x0000.000000000x02   0x0000.000.00000000  0x00000000.0000.00  ----    0  fsc0x0000.00000000

data_block_dump,data header at 0xd26b464===============


buffer tsn: 7 rdba: 0x01800017 (6/23)scn: 0x0000.000e219d seq: 0x01 flg: 0x04 tail: 0x219d0601frmt: 0x02 chkval: 0x5eaa type: 0x06=trans dataHex dump of block: st=0, typ_found=1Dump of memory from 0x0D26B400 to 0x0D26D400...D26B480 00000000 00000000 00000000 00000000  [................]     Repeat 499 timesD26D3C0 00000000 00000000 022C0000 03C10202  [..........,.....]D26D3D0 53696B0A 69682053 2C20216D C1020201  [.kiSS him! ,....]D26D3E0 65540A02 59205453 2021756F 0102023C  [..TeST You! &lt;...]D26D3F0 45540A80 6D205453 20202165 219D0601  [..TEST me!  ...!]Block header dump:  0x01800017Object id on Block? Yseg/obj: 0xd580  csc: 0x00.e2163  itc: 2  flg: E  typ: 1 - DATA  brn: 0  bdba: 0x1800011 ver: 0x01 opc: 0  inc: 0  exflg: 0

Itl           Xid                  Uba         Flag  Lck        Scn/Fsc0x01   0x0002.00e.000001e5  0x0080001e.028f.09  ----    1  fsc0x0000.000000000x02   0x0004.000.000001b0  0x008017b6.01d2.07  ----    1  fsc0x0000.00000000

data_block_dump,data header at 0xd26b464===============
</pre>
<p>Try to replicate this on your environments and share with us your<br />release and behavior. Note: I tried this on 11g2 and at least no block<br />corruption showed up.</p>
<p>Thank you for your time, and see you next time</p>
<p><a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=1867657&amp;loc=en_US">Subscribe to Oracle Database Disected by Email</a><br /><img src="http://static.delicious.com/img/delicious.small.gif" alt="Delicious" width="10" height="10" /><br /><a href="http://delicious.com/save"> Bookmark this on Delicious</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oracledisect.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oracledisect.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oracledisect.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oracledisect.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oracledisect.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oracledisect.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oracledisect.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oracledisect.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oracledisect.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oracledisect.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oracledisect.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oracledisect.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oracledisect.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oracledisect.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracledisect.wordpress.com&amp;blog=5143040&amp;post=102&amp;subd=oracledisect&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oracledisect.wordpress.com/2009/10/30/how-to-innocently-corrupt-a-data-table-block/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/51360c565459696cefe90b691819a49c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oracledisect</media:title>
		</media:content>

		<media:content url="http://static.technorati.com/pix/fave/tech-fav-1.png" medium="image">
			<media:title type="html">Add to Technorati Favorites</media:title>
		</media:content>

		<media:content url="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s200/mx.gif" medium="image" />

		<media:content url="http://static.delicious.com/img/delicious.small.gif" medium="image">
			<media:title type="html">Delicious</media:title>
		</media:content>
	</item>
		<item>
		<title>Latest storage Adventure</title>
		<link>http://oracledisect.wordpress.com/2009/10/19/latest-storage-adventure/</link>
		<comments>http://oracledisect.wordpress.com/2009/10/19/latest-storage-adventure/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 15:43:00 +0000</pubDate>
		<dc:creator>oracledisect</dc:creator>
				<category><![CDATA[Oracle 10g]]></category>
		<category><![CDATA[Oracle 11g]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://oracledisect.wordpress.com/2009/10/19/latest-storage-adventure</guid>
		<description><![CDATA[Ver este articulo en Español Datamarts/Datawarehouse performance issues can be scaring events, taking into account the massive amount of data they handle; the tuning task is even more daunting if they&#8217;re used for operational day-to-day decision making. During the last week and days, I&#8217;ve been involved on a 15 Tb datamart with performance issues on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracledisect.wordpress.com&amp;blog=5143040&amp;post=101&amp;subd=oracledisect&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://technorati.com/faves?sub=addfavbtn&amp;add=http://oracledisect.blogspot.com"><img src="http://static.technorati.com/pix/fave/tech-fav-1.png" alt="Add to Technorati Favorites" /></a></p>
<p><a href="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s1600-h/mx.gif"><img alt="" src="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s200/mx.gif" border="0" /></a><a href="http://www.databases-la.com/?q=es/node/35">Ver este articulo en Español</a></p>
<p>Datamarts/Datawarehouse performance issues can be scaring events, taking into account the massive amount of data they handle; the tuning task is even more daunting if they&#8217;re used for operational day-to-day decision making.</p>
<p>During the last week and days, I&#8217;ve been involved on a 15 Tb datamart with performance issues on dataloading, not querying.  Tablespaces for indexes and data share filesystems, nowadays this is not a concern anymore, however I prefer to encourage customers to allocate independent storage for each type, that way they are able to discriminate the source of IO.</p>
<p>They have concurrent schedules for dataloading processes and parallelism degree for tables and indexes involved; a very good meassure to speed up data loading is to use /*+ APPEND */ hint on INSERT &#8230; AS SELECT, which they&#8217;re using also with PARALLEL. The parallelism has a multiplying factor and if you&#8217;ve experienced the downsides of it you may be suspecting when the wall is going to be hitted: at the storage level.</p>
<p>I generated a heat map for filesystems and focusing on write statistics found the correlation expected: very high average write times on filesystems starting at the time dataloading processes were scheduled&#8230; huge avg times around seconds!</p>
<p>After a quick chat with the Sysadmin and Storage guys, something very important arose: the striping factor for all those overheated filesystems was 2, said in other words: &#8220;storage you have, performance &#8230; what&#8217;s that?&#8221; That is a common mistake and results from working on almost isolated process, then is when I say: &#8220;Guys, you need to talk to each other, learn the jargon, the  working of the &#8220;machines&#8221; the other teams deal with&#8230; end even the inner workings, why not?!&#8221;</p>
<p>After identified a set of objects that participated heavily on the filesystem overheating, brand new filesystems with striping factor of 8 were allocated and new tablespaces created to receive this objects. As expected, just the maintenance task of moving all tables/partitions/subpartitions took a breeze. Timings for uploading processes even on high load days improved dramatically&#8230; and all this for a subtle &#8220;configuration number&#8221; on the OS storage options.</p>
<p><a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=1867657&amp;loc=en_US">Subscribe to Oracle Database Disected by Email</a><br /><img src="http://static.delicious.com/img/delicious.small.gif" alt="Delicious" width="10" height="10" /><br /><a href="http://delicious.com/save"> Bookmark this on Delicious</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oracledisect.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oracledisect.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oracledisect.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oracledisect.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oracledisect.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oracledisect.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oracledisect.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oracledisect.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oracledisect.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oracledisect.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oracledisect.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oracledisect.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oracledisect.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oracledisect.wordpress.com/101/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracledisect.wordpress.com&amp;blog=5143040&amp;post=101&amp;subd=oracledisect&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oracledisect.wordpress.com/2009/10/19/latest-storage-adventure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/51360c565459696cefe90b691819a49c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oracledisect</media:title>
		</media:content>

		<media:content url="http://static.technorati.com/pix/fave/tech-fav-1.png" medium="image">
			<media:title type="html">Add to Technorati Favorites</media:title>
		</media:content>

		<media:content url="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s200/mx.gif" medium="image" />

		<media:content url="http://static.delicious.com/img/delicious.small.gif" medium="image">
			<media:title type="html">Delicious</media:title>
		</media:content>
	</item>
		<item>
		<title>Resuming and the search for the 4Mb lost</title>
		<link>http://oracledisect.wordpress.com/2009/06/15/resuming-and-the-search-for-the-4mb-lost/</link>
		<comments>http://oracledisect.wordpress.com/2009/06/15/resuming-and-the-search-for-the-4mb-lost/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 10:38:00 +0000</pubDate>
		<dc:creator>oracledisect</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[LinkedIn]]></category>

		<guid isPermaLink="false">http://oracledisect.wordpress.com/2009/06/15/resuming-and-the-search-for-the-4mb-lost</guid>
		<description><![CDATA[Ver este articulo en Español It&#8217;s been a while this place has been quiet, not anymore. I changed jobs on February and was on a stabilization process, a very long one if you like, or at least for me. I missed very much the moment to face the keyboard and share something to you, however [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracledisect.wordpress.com&amp;blog=5143040&amp;post=97&amp;subd=oracledisect&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://technorati.com/faves?sub=addfavbtn&amp;add=http://oracledisect.blogspot.com"><img src="http://static.technorati.com/pix/fave/tech-fav-1.png" alt="Add to Technorati Favorites" /></a></p>
<p><a href="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s1600-h/mx.gif"><img alt="" src="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s200/mx.gif" border="0" /></a><a href="http://www.databases-la.com/?q=es/node/35">Ver este articulo en Español</a></p>
<p>It&#8217;s been a while this place has been quiet, not anymore. I changed jobs on February and was on a stabilization process, a very long one if you like, or at least for me.</p>
<p>I missed very much the moment to face the keyboard and share something to you, however since today I&#8217;m committing to thoroughly give an update every 2 weeks, at least.</p>
<p>Have you been through the Oracle Server startup process, step by step? Here is an excercise for you:</p>
<p>As you may know, we already have an instance, background processes and memory, after having the database started up in <span style="font-weight:bold;">NOMOUNT</span> state. If you don&#8217;t believe me do the test, best if you try this on a Unix/Linux environment.</p>
<p>1) <span style="font-family:courier new;">startup nomount</span> at SQL*Plus prompt.<br />2) on another OS shell, issue a <span style="font-family:courier new;">ps -ef | grep ora_</span>   you&#8217;ll see all background processes started.<br />3) now issue an <span style="font-family:courier new;">ipcs -m</span>  and you&#8217;ll see all shared memory segments allocated to Oracle server.</p>
<p>Take note the amount of memory allocated for oracle, write down this figure, we&#8217;ll need it.</p>
<p>Now go all the way and manually go thru all steps of database startup, issue following commands on SQL*Plus.<br />1) <span style="font-family:courier new;">alter database mount</span><br />2) <span style="font-family:courier new;">alter database open</span></p>
<p>Now you have all memory allocated to Oracle server, this internally reported set of information provides a grand total labeled &#8220;Total System Global Area&#8221;. If you convert the memory reported by ipcs and this one to bytes, you&#8217;ll see we have missing 4Mb.</p>
<p>It happens the same on your databases? Somebody has the answer for this result?<br />I did this test under 10.2.0.4 and on Linux, this behavior may not be present on another releases and/or platforms; please, share with us your results on a comment.</p>
<p>I want to thank you for giving me your attention, hope to see you real soon.</p>
<p><a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=1867657&amp;loc=en_US">Subscribe to Oracle Database Disected by Email</a><br /><img src="http://static.delicious.com/img/delicious.small.gif" alt="Delicious" width="10" height="10" /><br /><a href="http://delicious.com/save"> Bookmark this on Delicious</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oracledisect.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oracledisect.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oracledisect.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oracledisect.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oracledisect.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oracledisect.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oracledisect.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oracledisect.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oracledisect.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oracledisect.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oracledisect.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oracledisect.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oracledisect.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oracledisect.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracledisect.wordpress.com&amp;blog=5143040&amp;post=97&amp;subd=oracledisect&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oracledisect.wordpress.com/2009/06/15/resuming-and-the-search-for-the-4mb-lost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/51360c565459696cefe90b691819a49c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oracledisect</media:title>
		</media:content>

		<media:content url="http://static.technorati.com/pix/fave/tech-fav-1.png" medium="image">
			<media:title type="html">Add to Technorati Favorites</media:title>
		</media:content>

		<media:content url="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s200/mx.gif" medium="image" />

		<media:content url="http://static.delicious.com/img/delicious.small.gif" medium="image">
			<media:title type="html">Delicious</media:title>
		</media:content>
	</item>
		<item>
		<title>Index Dynamics &#8211; Part 3</title>
		<link>http://oracledisect.wordpress.com/2008/11/11/index-dynamics-part-3/</link>
		<comments>http://oracledisect.wordpress.com/2008/11/11/index-dynamics-part-3/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 11:00:00 +0000</pubDate>
		<dc:creator>oracledisect</dc:creator>
				<category><![CDATA[Innerworkings]]></category>
		<category><![CDATA[Maintenance]]></category>
		<category><![CDATA[Oracle 10g]]></category>
		<category><![CDATA[Oracle 11g]]></category>
		<category><![CDATA[Oracle 9i]]></category>
		<category><![CDATA[LinkedIn]]></category>

		<guid isPermaLink="false">http://oracledisect.wordpress.com/2008/11/11/index-dynamics-part-3/</guid>
		<description><![CDATA[Ver este articulo en Español See previous post Index Dynamics &#8211; Part II or first part Index Dynamics &#8211; Part I On this part, I’m going to share with you the final results for my 2 week experiment with indexes on their habitat, a production environment. I’ve to forewarn that some data was not available, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracledisect.wordpress.com&amp;blog=5143040&amp;post=63&amp;subd=oracledisect&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://technorati.com/faves?sub=addfavbtn&amp;add=http://oracledisect.wordpress.com"><img src="http://static.technorati.com/pix/fave/tech-fav-1.png" alt="Add to Technorati Favorites" /></a></p>
<p><a href="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s1600-h/mx.gif"><img style="float:left;cursor:pointer;margin:0 10px 10px 0;" src="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s200/mx.gif" border="0" alt="" /></a><a href="http://www.databases-la.com/?q=es/node/44">Ver este articulo en Español</a></p>
<p>See previous post <a href="http://oracledisect.blogspot.com/2008/10/index-dynamics-part-2-halloween-on.html">Index Dynamics &#8211; Part II</a> or  first part <a href="http://oracledisect.blogspot.com/2008/10/index-dynamics.html">Index Dynamics &#8211; Part I</a></p>
<p>On this part, I’m going to share with you the final results for my 2 week experiment with indexes on their habitat, a production environment.</p>
<p>I’ve to forewarn that some data was not available, as the ANALYZE method fails for objects currently locked, given that our environment is a “live” production database and for consistency we scheduled all tests for a given time, which some days collided with business process. The Used Space graph shows those NA data points; however for INDEX1 and INDEX4 the Nov 7th data for Deltas was interpolated, the only index for which we have all samples is INDEX2, coincidentally our research subject.</p>
<p>First let’s see the Used Space graph, here you may see how the Used Space percentage continues the decay trend, which means that free space within the index nodes is increasing.</p>
<p><a href="http://2.bp.blogspot.com/_9jCa6_0_7n4/SRm-ws3A3LI/AAAAAAAAADM/h9MsMBauDlc/s1600-h/idx_usp3.png"><img style="display:block;text-align:center;cursor:pointer;width:400px;height:244px;margin:0 auto 10px;" src="http://2.bp.blogspot.com/_9jCa6_0_7n4/SRm-ws3A3LI/AAAAAAAAADM/h9MsMBauDlc/s400/idx_usp3.png" border="0" alt="" /></a><br />
Compare the current Used Space figures to those sampled before the rebuild, observe that after 15 days some indexes are midway to have the same amount of free space. That recalls the frequent doubts regarding index maintenance: “<span style="font-style:italic;">Must</span> rebuild indexes? <span style="font-style:italic;">How long</span> will last the structure ‘<span style="font-style:italic;">optimus</span>’ state?”</p>
<pre>Used Space    First    Now
INDEX1(10c)    69%     99%
<span style="color:#ff0000;font-weight:bold;">INDEX4(6c)     63%     74%</span>
<span style="color:#ff0000;">INDEX2(4c)     53%     77%</span>
INDEX3(2c)     45%     92%</pre>
<p>Given our partial-conclusion stated last post (<a href="http://oracledisect.blogspot.com/2008/10/index-dynamics-part-2-halloween-on.html">Index Dynamics &#8211; Part II</a>)<br />
”The branch blocks are the stressed part of the B-Tree right after the rebuild”<br />
We now might see less activity for Branch Blocks during the following days, which actually occurred.</p>
<p><a href="http://4.bp.blogspot.com/_9jCa6_0_7n4/SRm_XBxwBcI/AAAAAAAAADU/zk0d2DrjsO8/s1600-h/idx_brbdp3.png"><img style="display:block;text-align:center;cursor:pointer;width:400px;height:236px;margin:0 auto 10px;" src="http://4.bp.blogspot.com/_9jCa6_0_7n4/SRm_XBxwBcI/AAAAAAAAADU/zk0d2DrjsO8/s400/idx_brbdp3.png" border="0" alt="" /></a><br />
One remark: observe the Nov 6th high for INDEX1 and the previous behavior, was on that day the transaction rate motivated a higher reorganization within the index, showing us the impact business patterns have on data structures.</p>
<p>I have to mention that my production environment went through a period close week, therefore increased activity and closing processes made their mark on observations. An example of this is the resulting graphs for Leaf Blocks, with noticeable inter-day spikes.</p>
<p><a href="http://2.bp.blogspot.com/_9jCa6_0_7n4/SRm_r8tny0I/AAAAAAAAADc/xv_8TokGaJE/s1600-h/idx_lfbdzp3.png"><img style="display:block;text-align:center;cursor:pointer;width:400px;height:239px;margin:0 auto 10px;" src="http://2.bp.blogspot.com/_9jCa6_0_7n4/SRm_r8tny0I/AAAAAAAAADc/xv_8TokGaJE/s400/idx_lfbdzp3.png" border="0" alt="" /></a></p>
<p>Let’s pay a visit to our research subject, INDEX2. This chart is online with everything previously stated, no surprises here.</p>
<p><a href="http://3.bp.blogspot.com/_9jCa6_0_7n4/SRnAEEJDCOI/AAAAAAAAADk/AU4QjjzMuko/s1600-h/idx2usdp3.png"><img style="display:block;text-align:center;cursor:pointer;width:400px;height:246px;margin:0 auto 10px;" src="http://3.bp.blogspot.com/_9jCa6_0_7n4/SRnAEEJDCOI/AAAAAAAAADk/AU4QjjzMuko/s400/idx2usdp3.png" border="0" alt="" /></a><br />
This study motivated the following questions (that’s the problem with research, you answer one question and many new take the place):<br />
1) How PCT_FREE (or PCT_USED) impacts the decay curve?<br />
2) Are the splitting constants embedded in the code, optimal figures?<br />
3) Do we need a feature for PCT_FREE change after rebuild has been done?</p>
<p>Conclusions</p>
<p>* High stress within the branch blocks may be observed as soon as transactions start to modify the index structure; the stress period or intensity, will depend on transaction rate and index attributes.</p>
<p>Recommendation</p>
<p>* Do not rebuild indexes right before processes or high load days, if heavy writing is expected: the index leaf block split overhead may impact performance.</p>
<p>I’ve the pending assignment of proposing a mathematical model for the Index Decay Rate… I’m working on that, with the help of Calculus. My next delivery will talk about that, I’m pretty close…</p>
<p>Thank you for reading, don’t forget to leave your comments.</p>
<p>See previous post <a href="http://oracledisect.blogspot.com/2008/10/index-dynamics-part-2-halloween-on.html">Index Dynamics &#8211; Part II</a> or  first part <a href="http://oracledisect.blogspot.com/2008/10/index-dynamics.html">Index Dynamics &#8211; Part I</a></p>
<p><img src="http://static.delicious.com/img/delicious.small.gif" alt="Delicious" width="10" height="10" /><br />
<a href="http://delicious.com/save"> Bookmark this on Delicious</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/oracledisect.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/oracledisect.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/oracledisect.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/oracledisect.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/oracledisect.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/oracledisect.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/oracledisect.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/oracledisect.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/oracledisect.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/oracledisect.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/oracledisect.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/oracledisect.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/oracledisect.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/oracledisect.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=oracledisect.wordpress.com&amp;blog=5143040&amp;post=63&amp;subd=oracledisect&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://oracledisect.wordpress.com/2008/11/11/index-dynamics-part-3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/51360c565459696cefe90b691819a49c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">oracledisect</media:title>
		</media:content>

		<media:content url="http://static.technorati.com/pix/fave/tech-fav-1.png" medium="image">
			<media:title type="html">Add to Technorati Favorites</media:title>
		</media:content>

		<media:content url="http://bp3.blogger.com/_9jCa6_0_7n4/SAuEZL7-XSI/AAAAAAAAABA/6IW_dDoOVnA/s200/mx.gif" medium="image" />

		<media:content url="http://2.bp.blogspot.com/_9jCa6_0_7n4/SRm-ws3A3LI/AAAAAAAAADM/h9MsMBauDlc/s400/idx_usp3.png" medium="image" />

		<media:content url="http://4.bp.blogspot.com/_9jCa6_0_7n4/SRm_XBxwBcI/AAAAAAAAADU/zk0d2DrjsO8/s400/idx_brbdp3.png" medium="image" />

		<media:content url="http://2.bp.blogspot.com/_9jCa6_0_7n4/SRm_r8tny0I/AAAAAAAAADc/xv_8TokGaJE/s400/idx_lfbdzp3.png" medium="image" />

		<media:content url="http://3.bp.blogspot.com/_9jCa6_0_7n4/SRnAEEJDCOI/AAAAAAAAADk/AU4QjjzMuko/s400/idx2usdp3.png" medium="image" />

		<media:content url="http://static.delicious.com/img/delicious.small.gif" medium="image">
			<media:title type="html">Delicious</media:title>
		</media:content>
	</item>
	</channel>
</rss>
