-- Robert L. McMillin | Not the voice of Syseca, Inc. | rlm_at_syseca-us.com Personal: rlm_at_helen.surfcty.com | rlm_at_netcom.com ----------------------------------------------------------------------------- Guy, I've experienced this problem before, and after a great deal of investigation and testing, the only conclusion was that oracle datafiles are what is known as a sparse file. When you think that a oracle datafile upon creation occupies x amount of disk space but it is basically an empty file. As a tablespace becomes fragmented, so does the datafile. This is what is known as a sparse file - a file that takes up space but contains empty space. A defrag will help after the file is restored but does not really help in the restoration. To combat this on tight filedomains I used to add a single disk to the filedomain using addvol - ( even to RAID sets ). When the restoration was complete I then did a defrag and a rmvol, to remove the volume. The remove volume command moves the data from the ( temporary ) volume I had added back onto the RAID set and then removes itself from the filedomain. If there was not enough space for this I could fire up the database and relocate a datafile or two, and then remove the volume. All this can be done on line. Obviously there will be a large IO performance hit. And you don't really want to remove the volume with the database up or at least no heavy transactions in those tablespaces. Dwight Walker -------------------------------------------------------------------------- If you deleted a file that had an open file handle, it would be removed from the directory listing, but the space would still be allocated until that file handle was closed. You might try rebooting. -cliff -------------------------------------------------------------------------- If some of the files were sparse before and the restored expanded them, that could account for the usage. Fragmentation could cause additional space usage in the form of more space used for the extra extents, but I wouldn't think it would be much. -Alan Guy Dallaire dallaire_at_total.net "God only knows if god exists"Received on Wed Apr 30 1997 - 16:32:16 NZST
This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT