DBAsupport.com Forums - Powered by vBulletin
Results 1 to 6 of 6

Thread: No more hard drive space!

  1. #1
    Join Date
    Jul 2000
    Posts
    70
    I loaded up a 490M file into a database and turned out at that I was only left with 10% of free space on that mount point.
    Now when I did a delete from dbname;
    Even though the data got deleted, the hard drive still showed only 10% of space remaining.
    What could have gone wrong??
    Ive got Oracle running on a Linux box and I do a df to see me how much space is left.
    I sometime ago moved the database from mount point /u01 to /u02 and updated the log and control files to point to files in the new mount point and it went smooth. Got I have missed something that somehow is causing the problem?
    THanks.


  2. #2
    Join Date
    Aug 2000
    Posts
    462
    The tablespace still contains that disk space. Resize the tablespace/datafile.

  3. #3
    Join Date
    Jul 2000
    Posts
    70
    How can I do that?
    Could you provide me with a sample sql code for clarification?
    Thanks.

  4. #4
    Join Date
    Oct 2000
    Location
    Halifax, Nova Scotia
    Posts
    197
    ALTER DATABASE DATAFILE 'path and datafile name' RESIZE XXX M(size to resize to)

    Ex:

    ALTER DATABASE DATAFILE 'C:\ORADATA\TEST.DBF' RESIZE 10 M
    Don't be afraid to try something new. Amateurs built the Ark, professionals built the Titanic

  5. #5
    Join Date
    Jul 2000
    Posts
    70
    When I try to give it a value smaller than the one that is set, it gives me an error message that file contains used data beyond requested RESIZE value.
    When I checked the database to make sure, the tables are all empty.
    What could be the problem?


  6. #6
    Join Date
    Oct 2000
    Location
    Saskatoon, SK, Canada
    Posts
    3,925
    drop those empty tables and then issue the resize, it should work o.k.

    Sam
    Thanx
    Sam



    Life is a journey, not a destination!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width