You can move the files, but not while the database is using them. You can perform the moves by taking the tablespace offline, moving the file and then instructing Oracle of the new location. Use the following steps:
- ALTER TABLESPACE tools OFFLINE;
- Use OS commands to move tools01.dbf to its new location.
- ALTER DATABASE RENAME FILE '/old_directory/tools01.dbf' TO '/new_directory/tools01.dbf';
- ALTER TABLESPACE tools ONLINE;
Repeat for the other tablespaces.
Dig Deeper on Oracle database backup and recovery
Related Q&A from Brian Peasland
Oracle expert Brian Peasland answers one reader's question about common pitfalls when connecting Oracle to outside programs. Continue Reading
One reader asks expert Brian Peasland a question about datafile sizes with the Oracle RMAN duplicate 10g command. Continue Reading
Managing parent table-child table relations in Oracle SQL environments is key to efficient programming. Continue Reading