- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unix Block Size to be set in relation with Oracle ...
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
Forums
Discussions
Discussions
Discussions
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
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
02-09-2001 08:38 PM
02-09-2001 08:38 PM
Unix Block Size to be set in relation with Oracle Block Size
Can someone pl. tell me that how one can change the block size of Unix.
Oracle documentation recommends that Unix block size should be >= Oracle block size which is 4K.
Thanks.
Samir.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2001 09:02 PM
02-09-2001 09:02 PM
Re: Unix Block Size to be set in relation with Oracle Block Size
Below is an example of the command that would be used to make the filesystem on my /dev/vg00/lvol5 logical volume
mkfs -F vxfs -o ninode=unlimited,bsize=1024,version=3,inosize=256,logsize=1024,nolargefiles /dev/vg00/lvol5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2001 09:02 PM
02-09-2001 09:02 PM
Re: Unix Block Size to be set in relation with Oracle Block Size
You cannot change the block size of an existing filesystem unless you remove it and recreate it with the blocksize specified:
For creating a new HFS filesystem with blocksize 32 kb with >2GB support :
# newfs -F hfs -b 32768 -o largefiles /dev/vgXX/rlvYY
For creating a new JFS filesystem with blocksize 32 kb with >2GB support:
# newfs -F vxfs -b 32768 -o largefiles /dev/vgXX/rlvYY
After recreating your filesystems, you can subsequently restore all your files from backup.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2001 04:29 AM
02-10-2001 04:29 AM
Re: Unix Block Size to be set in relation with Oracle Block Size
What is the command to see the current block size?
Samir.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2001 09:24 AM
02-10-2001 09:24 AM
Re: Unix Block Size to be set in relation with Oracle Block Size
fstyp -v /dev/vgXX/rlvYY. Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2001 05:35 AM
02-12-2001 05:35 AM
Re: Unix Block Size to be set in relation with Oracle Block Size
Hope you have have misspelled your question;
stating that an Unix(OS) block should be >= the Oracle block...
This should infact be the other way around, as one Oracle block should consist of one or more OS blocks. ie the Oracle blocksize should be equal to or a multiple of the OS block size.
This way Oracle reads multiple OS blocks for each Oracle block that is needed in a transaction.
Using a OS blocksize that is bigger than the Oracle block just leaves the empty space of the remaining OS block unused.
Setting the Oracle blocksize to the right size when creating a new database depends on the application use:
We are developing OLTP databases for telecom and are using 8k Oracleblocks, while Datawarehouse or DSS system should have larger Oracleblocks.
Andreas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2001 05:28 PM
02-14-2001 05:28 PM
Re: Unix Block Size to be set in relation with Oracle Block Size
I want to second Andreas's comment about the O/S block size vs Oracle block size. I couldn't have explained it better.
I just want to add that once you create your database with a certain block size, it is IMPOSSIBLE for you to change it without RE-creating the entire database. Something to keep in mind if you are running a major production.
Take care,
Josee