how to reduce system data file [message #151081] |
Tue, 13 December 2005 00:56 |
rajshah_ocp
Messages: 3 Registered: December 2005 Location: delhi
|
Junior Member |
|
|
hello all
plz tell me how to reduce system datafile size,
actually in my company database system datafile size is around
5GB,i have already transfer all user n its segments to another
tablespace.
when i view how much free sapce in systm tablespace using
"SELECT * FROM DBA_FREE_SPACE WHERE TABLESPACE_NAME='SYSTEM';
IT dsiplay lots of free space in system datafile .
but when i try to resize the system datafile using
alter database datafile 'c:\oracle\oradata\system01.dbf' resize 400m ;
then its display message'u cannot resize datafile the data is beyond of size'......
thank u
|
|
|
|
|
|
|
Re: how to reduce system data file [message #152167 is a reply to message #151493] |
Wed, 21 December 2005 08:03 |
sunil_v_mishra
Messages: 506 Registered: March 2005
|
Senior Member |
|
|
well find the HWM (high water mark) then .... shrink the datafile ....
you can find the HWM for a table .. i dont know how to do it for tablespace.
Note:- shrinking the system datafile is possible on sun solaris but in windows it depends on file locking mechanism .. it may some time corrupt the system datafile so pls take backup before doing any things.
Regards
Sunilkumar
[Updated on: Wed, 21 December 2005 08:08] Report message to a moderator
|
|
|
|