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

Thread: Free Up Unused space in INDX tablespace

  1. #1
    Join Date
    Oct 2006
    Location
    Mumbai
    Posts
    184

    Free Up Unused space in INDX tablespace

    Dear All,

    I have a INDX Tablespace having a single datafile INDX01.dbf of 6GB.

    I had indexes of certain Schema which used this INDX Tablespace out of which one of the Schema i dropped using cascade option.

    Now the INDX tablespace Used space has come down to 800MB and Free Space has increased to 5200MB. Now, i have to resize the datafile size, i use

    alter database datafile '/path/INDX01.dbf' resize 1024M;

    But, it fails giving an error

    ERROR at line 1:
    ORA-03297: file contains used data beyond requested RESIZE value

    Can anybody help me in resizing the datafile to 1024M or 2048M. Is it something to do with HWM of the datafile ? Please advise

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    yes it is the hwm - if you really want the space back you need to rebuild your indexes so that they are at the start of the datafile

  3. #3
    Join Date
    Oct 2006
    Location
    Mumbai
    Posts
    184
    Quote Originally Posted by davey23uk
    yes it is the hwm - if you really want the space back you need to rebuild your indexes so that they are at the start of the datafile
    Thanks Davey for the prompt reply. I know what do do now.

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