change the destination of the journal archive
Hello10 g R2 on Windows
I have this:
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination P:\oracle\product\10.2.0\db_1\RDBMS
And:NAME TYPE VALUE
------------------------------------ ----------- --------------------------
db_create_online_log_dest_5 string
db_recovery_file_dest string
db_recovery_file_dest_size big integer 0
log_archive_dest string
log_archive_dest_1 string
log_archive_dest_10 string
log_archive_dest_2 string
log_archive_dest_3 string
log_archive_dest_4 string
log_archive_dest_5 string
log_archive_dest_6 string
NAME TYPE VALUE
------------------------------------ ----------- --------------------------
log_archive_dest_7 string
standby_archive_dest string %ORACLE_HOME%\RDBMS
How can I change the destination?Thank you.
Or:
LOG_ARCHIVE_DEST = 'new location'
LOG_ARCHIVE_DEST_1 = 'LOCATION=new location'
Please take a look in the doc:
http://download.Oracle.com/docs/CD/B19306_01/server.102/b14231/archredo.htm#sthref1059
Nicolas.
Tags: Database
Similar Questions
-
Hi all
I am trying to automate an archive restore the logs, but I'm getting confused with the path.
I put the path of the newspaper archive in sql as C:\JFBBackup more
It creates a unique file for each sequence.SQL> archive log list; Database log mode Archive Mode Automatic archival Enabled Archive destination C:\JFBBackup Oldest online log sequence 46 Next log sequence to archive 48 Current log sequence 48
Now RMAN shows a different path as a single file: C:\APP\ADMINISTRATOR\PRODUCT\11.1.0\DB_1\DATABASE\20LIO9RS_1_1
I use dbms_backup_restore.restoreBackupPiece but I need to have the only log files in a separate folder in order to get the name of the file, create my sql file and restore in my REMOTE zone.RMAN> list backup of archivelog all; List of Backup Sets =================== BS Key Size Device Type Elapsed Time Completion Time ------- ---------- ----------- ------------ --------------- 60 98.72M DISK 00:00:09 14-JUL-10 BP Key: 60 Status: AVAILABLE Compressed: NO Tag: TAG20100714T061940 Piece Name: C:\APP\ADMINISTRATOR\PRODUCT\11.1.0\DB_1\DATABASE\20LIO9RS_1_1 List of Archived Logs in backup set 60 Thrd Seq Low SCN Low Time Next SCN Next Time ---- ------- ---------- --------- ---------- --------- 1 45 1577060 13-JUL-10 1611007 13-JUL-10 1 46 1611007 13-JUL-10 1644153 14-JUL-10 1 47 1644153 14-JUL-10 1649121 14-JUL-10
I try to use the single file is create it on my way to C:\JFBbackup, but it does not work.
Any ideas?
Thank you
JohnnyRun {}
allocate channels ch1 device type of disk.
SQL 'alter system archive log current';
{backup format ' / oracle/rman_backup/RMAN_ARCH_SMS <%s:%t:%p>.bkp' archivelog all; < br / >}you can set a specific path for backup RMAN of the journal archive. Use this script
regards < br / > Asif Kabir
-
11g r1 and destination of the journal Archive
Hello
Platform:
=====
OS: Linux 2.6.18 - 92.el5 #1 SMP xxx.xxx.com kills Apr 29 13:16:15 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
DB: Oracle Database 11 g Enterprise Edition Release 11.1.0.6.0 - 64 bit Production
::::::
::::::
Question:
====
I put "db_recovery_file_dest" and I can see the files of archive log go to the flash_recovery_area.
But what I'm confused is, at the same time a second pair of Archive Log file goes to my $ORACLE_HOME/dbs location. I have not defined any log_archive_dest or more.
Why do I have two sets of files to archive log (one will Flash_Recovery_area and the other $ORACLE_HOME/dbs)?
LilyIn 11.1.0.6 log_archive_dest_1 wrote in $ORACLE_HOME/dbs/default, and log_archive_dest_10 wrote to default db_recovery_file_dest. You can watch v$ archive_dest to see where things are actually be written.
You can change the FRA log_archive_dest_1:
alter system set log_archive_dest_1='location=USE_DB_RECOVERY_FILE_DEST' scope=both;
I think that it is in fact a bug, but I don't have a practical number.
Kind regards
Jeremiah Wilton
Blue Gecko, Inc.
[http://www.bluegecko.net | http://www.bluegecko.net] -
Automatic removal of the journal archive from a single location to multiple locations.
Hello
I'm under the 11r1 version database.
I put two locations of journal archive. now, I want to archive logs to be deleted through RMAN from a location that the other location should not be affected. What are specific to define parameters. Is there a specific for this command please advise.
Thanks in advance.
If you see Hemant response in the link, below, he showed how to remove records of 1 place.
-
destination of the journal Archive
Hello
I use both CARS on asm, 11 GR 2, nodes
start using RMAN.
Maybe it's not possible, but if it is, please tell is it possible to have a place to generate archives log files and the other
for RMAN backupsets?
I'm knowing have archivelogs on ASM storage, where are the files of data, then RMAN to make his backupset on the local drive on one of the nodes.
is this possible?Put the archiving log in ASM DiskGroup to use
in the parameter LOG_ARCHIVE_DEST = + DATA/PROD/ARCH hall
to take backup in/u01/backupset/in the script or command in RMAN backup, use this
RMAN > BACKUP DATABASE FORMAT ' / u01/backupset/%d';
-
error control point for the journal Archive
Can someone tell me why I get the following errors in the information in the diary of alerts?
I need to increase my log_checkpoint_timeout?Fri Nov 20 13:30:09 2009 ALTER SYSTEM ARCHIVE LOG Thread 1 cannot allocate new log, sequence 353 Checkpoint not complete Current log# 4 seq# 352 mem# 0: /u01/oradata/psprod/redo04a.rdo Current log# 4 seq# 352 mem# 1: /u02/oradata/psprod/redo04b.rdo Thread 1 advanced to log sequence 353 (LGWR switch) Current log# 1 seq# 353 mem# 0: /u01/oradata/psprod/redo01a.rdo Current log# 1 seq# 353 mem# 1: /u02/oradata/psprod/redo01b.rdo
Oracle v.11.1.0.7NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ db_block_checking string FALSE db_block_checksum string TYPICAL log_checkpoint_interval integer 0 log_checkpoint_timeout integer 1800 log_checkpoints_to_alert boolean FALSE
Thank you.First of all, thank you for taking my comment or the constructively. And 2nd, I apologize if you found my comment as rude, I didn't do it. The line I wrote "let oracle docs to be your friend" is a sentense I always use and used as you requested that you need a reference where it says to use FSMTT only as the other parameters. This is why I gave the link to the doc and tried to cnvey the message that its documented. This was my intention. I try to stay away from making personal comments of any kind. I aplogize if I seem disrespectful to you. I know most certainly not in a position that I can act like one all-knowing-expert and less than other disrespectnig.
Yes, he did sound that does not (and do not) read the docs, based again on the question you asked. Normally what I observe is tht if someone has a habit of reading docs, he finds the right to answeer, at least as to the questions as a reference parameter. This caused my assumption that I was wrong about the base.
I agree with your points. If one reads the Google search results, he should be able to seggregate of chafff wheat, who; s everything I say all the time. And readnig docs shows abot it. Docs being long and boring, I agree.
It's a lot of work for a day and it probably means, I know very less compared to you :-).
in any case, hope you understood my point of view and all the dust is clear now. So I guess, I should sayas member colleagues, welcome to the forums otn forums! :-) .
See you soon
Aman... -
destination of the newspaper Archive of current location to new location
Hello
I want to change my destination of the newspaper archive of current location to new location. Can you please give me the steps to change the destination of the journal archiveNo need to bounce the database.
SQL > alter system switch logfile;
and check the path to the new log archiving in this specific directory.
Concerning
Asif Kabir -
How to remove all of the newspaper archives I saved just
Hello
I already configure my RMAN as below, and I want to delete the journal Archive I backed everything up.
CONFIGURE CONTROLFILE AUTOBACKUP ON;
-1-
create rcat_orcl user identified by orcl123;
Select username from dba_users where username like "RCA % ';
--2- -
Grant connect, resources, recovery_catalog_owner to rcat_orcl.
-3-
create tablespace rcat_orcl datafile ' / u01/app/oracle/oradata/orcl/rcat_orcl0.dbf'
Size 2G
autoextend on MAXSIZE UNLIMITED;
--4--
alter user default tablespace rcat_orcl rcat_orcl;
--5--
change the quota of rcat_orcl unlimited user on rcat_orcl.
--6--
$ rman catalog=rcat_orcl/orcl123@orcl
--7 ---
RMAN > CREATE CATALOG.
--8--
rman target $ / catalog=rcat_orcl/orcl123@orcl
--9--
RMAN > REGISTER DATABASE;
then I create an automatic backup script
VI rman_bkup_10g.ksh
RMAN target sys/sys_pass@orcl catalog rcat_orcl/orcl123@orcl @ ' / u01/ctrlfile/full_bkup.
output
VI full_bkup
run
{
affect the disc type channel dsk format ' / backups/rman/%n%M%D%Y%s%U.bak';
backup incremental level 0 = rman_10 filesperset = 5 DB tag include current controlfile;
}
"exit";
any help please... DELETE ALL ENTRIES...
http://download.Oracle.com/docs/CD/E11882_01/backup.112/e10643/rcmsynta007.htm#i78895
-
changing the property index for all indexes of a model (OSDM 3.1 EA1)
Is it possible to mass change to one of the properties of all the indexes in the model?
For example, I have a data model with large number of indices.
I created all these indexes with the clause of logging set to 'yes '.
If I want to change to 'No', is there a way to do it without having to change the properties of each individual index?
Can I use model index here? If Yes, can you please provide details on exactly how to use in this scenario?Hello
The way to do is to change the JOURNALING property on one of the indexes.
Reopen the Index on the Index Properties dialog box, then click on the button "propagate the properties.The dialog box properties of spread, deselect all properties with the exception of the journaling property and use "Select all" in the section 'Objects' of the dialog box to select all indexes updated.
Index of models are used when the new indexes are created. You can use an Index model in order to have all new index you add logging set to 'no '.
David
-
changing the location of the log archiving PLZ flash recovery area HELP!
Hi all
My journal archive is stored in an area of memory flash that got the full and the production server is down.
Details of the alerts log file...
I deleted the files and started the database,ORA-19809: limit exceeded for recovery files ORA-19804: cannot reclaim 43432960 bytes disk space from 2147483648 limit *** 2010-04-25 14:22:49.777 62692 kcrr.c ARCH: Error 19809 Creating archive log file to '/oracle/product/10.2.0/flash_rec overy_area/EDWREP/archivelog/2010_04_25/o1_mf_1_232_%u_.arc' *** 2010-04-25 14:22:49.777 60970 kcrr.c kcrrfail: dest:10 err:19809 force:0 blast:1
Can a good person kindly tell me how to avoid this problem in the future by keeping the destination of the newspaper archive in the flash recovery area.
I want to change the location of the files to archive log, can someone ' a please guide me about hiow to do
I changed the size of the area of recovery flash for now, but I fear that it will be again!
Kind regardsSQL> select * from v$flash_recovery_area_usage; FILE_TYPE PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES ------------ ------------------ ------------------------- --------------- CONTROLFILE 0 0 0 ONLINELOG 0 0 0 ARCHIVELOG 99.44 0 57 BACKUPPIECE 0 0 0 IMAGECOPY 0 0 0 FLASHBACKLOG 0 0 0 6 rows selected. SQL> alter system set DB_RECOVERY_FILE_DEST_SIZE = 4G ; System altered. SQL> select * from v$flash_recovery_area_usage; FILE_TYPE PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES ------------ ------------------ ------------------------- --------------- CONTROLFILE 0 0 0 ONLINELOG 0 0 0 ARCHIVELOG 49.72 0 57 BACKUPPIECE 0 0 0 IMAGECOPY 0 0 0 FLASHBACKLOG 0 0 0 6 rows selected.
Published by: user10243788 on April 25, 2010 06:12following steps should be ok
(1) create pfile from spfile;
(2) remove the unnecessary params
(3) configure log_archive_dest_1
Note: do not remove the db_recovery_file_dest, db_recovery_file_dest_size, and parameters. they may be required at another time
(4) stop and start your database using this new pfile
(5) check if the archives are in one place
(6) create spfile and bounce database to ensure that it uses spfilePlease try all the steps test env first and go ahead in the event of success, to production
-
How do I change the log mode archive in 12 c
Hello
[oracle@localhost Desktop] $ rman
Recovery Manager: release 12.1.0.2.0 - Production on Mon May 4 00:38:33 2015
Copyright (c) 1982, 2014, Oracle and/or its affiliates. All rights reserved.
RMAN > Connect target sys/oracle@cdb1
connected to target database: CDB1 (DBID = 828012650)
RMAN > backup database;
From backup may 4, 15
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID = 284 type device = DISK
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the backup command at 04/05/2015 00:38:51
RMAN-06149: cannot BACKUP of DATABASE in NOARCHIVELOG mode
RMAN > exit
Complete recovery manager.
[oracle@localhost Desktop] $ sqlplus
SQL * more: Production release 12.1.0.2.0 on Mon May 4 00:38:57 2015
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Enter the user name: sys as sysdba
Enter the password:
Connected to:
Database Oracle 12 c Enterprise Edition Release 12.1.0.2.0 - 64 bit Production
With the options of partitioning, OLAP, advanced analytics and Real Application Testing
SQL > shutdown immediate;
Connectable to closed database.
SQL > startup nomount;
SQL > startup;
Connectable to open database.
SQL >
Please tell me how to change the mode of journal archive in db oracle 12.1.0.2.0
Please tell me how to change the mode of journal archive in db oracle 12.1.0.2.0
Please mark the thread ANSWERED and repost it in the forum shared.
Before you repost again the "Archiving for control" secion of the Oracle documentation
http://docs.Oracle.com/database/121/Admin/archredo.htm#i1006208
Archiving control
This section describes how to set the mode of the database archiving and control the archiving process. The authors discuss the following topics:
This article shows you step by step how to change the mode of journal archive.
-
How to move from Data Guard time really apply (restore) to archive the journal
Hello
Standby database configured with broker and application really remake in time; However, I want to change it to archive the journal apply mode without losing the broker configuration. Is this possible? If it is not possible to use the broker to make archive log apply, I can remove the broker and use Data Guard to set up the day before to use the archive log apply?
ConcerningHello;
Broker automatically allows real-time applies to databases on hold if the standby database has standby redo logs configured.
Stop repeat applies
DGMGRL> EDIT DATABASE 'PRIMARY' SET STATE='APPLY-OFF';
Repeat restart applies broker
DGMGRL> EDIT DATABASE 'PRIMARY' SET STATE='APPLY-ON';
In order to get rid of standby redo logs would be a way. I would like to leave myself alone. Real time assistance to prevent the loss of data.
Best regards
mseberg
-
change the location of the log archive
Hello
DB is 9.2.0.7
Operating system is HP - UX 11.23
Log_archive_dest = archivelogs/backup /.
This site is located on a single hard drive.
When this disc goes down, database stops. Need to change the location to another drive online.
I have a procedure to follow
SQL > change the start of the archive log system of ' < nouvel_emplacement >;
Once the disc problem is resolved.
back from the old location.
-----
what you guys think... any other procedure
Note: I'm just asking questions about my practical purpose. in practice, we will put the location of the newspaper archive in the mirrored partition or archive 2 destinations.oradba2,
You're still using log_archive_dest. You are running Enterprise or Standard?
When you run Enterprise, you must use log_archive_dest_1, log_archive_dest_2 etc.And you must archive log start!
Just alter system set log_archive_dest (_) will do the trick. --------
Sybrand Bakker
Senior Oracle DBA -
Change the download destination
I use Firefox for the Android system. I can't change my destination file. (It still downloads to "downloads"). Is it possible to solve this issue? TKS
I don't know if there is a very easy way to do it, but this response explains how to change the path by topic: config.
-
I download a lot of PDF files and I organize their file name. I want to record on my computer to read later. When I have a PDF document is opened in the browser, it's particularly embarrassing. As it is, I have two options:
Save the file:
This automatically sends the file to a temporary folder to download, which Windows will not let me access without memorizing the exact location. It also saves automatically under the default file name, I never keep. If I use this option, I have to go back and manually move the file in my documents and rename it.Open the file:
This opens the file in a new window from Adobe (while simultaneously recording to the same temporary folder). I have to open the file in the browser, and then open it in a new window, then hit save slot, then PDF, then change the destination folder (because the default value is the temp folder) and name of the file.Please, give me manual control of downloads! I want just a save as option.
Is it possible to right click on the download link and use Save Link as...?
Who will have the choice of "off-site" hands of Adobe.
Maybe you are looking for
-
iPad Pro bettery and charger voltage
HI, I have an iPad Pro 12 "and on the charger its written 5.2V and 2. 4A. I would like to ask - is it ok to charge my iPad with a 5V 2. 4A charger? It is harmful to the battery in the long term? Appreciate your help.
-
Satellite A300-1F0: WLan shuts off frequently
Hello! A few months ago, I bought a toshiba Satellite A300-1F0, everything is perfect except that the wireless connection off frequently with no reason...In fact, the wifi connection displays an error "limited or no connectivity ' and the only way I
-
cannot find Visatask in 'Add new item in VS2008' using studio measure 8.6
I installed VS2008, VISA and Measurement Studio 8.6 (with visa.net library). When I run a new application in vs2008, I can't chose to don't ask world but the only visa application. I can't find job Visa when I go to add a new item in vs2008. Please h
-
I use Windows Vista Home Premium 32 - bit SP2. Is there a way to delete the records of 'detail' of only updates of failure or cancelled in the history of Windows Update? I just installed hotfix for Windows (KB947821). It looks like a lot of my earlie
-
Reg: Validation for numarics... in PasswordEditField.
Hello I want to validate PasswordEditField, in it I want accecpt only digits (0-9). How to do this... Y at - it all parameters to be used for the validation of the PasswordEditFieldfigures. Please suggest me... Here is my code for PasswordEditField.