To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here

HOME 11g Central 10g Central 9i Central 8i Central Oracle News Scripts FAQ OCP Zone Resources Database Journal

Go Back   DBAsupport.com Forums > Oracle Forums > Oracle Database Administration

Reply Post New Thread
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-03-2010, 12:51 PM
Pimpelmee Pimpelmee is offline
Junior Member
 
Join Date: Feb 2010
Posts: 2
Question How to move archived logfiles and make the db aware?

Hi there,

I've renamed an Oracle database, using the DBNEWID utility. After that, the original folder names -of course- don't match this new name. So I had to rename the folders, to minimize confusion.

This renaming involved renaming the datafiles, renaming the (redo) log files, adjusting DUMP parameters and last but not least renaming the archivelog destination.

Now, I renamed the log_archive_dest parameter and new created archive log files got written to that new location. However, I want to move the older archive log files also to this new folder. I can do this using regular OS tools.

Question: the entries in v$archived_log still point to the old location. This would most likely cause problems in case of a recovery of the database. How can I make the database aware of this new location for the old archive log files?
Reply With Quote
  #2  
Old 02-03-2010, 01:07 PM
davey23uk davey23uk is offline
Senior Advisor
 
Join Date: Sep 2002
Location: England
Posts: 7,202
if you used dbnewid those old archives are useless anyway, so no matter about what location they are, they cannot be used
Reply With Quote
  #3  
Old 02-03-2010, 01:12 PM
Pimpelmee Pimpelmee is offline
Junior Member
 
Join Date: Feb 2010
Posts: 2
Ah yes, know that. Sorry, forgot to mention that the database name-change took place some weeks ago and the folder renaming is about to take place (yes I know, not all too smart). So since the renaming there have been new archive log files created. And these are not useless.
Reply With Quote
Reply Post New Thread

Bookmarks

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump


All times are GMT -4. The time now is 11:19 PM.


DBAsupport.com Recent Articles


 » Examining the Oracle 10053 Trace Event Dump File

 » I/O Performance Tuning Tools for Oracle 11gR2

 » Solve Database Performance Tuning Problems

 » Regain Control of Your Oracle Database

 » Oracle Database 11gR2 I/O Performance Tuning

Search DBAsupport:
 


Click Here to Expand Forum to Full Width










Acceptable Use Policy

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.