You can move the files, but not while the database is using them. You can perform the moves by taking the tablespace...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
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.
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
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.