Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Re[2]: What is the point to use "alter database rename file"
Good question Tom.
Afraid I don't know the answer though.
The SCN's could conceivable be different in some files. I don't believe READ ONLY tablespace file headers are updated.
Since the Log Files must be included in the 'CREATE CONTROLFILE' statement, it may be getting the SCN from the logs, which one would think should be an authoritative source for the info.
Jared
"Mercadante, Thomas F" <NDATFM_at_labor.state.ny.us>
Sent by: root_at_fatcity.com
07/09/2002 01:30 PM
Please respond to ORACLE-L
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> cc: Subject: RE: Re[2]: What is the point to use "alter database rename file"
Jared,
Just curious - when you create new control files, where does the current
SCN
# come from - all of the file headers? If all of the SCN's are the same
in
all of the file headers, is this then stored in the control file which
would
allow for use of older archive log files? Is the software *really* that
smart?
Tom Mercadante
Oracle Certified Professional
-----Original Message-----
Sent: Tuesday, July 09, 2002 4:15 PM
To: Multiple recipients of list ORACLE-L
file"
Dick,
Opening with 'RESET LOGS' should only be needed after an incomplete recovery.
At this point you would need to make a *cold* backup.
I'm sure to catch flames for that last statement, but I don't care, I'll stand my ground.
Jared
dgoulet_at_vicr.com
Sent by: root_at_fatcity.com
07/09/2002 08:18 AM
Please respond to ORACLE-L
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
cc: Subject: Re[2]: What is the point to use "alter databaserename file"
One other point, when recreating the control file you many times have to
do a
resetlogs at the end which invalidates all of your previous backups. I
for one
hate to loose any avenue to a recovery if needed. Actually I hate
anything that
forces me to rebuild the control file(s), you can loose too much history
that
way. Now I will admit it would be one great enhancement to the command if
the
kernel would then move the datafile for you. Of course it would be good
if drop
tablespace also cleaned up after itself, but then that's a 9i feature,
only if
you have a storage vendor who supports Oracle's OMF API.
Dick Goulet
____________________Reply Separator____________________ Author: Rachel Carmichael <wisernet100_at_yahoo.com> Date: 7/9/2002 5:58 AM
well, I can think of one off the top of my head -- your way the database has to be shutdown.
using alter database rename file you can just take the tablespace that owns that datafile offline and do the work. All users who don't need that particular tablespace are not affected.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Rachel Carmichael INET: wisernet100_at_yahoo.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: dgoulet_at_vicr.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: Jared.Still_at_radisys.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Mercadante, Thomas F INET: NDATFM_at_labor.state.ny.us Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: Jared.Still_at_radisys.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Tue Jul 09 2002 - 15:51:15 CDT