<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: db_block_size in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/db-block-size/m-p/3572637#M831183</link>
    <description>Be aware that increasing DB_BLOCK_SIZE parameter will change optimizer behaviour. The larger is DB_BLOCK_SIZE, the cheaper is a full table scan. So CBO will be more likely to choose this kind of access and this may not be a good thing. It's better to make test before increasing this parameter on your production system.&lt;BR /&gt;&lt;BR /&gt;This may increase administration tasks, but you can set a different block size for different tablespace, depending on their usage.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
    <pubDate>Wed, 29 Jun 2005 02:54:41 GMT</pubDate>
    <dc:creator>Fred Ruffet</dc:creator>
    <dc:date>2005-06-29T02:54:41Z</dc:date>
    <item>
      <title>db_block_size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/db-block-size/m-p/3572632#M831178</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Does HPUX v11.11 support an Oracle database block size of 32K? Any comments on the implications of using a larger block size? This will be a Data Warehouse application.&lt;BR /&gt;&lt;BR /&gt;thanks, Greg</description>
      <pubDate>Tue, 28 Jun 2005 18:13:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/db-block-size/m-p/3572632#M831178</guid>
      <dc:creator>Greg Hall</dc:creator>
      <dc:date>2005-06-28T18:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: db_block_size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/db-block-size/m-p/3572633#M831179</link>
      <description>Yes it does and don't let anyone tell you to match database block size to filesystem block size (as long as you are using vxfs filesystems -- and you should be). Vxfs filesystems are extent based meaning they try to write in large chunks and the block size has nothing to do with this. Whether or not your 32K blocksize makes sense depends upon the data. I've found that for most applications, a good all-around blocksize is 8k.</description>
      <pubDate>Tue, 28 Jun 2005 18:30:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/db-block-size/m-p/3572633#M831179</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-06-28T18:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: db_block_size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/db-block-size/m-p/3572634#M831180</link>
      <description>Hi Greg,&lt;BR /&gt;&lt;BR /&gt;Yes Oracle DB block size of 32K is supported.&lt;BR /&gt;&lt;BR /&gt;Oracle block size has high incidence in the throughput of the database. Depending on the type of transactions involved the size of the parameter DB_BLOCK_SIZE might help to improve the performance of the I/O operation. &lt;BR /&gt;&lt;BR /&gt;Usually for OLTP (Online Transaction Processing) systems is advisable to have smaller block size assuming that data requirement for information tend to be small and granular. Contrary, for DSS (Decision Support Systems) were reads tend to be large, a bigger database block size will help in caching more information in memory with less I/O accesses. &lt;BR /&gt;&lt;BR /&gt;Oracle recommends to have a Oracle block size as a multiple of the Operating system block size to reduce the overload in I/O operation. &lt;BR /&gt;&lt;BR /&gt;With large DB block size the advantage is there is relatively less overhead, thus more room to store useful data. Good for sequential access, or very large rows. The  disadvantage is large DB block size is not good for index blocks used in an OLTP type environment, because they increase block contention on the index leaf blocks. s more room to store useful data.&lt;BR /&gt;&lt;BR /&gt;Attached is a white paper from metalink "Choosing an Optimal DB BLOCK SIZE and Block Size Advantages and Disadvantages".&lt;BR /&gt;&lt;BR /&gt;Indira A&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Jun 2005 22:11:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/db-block-size/m-p/3572634#M831180</guid>
      <dc:creator>Indira Aramandla</dc:creator>
      <dc:date>2005-06-28T22:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: db_block_size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/db-block-size/m-p/3572635#M831181</link>
      <description>excellent, thankyou people. I'll feed all that to the DBA, should keep them quiet for a while. :)&lt;BR /&gt;&lt;BR /&gt;cheers, Greg</description>
      <pubDate>Tue, 28 Jun 2005 22:21:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/db-block-size/m-p/3572635#M831181</guid>
      <dc:creator>Greg Hall</dc:creator>
      <dc:date>2005-06-28T22:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: db_block_size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/db-block-size/m-p/3572636#M831182</link>
      <description>hi greg!&lt;BR /&gt;&lt;BR /&gt;for data warehouse application you can use 32K block sizes since HP-UX supports it.&lt;BR /&gt;&lt;BR /&gt;Here are a couple of pros and cons (some of them will be both pros and cons -- &lt;BR /&gt;depends on your perspective)....&lt;BR /&gt;&lt;BR /&gt;Below a list of pros and cons for going from 2k blocksize to xk blocksizes - x &amp;gt; 2 (depending on your perspectives of course)&lt;BR /&gt;&lt;BR /&gt;1. The total amount of block overhead in your database will decrease.  The amount of overhead per block is normally fixed.  If your block is 4 times LARGER then you will have less then 1/4 the block overhead after the change over.&lt;BR /&gt;&lt;BR /&gt;2. Row chaining will decrease and perhaps less row migrations. As you must akready know, row chaining happens when a row is too large to fit on one contigous block (which is much less likely in an Xk block then a 2k block).  When does row migration happens? it is when we attempt to update a row but discover there is insufficient space on the block to do so.  Therefore, we leave the "head" of the row on the original block (cannot change the rowid) and put the row itself on another block entirely.  When you go from 2k with a 10% pctfree (default) to an Xk block with 10% free means we have perhaps more free space on each block to accomidate this (but we also have more rows per block so it might not matter all of the time).&lt;BR /&gt;&lt;BR /&gt;3. Contention for the same block may increase perhaps.  As you do lots of stuff at the block level -- you may notice more contention in this area.&lt;BR /&gt;&lt;BR /&gt;4. You will have the same amount of data cached (volume) but the granularity of the data will be N times larger. For every row you want, you might get N times as many rows pulled along.  This can be good -- this can be bad. It really depends on what you are doing. In a heavy duty OLTP system with lots and lots of scattered reads all over the place -- this might be bad as no one is going after the same blocks (eg: I read a row on a block and no one else ever needs that block -- i cached lots of stuff no one is going to use and I may have bumped out some other data that we could have used). In a query intensive system (DSS, Data Warehouse), it may be very good as I was going to read the blocks right around my data anyway. And - people are going to be needing that data again and again.&lt;BR /&gt;&lt;BR /&gt;5. The number of rows per block in indexes will increase hence indexes will require less maintenance as they tend to need to reorganize themselves less frequently.&lt;BR /&gt;&lt;BR /&gt;6. Larger block sizes will allow for larger index keys (although whether or not THIS is a good thing is in question as well, there is something to be said for reasonably sized index entries).  The size of the index keys is a little less then about 40% of the block size. In an 8k database for example, you'll get:&lt;BR /&gt;create index myidx on t1(a,b,c)&lt;BR /&gt;                      *&lt;BR /&gt;ERROR at line 1:&lt;BR /&gt;ORA-01450: maximum key length (3218) exceeded&lt;BR /&gt;&lt;BR /&gt;for a 2k block, it would be lesser.&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Wed, 29 Jun 2005 02:35:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/db-block-size/m-p/3572636#M831182</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-06-29T02:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: db_block_size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/db-block-size/m-p/3572637#M831183</link>
      <description>Be aware that increasing DB_BLOCK_SIZE parameter will change optimizer behaviour. The larger is DB_BLOCK_SIZE, the cheaper is a full table scan. So CBO will be more likely to choose this kind of access and this may not be a good thing. It's better to make test before increasing this parameter on your production system.&lt;BR /&gt;&lt;BR /&gt;This may increase administration tasks, but you can set a different block size for different tablespace, depending on their usage.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Jun 2005 02:54:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/db-block-size/m-p/3572637#M831183</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2005-06-29T02:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: db_block_size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/db-block-size/m-p/3572638#M831184</link>
      <description>hi greg,&lt;BR /&gt;&lt;BR /&gt;see also:&lt;BR /&gt;&lt;A href="http://www.ixora.com.au/tips/buffered_block_size.htm" target="_blank"&gt;http://www.ixora.com.au/tips/buffered_block_size.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Wed, 29 Jun 2005 03:34:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/db-block-size/m-p/3572638#M831184</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-06-29T03:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: db_block_size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/db-block-size/m-p/3572639#M831185</link>
      <description>Hi Greg,&lt;BR /&gt;&lt;BR /&gt;I just want to add a consideration for you to choose your block size. &lt;BR /&gt;&lt;BR /&gt;For good performance your Oracle Block Size should be equal to or a multiple of the O/S blocksize. &lt;BR /&gt;&lt;BR /&gt;See metalink Note 34020.1 for more info about db_block_size...&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;Eric Antunes</description>
      <pubDate>Wed, 29 Jun 2005 03:40:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/db-block-size/m-p/3572639#M831185</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2005-06-29T03:40:30Z</dc:date>
    </item>
  </channel>
</rss>

