Spend my DB no Archive Log Mode 11 g

I have a big database running on release of oracle 11g 2 with a large number of users and huge daily transactions running in archivelog mode, I will change the mode of the database in any mode of journal archive

the following steps: -.

SQL > shutdown immediate

SQL > startup mount

SQL > alter database noarchivelog;

SQL > alter database open;


is there a risk to do

can the database after change in noarchivelog mode, could not be opened?

What are the reserves to take before doing this work?


Thank you very much.

Hello

I think that you must not need change size of db recovery file destination.
You must use the parameter log_archive_dest_n with LOCATION, witch's location is your destination to archive.
Log_archive_dest_1 default value is use_db_recovery_file_dest, you must change this value.

If you do not need to archive newspapers, then you can remove all the recovery logs archived after backup with RMAN.

  RMAN> backup database plus archivelog delet all  input;

Thank you
Mr. Mahir Quluzade
http://www.Mahir-quluzade.com

Tags: Database

Similar Questions

  • Archive log mode off

    Hi DBA guys, have a good day all

    If I change the log mode archive no mode of archive log, internally, whats happen to my database?

    Is this old archive log backup for the future so new convert no Archives to the Archives of the journal mode?

    What is happen flashback if I change the log mode archive no mode of archive log?


    Concerning

    S.Azar

    azarmohds wrote:
    Thank you very much

    why I asked this question of means, rightnow you posted, this characteristic of 10 GB i.e flashback database configured when the log mode archive is enabled, then in this case

    What is happen flashback if I change the log mode archive no mode of archive log?

    S.Azar,

    You must be clear about the things that when you read the web notes, there may be an incompatibility of the language. The best is first, that research on the oracle documentation.

    Now on your doubt, it is a mismatch of terminology that happens here. To enable Flashback Database that is a copy more persistent undo data, stored separately in an FLB file, you must have configured in your db in archivelog mode. Without this, you cannot enable the Flashback Database feature. And you cannot switch noarchive log mode as well if you have the Flashback Database mode on.

    The other thing (that I guess Anurag mention) is the normal function of Flashback that relies on the Undo data stored in the undo tablespace. Only, this is based on the undo data and doesn't depend on the mode of journal archive / nonarchive of the database. But it is limited to these data and this period of time up to which you can store the undo data in your undo tablespace.

    HTH
    Aman...

  • Archive log Mode

    I have had a look online and have found a few resources to activate the Log Archive Mode for an Oracle database via sqlplus.

    Can I please have some help to do this through the Manager of the company?

    Date of arrival:
    Set the Archivelog Mode in OEM

  • Archive log mode in oracle 10g on windows environment

    Hi all

    I have a data base (Oracle 10 g 10.2.0.1.0) on windows 2003 server. yesterday, I put the database in archivelog mode. When I ask spfile location displayed in the location ORACLE_HOME\dbs.
    but when I created pfile using the spfile she is created at the location ORACLE_HOME\database. and there is also an another spfile. I put the log_archive_dest to one location other than flash_recovery_area in pfile, but it is to show the DB_RECOVER_AREA.

    today i saw archives created in these two places.

    can a database cause two spfiles. and work on them?

    can I remove a spfile to /dbs location.

    pls give me suggestion to remedy this

    Thank you and best regards.

    785092 wrote:
    Hi all

    I have a data base (Oracle 10 g 10.2.0.1.0) on windows 2003 server. yesterday, I put the database in archivelog mode. When I ask spfile location displayed in the location ORACLE_HOME\dbs.
    but when I created pfile using the spfile she is created at the location ORACLE_HOME\database. and there is also an another spfile. I put the log_archive_dest to one location other than flash_recovery_area in pfile, but it is to show the DB_RECOVER_AREA.

    today i saw archives created in these two places.

    can a database cause two spfiles. and work on them?

    can I remove a spfile to /dbs location.

    pls give me suggestion to remedy this

    Thank you and best regards.

    Show us the cut and paste the sql prompt, the output display,

    show parameter archive
    show parameter spfile
    

    Under Windows, the database file is the work one, dbs is designed for * nix systems. Then a former will work and is supposed to be used by oracle. Show us the output of the commands above so that we can see exactly what is happening.

    Aman...

  • flashback vs archive log mode

    I want to ask is at - there a relationship between the return of flame and the ARCHIVELOG Mode;

    I want to say if I go to the mode NOARCHIVELOG can I use flashback DATABASE features

    Thank you

    fadiwilliam wrote:
    I want to ask is at - there a relationship between the return of flame and the ARCHIVELOG Mode;

    I want to say if I go to the mode NOARCHIVELOG can I use flashback DATABASE features

    Thank you

    N ° so that the flashback is enabled on the database, you must have your database works Archivelog mode.

    Refer to this http://docs.oracle.com/cd/B28359_01/appdev.111/b28424/adfns_flashback.htm

    fadiwilliam
         
    Handle: fadiwilliam
    Status level: Beginner
    Join date: December 15, 2000
    Messages total: 37
    Total Questions: 13 (10 open)
    Fadi name william

    Please consider closing your questions by providing appropriate points and marking them as answered. Please clean the forum!

  • change log mode archive without closing the database

    Hi all

    Is it possible to put the database in archive log mode before you shut down the database, and when the database stops and starts, the database should automatically be in log mode archive?

    because we cannot stop the database in the days of the week and we have system restart the weekend and we are not here this day here. So is there a way to set the database in the log archiving across the memory so that each restart of the database, it should start automatically in log mode archive.

    my environment is windows server 2008 R2 with oracle 11.2.0.3

    Thanks in advance.

    Published by: 931643 on 5 December 2012 10:37

    931643 wrote:
    Thanks for the reply Max Seleznev,

    First of all I thought to write the script to include in this process. But we cannot run all the commands in the sqlplus using windows task. for example:

    You can write a batchfile as below:

    CD.
    sqlplus / as sysdba
    Select name, open_mode from v$ database;

    When you run this, it will open up to sqlplus prompt but then will not run the query.

    This is the reason why I am to know if there is another way.

    Thank you

    When you do things wrong, you do not get the desired results

    Please desired SQL in a separate file (run.sql), then proceed as below

    sqlplus scott/tiger @run.sql

  • No log mode archive audit...

    Dear Sir

    I use Oracle 10.2 database journal Archive No. mode.

    Can someone me... Check what options are available in no. Archive Log mode?

    Kind regards.

    the audit is independent of no archivelog mode. You can level with or without archivelog mode.

    Please check:
    http://www.Oracle-base.com/articles/10G/auditing-10gR2.php

  • Removal of the Archive Log files

    Hello

    I put my test DB to archive log mode and it generated 10 GB of archivelog files and the server ran out of space!
    So I reset the newspapers, the DB value no. Archive Log and deleted the files from the server through the shell.

    However,.
    If I select * from v$ archived_log
    Oracle, DBMS thinks that the files are still there.

    Where can I remove these filed from the RDBMS?


    ---
    OS version:
    Linux CentOS 5.4 (Final) output


    RDBMS version:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - production
    PL/SQL Release 10.2.0.4.0 - Production
    "CORE 10.2.0.4.0 Production."
    AMT for Linux: release 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production

    delete the logs of the archives at the OS level will not make your database the missing note

    connecting to RMAN:

    rman target $ /.

    run an overlap in RMAN:

    RMAN > overlap archivelog all;

    It happens that the entries are EXPIRED, so remove them:

    RMAN > delete all. expired archivelog

  • A copy of recovery/db + archive logs

    Hi champions.
    There is a confusion in the recovery of a database. Version 10g.
    I have a hot (using the copy command) of a database backup (mode of journal archive) I took to 22.00.00 on Sunday.
    Now, my database is up and running Monday, Tuesday, Wednesday in archive log mode. Since the last backup .and (Sunday 10 pm) my database got crashed Wednesday 14.00 completely lost everything (CDR files) archive logs only is with me, I have the newspaper archive...
    Can I recover my database using the backup from Sunday + newsletter archive until it crashed.
    Kind regards
    Shitesh Shukla

    If you have an old backup of the controlfile, you use restore database with backup cotrolfile to cancel. Backup Controlfile as of old, he would keep asking for the archivelogs to provide for backup if you need to cancel the recovery.

    HTH
    Aman...

  • How to activate the log mode archive in oracle database 11 g 2

    Hi all

    I hope that you all are doing well.

    I want to activate the archiving log in my version of the database 11.2.0.4.0 safely.

    Why safely because my database works fine now.

    Windows 8.1 - OS 64 bit.

    Please provide the correct steps

    so that the work of database and schema can not lose more after that the archive log is enabled.

    Thank you all for your response.

    I followed the thread How to archivelog mode

    Measures

    -----

    SQL > archive log list

    SQL > show parameter db_recovery_file

    SQL > alter system set db_recovery_file_dest_size = 10G scope = the two sid ='* ';

    SQL > shutdown immediate

    SQL > bootable media.

    SQL > alter archivelog database;

    SQL > alter database open;

    She is successful.

  • Data Guard - RMAN removing archive log

    Hello

    I ' v DataGuard with physical standby.

    I do a backup only on the primaries. Both sites have ther separate backup systems.

    I ' v FRA and configured archivelog deletion with RMAN configuration:

    on primary: CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;

    standby: CONFIGURE ARCHIVELOG DELETION POLICY to APPLY ON STANDBY;

    It works fine but I think what if scenarios and I'v qestion on best practices for backup after the transition of role management. Let's say that for some reason, as i'v in switch mode sleep for a few days and the backup will be posible to watch (now primary) database. What would be the steps/reconfiguration appropriate to do?

    1 should I reconfigure RMAN?

    change of new primary to: CONFIGURE ARCHIVELOG DELETION POLICY TO NONE;

    change back to sleep again: CONFIGURE ARCHIVELOG DELETION POLICY to APPLY ON STANDBY;

    2. make full backup

    Hello

    1. you can refer to the oracle documentation: http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmconfb.htm#CHDCFHBG

    section: "all archived Redo Log deletion policy."

    Document provides the best algorithm to analysis of work

    You can use the CONFIGURE ARCHIVELOG DELETION POLICY BACKED UP integer TIMES TO DEVICE TYPE command to allow a policy of removal of archived newspaper. This configuration specifies that archived newspapers are eligible for deletion only when the specified number of archived log backups exist on the specified device type.


    If the deletion policy is configured with the BACKED UP integer TIMES clause, then a BACKUP ARCHIVELOG , the command copy newspapers, unless integer already exist on the specified device type backups. If integer are backups of logs, then the BACKUP ARCHIVELOG command ignores the newspapers. In this way, the deletion of archived newspaper policy works as a default NOT BACKED UP integer TIMES clause on the BACKUP ARCHIVELOG command. Note that you can override the deletion policy by specifying the FORCE option on the BACKUP command.

    The deletion of archived newspaper policy has also options specific to an environment Data Guard. , then RMAN can delete logs after they have been applied to all destinations remote mandatory. If you specify SHIPPED TO STANDBY , for example, then RMAN can remove log files when they were transferred to all destinations of mandatory relief.

    2. the paper provides good information, just to check and decide easily based on the functionality of the database role you can configure.

    It will be useful.

    -Thank you

    Pavan Kumar N

  • Recovery media - cannot find the archived log

    Oracle 10g Release 2

    Database works in mode noarchive - isn't my choice, so I'm stuck with it.

    SQL> select startup_time,status,database_status from v$instance;
    
    STARTUP_T STATUS       DATABASE_STATUS
    --------- ------------ -----------------
    20-AUG-15 MOUNTED      ACTIVE
    
    SQL> alter database open;
    alter database open
    *
    ERROR at line 1:
    ORA-01113: file 2 needs media recovery
    ORA-01110: data file 2: '/ads/database06/oracle/oradata/ODB1/UNDOTBS03.dbf'
    
    SQL> recover datafile '/ads/database06/oracle/oradata/ODB1/UNDOTBS03.dbf';
    ORA-00279: change 24699944499 generated at 08/08/2015 01:07:04 needed for thread 1
    ORA-00289: suggestion :
    /oracle/product/10.2.0/flash_recovery_area/ODB1/archivelog/2015_08_21/o1_mf_1_698472_%u_.arc
    ORA-00280: change 24699944499 for thread 1 is in sequence #698472
    
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    
    ORA-00308: cannot open archived log
    '/oracle/product/10.2.0/flash_recovery_area/ODB1/archivelog/2015_08_21/o1_mf_1_698472_%u_.arc'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    
    $ cd /oracle/product/10.2.0/flash_recovery_area/ODB1/archivelog/2015_08_21
    
    $ ls o1_mf_1_698472_%u_.arc
    o1_mf_1_698472_%u_.arc: No such file or directory
    
    The entire directory is empty.
    

    There is no data for August 21, 2015, the database is offline for a few days.

    The database has been cloned by the system administrator, so nobody was on this database. New server.

    orclrunner wrote:

    That was my thought as well. They have made a copy ' hot' all the files. I think they should have stop the database before copying files.

    a ' hot' copy can succeed but each tablespace must have been in online BACKUP before doing the copy of OS files.

    With DB mode noarchive, a copy hot may or may not succeed according to the DML activity & duration of the COPY

    It's better to STOP NOW before copy of OS

  • Archive log list does not sequence of current journal is awaiting data base

    Hi all

    So I tried waiting for database physical installation in my local vm.

    I apparently completed the Setup, but I am facing a problem which I cannot understand.

    OS:-Linux 6.4

    Oracle version: 12.1.0.2.0

    primary data: ORA12C

    backup database: ORASTD

    Primary database: -.

    SYS@ORA12C > list of archive logs;

    Database log mode Archive Mode

    Active AutoArchive

    Archives/u01/app/oracle/fast_recovery_area of destination

    More old sequence of journal online 14

    Log sequence archive 16

    Current log sequence 16

    SYS@ORA12C > select name, database_role, controlfile_type from v$ database;

    NAME DATABASE_ROLE CONTROL

    --------- ---------------- -------

    ORA12C CURRENT PRIMARY

    SYS@ORA12C > select the sequence #, first_time, next_time, applied from v$ archived_log;

    FIRST_TIM SEQUENCE NEXT_TIME # APPLIED

    ---------- --------- --------- ---------

    4 15 APRIL 15 APRIL 16 15 NO.

    4 15 APRIL 15 APRIL 16, 15 YES

    5 16 APRIL 15 APRIL 16 15 NO.

    5 16 APRIL 15 APRIL 16, 15 YES

    6 16 APRIL 15 APRIL 16 15 NO.

    6 16 APRIL 15 APRIL 16, 15 YES

    7 16 APRIL 15 APRIL 16 15 NO.

    7 16 APRIL 15 APRIL 16, 15 YES

    8 16 APRIL 15 APRIL 16 15 NO.

    8 16 APRIL 15 APRIL 16, 15 YES

    9 16 APRIL 15 APRIL 16 15 NO.

    FIRST_TIM SEQUENCE NEXT_TIME # APPLIED

    ---------- --------- --------- ---------

    9-16 APRIL 15 APRIL 16, 15 YES

    10 16 APRIL 15 APRIL 16 15 NO.

    10-16 APRIL 15 APRIL 16, 15 YES

    11 16 APRIL 15 APRIL 16 15 NO.

    12 16 APRIL 15 APRIL 16 15 NO.

    13 16 APRIL 15 APRIL 16 15 NO.

    11-16 APRIL 15 APRIL 16, 15 YES

    12-16 APRIL 15 APRIL 16, 15 YES

    13-16 APRIL 15 APRIL 16, 15 YES

    14 16 APRIL 15 APRIL 16 15 NO.

    15 16 APRIL 15 APRIL 16 15 NO.

    FIRST_TIM SEQUENCE NEXT_TIME # APPLIED

    ---------- --------- --------- ---------

    15 16 APRIL 15 APRIL 16 15 NO.

    14-16 APRIL 15 APRIL 16, 15 YES

    Waiting for the database: -.

    Select the sequence #, first_time, next_time, applied from v$ archived_log;

    FIRST_TIM SEQUENCE NEXT_TIME # APPLIED

    ---------- --------- --------- ---------

    4 15 APRIL 15 APRIL 16, 15 YES

    5 16 APRIL 15 APRIL 16, 15 YES

    6 16 APRIL 15 APRIL 16, 15 YES

    7 16 APRIL 15 APRIL 16, 15 YES

    8 16 APRIL 15 APRIL 16, 15 YES

    9-16 APRIL 15 APRIL 16, 15 YES

    10-16 APRIL 15 APRIL 16, 15 YES

    11-16 APRIL 15 APRIL 16, 15 YES

    12-16 APRIL 15 APRIL 16, 15 YES

    13-16 APRIL 15 APRIL 16, 15 YES

    15 16 APRIL 15 16 APRIL 15 IN-MEMORY

    FIRST_TIM SEQUENCE NEXT_TIME # APPLIED

    ---------- --------- --------- ---------

    14-16 APRIL 15 APRIL 16, 15 YES

    SQL > select name, database_role, controlfile_type from v$ database;

    NAME DATABASE_ROLE CONTROL

    --------- ---------------- -------

    PHYSICAL STANDBY ORA12C STANDBY

    SQL > archive logs list;

    Database log mode Archive Mode

    Active AutoArchive

    Archives/u01/app/oracle/fast_recovery_area of destination

    More old sequence of journal online 0

    Log sequence to archive 0

    Current log sequence 0

    Now, here's my question is why the sequence of current newspapers shows 0. I tested the datas

    database primary eve happens again. I'm totally out of index.

    I tried to find it on google but nothing could help me until now.

    Any kind of help would be very appreciated.

    Thank you

    Soumya

    Hello

    I am also testing in Data Guard 12.1 configurations.

    Oracle support response is "it seems therefore that this information be removed.

    So is the best way to check on the database pending:

    SQL > select thread #, max(sequence#) ' last day before Seq received. "

    v $ archived_log val, v$ database vdb

    where val.resetlogs_change # = vdb.resetlogs_change #.

    Group thread # order by 1;

    SQL > select thread #, max(sequence#) ' last day before Seq applied.

    v $ archived_log val, v$ database vdb

    where val.resetlogs_change # = vdb.resetlogs_change #.

    and val.applied in ('YES', "IN-MEMORY")

    Group thread # order by 1;

    concerning

  • Oracle database archive logs

    Hi all

    I searched the Oracle and Internet Documents. It is really hard to get information on the management of the archive Log, so I thought to post it here:

    Now, our Database 9i (EBS 11.5.x) was in no archive mode, so I allowed him to archive mode.

    Edit the pfile $ORACLE_HOME/admin/SID/pfile who will be /oracle/proddb/9.2.0/dbs/initPROD.ora

    ############################

    # Archive Log Destinations-benr(10/15/04)

    ############################

    Log_archive_dest_1 = ' location = / Uncordon / archive.

    log_archive_start = TRUE


    then connect to the database





    SQL > shutdown normal;

    SQL > startup mount exclusive;

    SQL > alter system set log_archive_start = TRUE scope = spfile;
    SQL > alter system set log_archive_dest_1='LOCATION= /oracle/archivelog '
    scope=both;
    SQL > alter archivelog database;
    SQL > CHANGE the START of the SYSTEM ARCHIVE LOG;
    SQL > alter database open;
    SQL > alter system archive log all;
    SQL > change the start of the archive log system;
    SQL > archive log start;


    The next day, I checked the location of archive and sparked an archive of 1 GB even if there is no activity on the database.

    root@test4:/oracle/archivelog>ls
    1_844.dbf   1_862.dbf   1_880.dbf   1_898.dbf   1_916.dbf   1_934.dbf
    1_845.dbf   1_863.dbf   1_881.dbf   1_899.dbf   1_917.dbf   1_935.dbf
    1_846.dbf   1_864.dbf   1_882.dbf   1_900.dbf   1_918.dbf   1_936.dbf
    1_847.dbf   1_865.dbf   1_883.dbf   1_901.dbf   1_919.dbf   1_937.dbf
    1_848.dbf   1_866.dbf   1_884.dbf   1_902.dbf   1_920.dbf   1_938.dbf
    1_849.dbf   1_867.dbf   1_885.dbf   1_903.dbf   1_921.dbf   1_939.dbf
    1_850.dbf   1_868.dbf   1_886.dbf   1_904.dbf   1_922.dbf   1_940.dbf
    1_851.dbf   1_869.dbf   1_887.dbf   1_905.dbf   1_923.dbf   1_941.dbf
    1_852.dbf   1_870.dbf   1_888.dbf   1_906.dbf   1_924.dbf   1_942.dbf
    1_853.dbf   1_871.dbf   1_889.dbf   1_907.dbf   1_925.dbf   1_943.dbf
    1_854.dbf   1_872.dbf   1_890.dbf   1_908.dbf   1_926.dbf   1_944.dbf
    1_855.dbf   1_873.dbf   1_891.dbf   1_909.dbf   1_927.dbf   1_945.dbf
    1_856.dbf   1_874.dbf   1_892.dbf   1_910.dbf   1_928.dbf   1_946.dbf
    1_857.dbf   1_875.dbf   1_893.dbf   1_911.dbf   1_929.dbf   1_947.dbf
    1_858.dbf   1_876.dbf   1_894.dbf   1_912.dbf   1_930.dbf   lost+found
    1_859.dbf   1_877.dbf   1_895.dbf   1_913.dbf   1_931.dbf   test.txt
    1_860.dbf   1_878.dbf   1_896.dbf   1_914.dbf   1_932.dbf
    1_861.dbf   1_879.dbf   1_897.dbf   1_915.dbf   1_933.dbf
    

    Question

    1. How can I delete old logs archiving without using RMAN?

    2. How should I know which Archives connects to keep and delete?

    3. is there a way to know why the database generates so many newspapers to check-in?

    Hello

    Yes, you must keep this archive. You can schedule the job to compress files to archive (record use of space) and move it to another place as a backup.

    You can schedule both COLD backup once a week, in this case it is scabies archive for a week.

    HTH

  • delete files from archive log with rman

    Hi guys,.

    I try to delete the log file archive on my backup site, but I get the following message. There are a lot of archive logs is present on the storage but rman may show that. No idea what I'm doing wrong here.

    RMAN > list archivelog all;

    specification does not match any newspaper archived in the repository

    RMAN >

    Kind regards

    Sorry about that. Its 11g 2 R (11.2.0.1) and OS Version is 2008 R2 64 bit. Sleep is in auto recovery mode. (hope this helps).

Maybe you are looking for