- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- db_block_size
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 11:13 AM
тАО06-28-2005 11:13 AM
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.
thanks, Greg
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 11:30 AM
тАО06-28-2005 11:30 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 03:11 PM
тАО06-28-2005 03:11 PM
Re: db_block_size
Yes Oracle DB block size of 32K is supported.
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.
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.
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.
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.
Attached is a white paper from metalink "Choosing an Optimal DB BLOCK SIZE and Block Size Advantages and Disadvantages".
Indira A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 03:21 PM
тАО06-28-2005 03:21 PM
Re: db_block_size
cheers, Greg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 07:35 PM
тАО06-28-2005 07:35 PM
Re: db_block_size
for data warehouse application you can use 32K block sizes since HP-UX supports it.
Here are a couple of pros and cons (some of them will be both pros and cons --
depends on your perspective)....
Below a list of pros and cons for going from 2k blocksize to xk blocksizes - x > 2 (depending on your perspectives of course)
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.
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).
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.
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.
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.
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:
create index myidx on t1(a,b,c)
*
ERROR at line 1:
ORA-01450: maximum key length (3218) exceeded
for a 2k block, it would be lesser.
hope this helps too!
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 07:54 PM
тАО06-28-2005 07:54 PM
Re: db_block_size
This may increase administration tasks, but you can set a different block size for different tablespace, depending on their usage.
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 08:34 PM
тАО06-28-2005 08:34 PM
Re: db_block_size
see also:
http://www.ixora.com.au/tips/buffered_block_size.htm
hope this helps too!
regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2005 08:40 PM
тАО06-28-2005 08:40 PM
Re: db_block_size
I just want to add a consideration for you to choose your block size.
For good performance your Oracle Block Size should be equal to or a multiple of the O/S blocksize.
See metalink Note 34020.1 for more info about db_block_size...
Best Regards,
Eric Antunes