slicendice
Programmer
Hi
I have a test database set up and have performed an import of some existing data. Due to a slight oversight(errmm...on my part!) the imported data went into the system tablespace instead of the intended tablespace. So I ended up with a 2GB SYSTEM tablespace (it had originally been about 500M)
I've managed to move all the necessary tables from SYSTEM to the correct tablespace now, but then when I try and shrink the SYSTEM tablespace back to 500M again using:
alter database datafile 'C:\oracle\oradata\db1\system01.dbf' resize 500M
I get the error:
ORA-03297: file contains used data beyond requested RESIZE value
I'm guessing this is because there is a used block right at the end of the file, or at least somewhere beyond the 500M mark....does that sound feasible? If so, is there any way of overcoming this so I can shrink the datafile back to it's original size?
Thanks very much
I have a test database set up and have performed an import of some existing data. Due to a slight oversight(errmm...on my part!) the imported data went into the system tablespace instead of the intended tablespace. So I ended up with a 2GB SYSTEM tablespace (it had originally been about 500M)
I've managed to move all the necessary tables from SYSTEM to the correct tablespace now, but then when I try and shrink the SYSTEM tablespace back to 500M again using:
alter database datafile 'C:\oracle\oradata\db1\system01.dbf' resize 500M
I get the error:
ORA-03297: file contains used data beyond requested RESIZE value
I'm guessing this is because there is a used block right at the end of the file, or at least somewhere beyond the 500M mark....does that sound feasible? If so, is there any way of overcoming this so I can shrink the datafile back to it's original size?
Thanks very much