Ask the Expert

Moving redo files from one partition to another

Do you know of quick way to relocate/move redo files from one partition to another? I am running Oracle 8.1.7 on Solaris. I remember doing this before.

    Requires Free Membership to View

Moving datafiles is pretty quick and easy. Just follow these steps:

  1. Bring the datafile's tablespace(s) offline:
       ALTER TABLESPACE OFFLINE;
    
  2. Use OS commands to move the datafiles.
  3. Tell the database where the datafiles are now located:
       ALTER DATABASE RENAME FILE '/old_dir/filename' 
       TO '/new_dir/filename';
    
    Do this for every datafile you moved.
  4. Bring the tablespace(s) back online.
       ALTER TABLESPACE ONLINE;
    

For More Information


This was first published in August 2002

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: