Re: Moving database-, control- and logfiles
From: Patrick Koerner <SPHINX_at_terra-i.rhein-ruhr.de>
Date: 1995/07/02
Message-ID: <5p7yHnLbuxB_at_p0000043.terra-i.rhein-ruhr.de>#1/1
Date: 1995/07/02
Message-ID: <5p7yHnLbuxB_at_p0000043.terra-i.rhein-ruhr.de>#1/1
SPHINX_at_TERRA-I.rhein-ruhr.de schrieb am 15.06.95 um 08:09 unter "Moving database-, control- and logfiles" :
> Now my question: Which is the easiest way to move all the database-files
> to other locations?
Hoi folx,
i got some answers to my question. Here's now the right procedure:
For database and redolog-files:
- shutdown
- startup mount
- copy the files to the new location (os command)
- alter database rename file '<old_filename>' to '<new_filename>'
- alter database open
- after you verified that all is o.k. you can delete the old files.
For control-files:
- shutdown
- copy the files to the new location (os command)
- change the section "control-file" in the init<sid>.ora file
- startup
- after you verified that the database is happy you can delete the old files.
Thanx to all for their hints.
Patrick.
E-Mail: SPHINX_at_TERRA-I.rhein-ruhr.de
- Origin: 95 mph? WARP! ## CrossPoint v3.02 ##