Re: Moving System Tablespace
From: N.Prabhakar <prabhs_at_pacific.net.sg>
Date: 1996/12/04
Message-ID: <582g5t$3ln_at_newton.pacific.net.sg>#1/1
Date: 1996/12/04
Message-ID: <582g5t$3ln_at_newton.pacific.net.sg>#1/1
leslie_at_darth.lfso.loral.com (Leslie Carter) writes: >
> I am trying to reorganize a database and am moving some tablespaces to
> different disks. To do this I am bringing the tablespace offline, then
> issuing an alter tablespace rename datafile command. Can I do this with
> the system tablespace? My question is if I take the system tablespace
> offline and rename it, how will the data dictionary get updated?
Hi there,
Try the following.
- shutdown the database.
- copy the /disk1/system.dbf to /disk2/system.dbf using your OS copy command.
- startup mount.
- alter database rename file '/disk1/system.dbf' to '/disk2/system.dbf'
- alter database open
- select * from dba_data_files where tablespace_name = 'SYSTEM'; check if oracle has changed its pointers to reference your new file.
- Take an offline backup of the database.
The above step should work.
Regards
N.Prabhakar Received on Wed Dec 04 1996 - 00:00:00 CET