Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

Our SYSTEM tablespace grew out of control because of the SYS.AUD$ table.

We have truncated SYS.AUD$ but the datafile is still very big (~30G).

Resize doesn't work because the file contains used data beyond requested RESIZE value

What should I do here?

Here's our version information:

  • Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
  • PL/SQL Release 11.2.0.1.0 - Production
  • CORE 11.2.0.1.0 Production
  • TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
  • NLSRTL Version 11.2.0.1.0 - Production
share|improve this question

migrated from stackoverflow.com Mar 30 '13 at 19:09

This question came from our site for professional and enthusiast programmers.

1  
Which Oracle version are you using? Did you try Googling for a solution as there is lots of information out there. –  Colin 't Hart Mar 30 '13 at 21:31
    
As @Colin'tHart said, this is a common problem with mis-managed databases. Edit your question with version information –  Phil Mar 31 '13 at 0:56
    
Sorry, you should recreate the dabatase. Don t forget to immediately move the AUD$ to another tablespace. –  Diego Jan 9 at 18:22
add comment

2 Answers 2

You can use segment advisor in Enterprise Manager and same can be done using PLSQL also. You can find a detailed guide in link given below:-

http://docs.oracle.com/cd/E11882_01/server.112/e10595/schema003.htm

share|improve this answer
1  
The reorganization of this object cannot be performed online. Cannot perform online reorganization of tables owned by SYS. –  user1617237 Apr 2 '13 at 17:42
add comment

Query the DBA_EXTENTS view to see what objects are present towards the end of the data files. It is possible that they are not system objects, or are system objects which can be safely modified so that they are towards the beginning of the files.

However I suspect that you have a big problem here -- you may be looking at creating a new database and moving all your user objects to that.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.