- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Oracle database files being backed up via RMAN hav...
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
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
тАО02-01-2006 08:41 AM
тАО02-01-2006 08:41 AM
I have set the cluster size to 1096.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2006 02:06 PM
тАО02-01-2006 02:06 PM
Re: Oracle database files being backed up via RMAN have thousands of extra bloks being allocated
It would help if you would indicate exactly which file you are complaining about.
At first I looked at some ALB files, but there is no discrepancy there. The difference of ALQ - EOF being less than the cluster size.
So now I guess you are talking about the DBF files. Those appear to be allocated at 4GB and 3.7GB mostly. The actual usage it smaller, but surely that is an Oracle choice.
There is a VMS mechnisme which will grow files with 'autoextent' and when the file is closed, then it is truncated at actual usage (RMS: FOP=TEF). Oracle does appears not to have used that, nor did it use an RMS SYS$TRUNCATE call.
For a 'normal' DBF file, I unnderstand that.
The application designer selects a pre-allocate size and Oracle honors that.
For backup files that SEEMS pointless.
I would recommend a question/suggestion to Oracle to TRUNCATE backup files either explicitly or implicitly with FOP=TEF on CLOSE. There is no VMS setting that woudl influence this. This is an application (Oracle) choice.
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2006 02:18 PM
тАО02-01-2006 02:18 PM
Re: Oracle database files being backed up via RMAN have thousands of extra bloks being allocated
Perhaps RMAN has an option where you can set an INITIAL size as well as an EXTENT size for RMAN output? Perhaps it defaults to the DBF file size? If so maybe you can can set the initial size to 1/2 of the dbf size and the extent to something much smaller. With the large cluster size you have, and the usage you have, fragmentationa and extent costs will be minimal anyway.
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2006 12:14 AM
тАО02-02-2006 12:14 AM
Re: Oracle database files being backed up via RMAN have thousands of extra bloks being allocated
Thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2006 12:50 AM
тАО02-02-2006 12:50 AM
SolutionYou can also recuperate the diskspace with "set file/trunc".
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2006 01:22 AM
тАО02-02-2006 01:22 AM
Re: Oracle database files being backed up via RMAN have thousands of extra bloks being allocated
Why would file highwater_marking on the volume affect the response and should I do it for the remainder of the Oracle database disks?
I do not know if issuing the set set file/truncate will render these backup files unusable to RMAN or Oracle in the event a restore is needed. I doubt they would but I need to be sure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2006 02:26 AM
тАО02-02-2006 02:26 AM
Re: Oracle database files being backed up via RMAN have thousands of extra bloks being allocated
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2006 02:40 AM
тАО02-02-2006 02:40 AM
Re: Oracle database files being backed up via RMAN have thousands of extra bloks being allocated
Hmm, this warrant investigation and/or a support call to Oracle. I'll ask around if/wehn I run into the right people, and point some folks to this topic.
At the very least Oracle must document the HWM impact and allow a system manager to make a good decision. Maybe it is documented in a release note / VMS specific install guide / metalink ariticle already?
IMHO there is no good reason for HWM to have an effect on backup style file creation, but clearly it does.
Oracle must be doing some sort of random write to the output file to trigger HWM to take action.
Maybe they use a 'Unix compatible' 'SEEK + write" to extent the file instead of a VMS native approach?
For a simple sequential write, HWM has no effect, being only pointer. After a 'random' (Not actually random of course, just not sequential) write the HWM setting instructs teh file system to zero blocks beyond the current EOF in order to prevent data scavenging type security attacks.
Also, yes I also suspect that SET FILE/TRUNC will simply return the unused space, but would not want to recommend doing so without Oracle consent and/or extensive backup + restore testing on a non-production database. Again, with would behoove Oracle to document whether truncating is acceptable or not. Maybe it is documented already?
Actually, set file /truncate is pretty safe considering that the very HWM we are talking about will make sure that any block read beyond the EOF will just return zeroes. Therefor one can always undo this truncate.
So I would do it for _my_ file in this circumstance, but could not recommend it for others. It would have to be your own choice and responsibility.
Regards,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2006 08:41 PM
тАО02-02-2006 08:41 PM
Re: Oracle database files being backed up via RMAN have thousands of extra bloks being allocated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-27-2007 03:49 AM
тАО06-27-2007 03:49 AM
Re: Oracle database files being backed up via RMAN have thousands of extra bloks being allocated
Thank you everyone for all the help!