Solved

Move Hold Archivelog in Oracle DB

Posted on 2010-11-10
4
652 Views
Last Modified: 2013-12-19
Hi,

I have to move my archivelog directory.

So I modify the pfile to use the new directory, It work's fin, the new archive log is created on the new directory.

But i have a litle problem with my Hold logfile archive. on this views v$ARCHIVED_LOG i show that hold archivelog don't use the new directory.

It's a big problem for my backup software which try to use the hold directory.

So my question is How to say on Oracle that the old archivelog are in the new folder ?

Thanks,
Yoann

PS I use an 9iR2
0
Comment
Question by:yoyolut
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 13

Expert Comment

by:George K.
ID: 34101438
0
 
LVL 74

Accepted Solution

by:
sdstuber earned 500 total points
ID: 34101518
Simple answer: you can't.

but you don't need to.  

The v$archived_log tells you where Oracle wrote the file,  if you move, delete or modify the file once written, the database doesn't know or need to know.

The location is only important for the purposes of writing the file to backups (which the database isn't involved in)  or in the restoration of logs (in which case the database isn't up anyway and you tell the it where the files are when you do the restore)
0
 
LVL 74

Expert Comment

by:sdstuber
ID: 34101546
The location is also important for log mining, but again, if you need to do that you declare the location of the files when you begin the mining
0
 

Author Comment

by:yoyolut
ID: 34102059
ok thanks it's not possible...
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question