Recover sysaux file

Posted on 2013-01-08
Medium Priority
Last Modified: 2013-01-08
How do I recover sysaux since I don't have backup for it?
Question by:lium1
  • 3
  • 2
LVL 78

Expert Comment

by:slightwv (䄆 Netminder)
ID: 38756307
You don't.  Without a backup to start from, you are sort of out-of-luck.

You can recreate the tablespace but you will need to rebuild any objects housed in the old one.

Here is the doc link that talks about it:

You can then look at the list of normal occupants of it to see if you were using any of them.

Author Comment

ID: 38757079
Any suggestions?
LVL 78

Expert Comment

by:slightwv (䄆 Netminder)
ID: 38757099
None that I didn't post already: rebuild it.

This is why backups are a good thing.

As noted in the docs, sysaux normally is for Oracle add-ons and utilities.  If you aren't using them then you should be OK.  Just offline/drop the tablespace.

If you think you might need it, export the important schemas in the database, then create a new database and import the data back in.

You will lose any data that was in sysaux but since you have no backups, I have to assume this was a test or dev database so it shoudn't matter.

Author Comment

ID: 38757337
Can you explain a little bit more in details by meaning of export the important schemas in the database, then create a new database and import the data back in?

Syntax and procedure, please?
LVL 78

Accepted Solution

slightwv (䄆 Netminder) earned 2000 total points
ID: 38757367
I assume there are 'important' tables/procedures/etc... in the database?

Those are owned by some user.  This is a schema in Oracle (a database users that owns objects).

You can use classic exp or the new expdp to export those users/schemas you want to keep/migrate over to the new database.

The docs have everything you need to do this. Even examples.  There are also a TON of links out there on these utilities.


classic exp:

To create a new database, run dbca.  This should be the same steps you ran when you created the database you currently have.

Again, the online docs should have everything you need.

Creating a Database with DBCA

Creating and Managing a Database with DBCA

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
An introductory discussion about Oracle Analytic Functions which are used to calculate or compute Aggregate values, based on a group of rows.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question