- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- How can we release the unused allocated blocks to ...
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
06-27-2006 02:35 AM
06-27-2006 02:35 AM
we are running AlphaServer 4100 5/400 4MB running OpenVMS V7.1-2 clustering 2 alpha nodes with common storage.
Currently we have problems with one of the oracle database rollback segment DBS file allocated with large unused blocks.
***********
TS_ROLLBACK.DBS;1 204800/1024012
*******************
i already tried
*****************************
$ set file/trun TS_ROLLBACK.DBS
%SET-E-READERR, error reading DKC2:[ORACLE.DB_P73LAB]TS_ROLLBACK.DBS;1
-SYSTEM-W-ACCONFLICT, file access conflict
**********************************
we also tried with database complete shutdown but still i get the same error as above.
how can we release the unused allocated blocks?
regards
Raj
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 02:40 AM
06-27-2006 02:40 AM
SolutionBut I do not know why Oracle allocates such an amount of blocks, may be preformance reasons to avoid costly extension when needing the blocks.
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 03:18 AM
06-27-2006 03:18 AM
Re: How can we release the unused allocated blocks to the openvms file ?
Welcome to the HP OpenVMS ITRC forum
I would STRONGLY recommend against manipulating Oracle controlled files outside Oracle.
The EOF marker is a STRICTILY OPTIONAL piece of information. It may or might not be honored by Oracle.
Someone told Oracle it could use those blocks, so don't go taking them away behind its back. Your first task is to talk to the DBA to find out how much space it believed to be needed.
Now if it is indeed overallocated, then there is hope. Since this appears to be a ROLLBACK segment (Or a very silly/funny DBA), you can just tell Oracle to
- create a new rollback tablespace
- disable the rollback segments in the current tablespace
- DROP the whole oversized tablespace and delete the files.
(or change the INIT.ORA to select different automatic undo segments).
Met vriendelijk groetjes,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 03:19 AM
06-27-2006 03:19 AM
Re: How can we release the unused allocated blocks to the openvms file ?
SHOW DEV/FILES DKC2 will tell you which process has the file open (will have to do this on each node in the cluster).
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 03:28 AM
06-27-2006 03:28 AM
Re: How can we release the unused allocated blocks to the openvms file ?
So long as the file is being accessed for write/append in some way, the EOF block is also not reliable information.
- Bob Gezelter, http://www.rlgs.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 03:42 AM
06-27-2006 03:42 AM
Re: How can we release the unused allocated blocks to the openvms file ?
show dev/files DKC2:
This will show you the processes that have the file locked so you can not access it.
Rarely will you see someone install this in memory and then the PID will be 000000.
Since this looks like an Oracle database file I would suggest NOT making that change. The oracle table is normally preallocated to a specific size. Talk to your Orace Database Admin to get details on table size and requirements.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2006 08:33 AM
06-27-2006 08:33 AM
Re: How can we release the unused allocated blocks to the openvms file ?
Thanks all of you for your replies.
today we had some problems with our oracle database and we were getting "ORA-1562 Unable to extend roll back segments Error"
So DBA tried to increase the size roll back segments size. But it dont help. finally we had shutdown and restart the database.
Then DBA reverted back the changes - set the old file size for roll back segments.
So now DBA can see the size is less now.
But the free space is not released yet.
I already tried after we shutdown the database one more time and i checked for
show dev dkc2 /file
but no process was using the file.
SO i think the only option left out is as HEIN said, we have to try to create new roll back segment file and delete the existing one.
regards
Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2006 09:36 PM
07-26-2006 09:36 PM