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...

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...

  • Installing oracle 10g on windows 7 32 bit

    Hi all

    I use windows 7 ultimate 32 bit PC... Please help me in installing oracle 10g or 11g what fits my windows 7, I tried many things but I could finish it
    I just need to do practical work in sql and pl - sql programs

    Please suggest me the path were can I download the software and tool

    Thank you
    Suresh

    You can install 11 GR 2, as you try to do.

    Another option would be 11g XE - http://www.oracle.com/technetwork/database/express-edition/downloads/index.html

    HTH
    Srini

  • Oracle 10g on Windows Vista Edition Home Premium

    Hello

    Oracle 10g DB can be installed without any problems on Windows Vista Home Premium?
    Thank you very much

    Can be installed-online Yes!

    Going to questions-online certainly YES!

    Support => absolutely NOT!

    HTH
    Aman...

  • Oracle 10g on Windows 2003. Backup suggestions

    HI guys

    Well, I know I'm asking help two former products , well, an or our old applications developed using developer suite 2000 & then migrated to 6i which can not be in a way migrated to Oracle EBS, due to financial constraints and the size of the application. We have data with this database of nearly 14 years, and we recently had a major outage due to power failure.

    We recovered the database using dump exp files (sacrificing a number of days of data) and the export made every night was our backup ONLY for the database (as defined by the solution provider). Once we recovered the database, we allowed logging of archive and automatic backups.

    This legacy application is for a service call center which is 24/7, that is to say, put the database offline and making a suggestion cold backup will receive a cold shoulder at the stage of the proposal itself. I can write Windows services that those could automatically create .zip files for entire folders of Oracle binaries in the background on demand or scheduled intervals, even copy them to the backup devices. Just curious to know how reliable is such archive files for data recovery, as I will zip binary files, while the database is online?

    Thank you and best regards,

    (1) make sure that your database is archivelog to if online backup mode does not use the RMAN tool

    Select log_mode from v database $;

    If not

    stop immediately;

    Startup mount

    ALTER database archivelog

    ALTER database open;

    (2) alter database begin backup

    After the adaptation of your database files and then

    alter database end backup;

    (3) alter database backup controlfile to

    (4) all the zip file that you backup

  • Impossible to install oracle 10g on windows XP (Virtual Box)

    Hi all

    I have installed windows XP in Virtual Box, trying to install Oracle 10 g in it. It does not start the installation... no idea about it.  I installed winrar (as the installation of 10g in rar format, due check out it).

    no problem winrar got installed, where as Oracle 10 g just don't settle... no error message is thrown...

    in fact, I installed 10g on a XP PC last week... not sure where what Miss me

    I use 'Briged adapter' network

    If anyone has experienced the same problem, please let me know...

    Florent

    Hi Srini,

    Thank you for helping me with the link to be honest, I had looked into it long back...

    Yes, the software worked just yesterday, I had installed on XP(different machine).

    I've added my PC to the domain, logged in as administrator & double clicked, even... no response.

    Finally, I used "command prompt" and it worked!   don't know how or why... but worked.

    Now my database is created successfully

    Yes would like to know why this happened... and how things worked via the command prompt & not by double clicking... would be very happy if someone can help me on this.

  • 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

  • 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

  • Oracle 10g on Windows 7: TNS-12535: TNS:operation expired

    I installed Oracle 10 g (Version 10.2.0) on Windows 7 Professional on my laptop. Everything installed correctly, but I simply can't have a communication client-Oracle course. For some reason, TNSPing guard time outside, the following:

    C:\Users\Bruce > tnsping orcl

    AMT Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 13-SEP-2
    010 17:00:09

    Copyright (c) 1997, 2005, Oracle. All rights reserved.

    Use settings files:
    F:\oracle\product\10.2.0\client_1\network\admin\sqlnet.ora


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = Office Bruce) (PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = ORCL)))
    TNS-12535: TNS:operation expired

    I use DHCP on my home network, but I have disabled the firewall for this exercise. Also, I put in place a static = 192.168.100.100 loopback connector

    Here's SQLNET. ORA:

    SQLNET. AUTHENTICATION_SERVICES = (NTS)

    NAMES. DIRECTORY_PATH = (TNSNAMES)


    Here's the TNSNAMES file. ORA:

    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = Bruce-Office)(PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    )
    )

    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))
    )
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )
    )


    This is the LISTENER. ORA:

    SID_LIST_LISTENER01 =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = F:\oracle\product\10.2.0\db_2)
    (= Extproc PROGRAM)
    )
    )

    LISTENER01 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = Bruce-portable)(PORT = 1521))
    )
    )

    Any help or advice on how to diagnose and fix this problem would be greatly appreciated!

    Thank you.

    Hi Bruce,.

    >
    My question is this: that this path should I take to install 11g?
    >

    Extract the files in a directory of your choice. The extracted files are the installation of Oracle files. You will use the installer from this directory.

    >
    (1) make a FULL install 11 g on the existing (but defective!) version 10 g?
    >

    Is not ideal. You are much better to get rid of (uninstall) 10 g.

    >
    (2) uninstall (ugh!) the existing 10g version and THEN install the full version of 11g?
    >

    Yes, certainly. This version is not yet compatible with your version of Windows. After you have installed has the potential to cause problems.

    >
    (3) simply perform an UPGRADE to 10 g - 11 g? (Which is possible using these 11 g installation files?)
    >

    No. 10g of uninstall, restart with 11g

    HTH,

    John.

  • Installing Oracle 10g on Windows 8R2

    Hello

    I had downloaded an Oracle 10 g database files

    1 Database_vault_Winx64_10204

    2 Database_vault_Winx64_10205

    3 Database_vault_Winx64

    During Installation, the system shows that it can withstand up to Version 6.0, Windows 2008r2 is 6.1. Is there any software to Oracle 10 G Database that support, we will be able to install.

    Sandy

    System indicates that it can withstand up to Version 6.0, Windows 2008r2 is 6.1.

    Is there any software to Oracle 10 G Database that support, we will be able to install.

    10.2.0.5 is certified for Win2008R2 64.

    Or you can install Virtualbox and a virtual machine with some lower versions of Windows.

  • 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!

  • Oracle 10g on Windows Vista

    Hello

    I installed Oracle 10 g on Windows Vista-based computer (on the laptop) and by running SQLPLUS, I am getting error below:

    SP2-1503: failed to initialize the Oracle call interface
    SP2-0152: ORACLE does not work properly

    But when I restart my laptop, I can connect once but if I try to connect the next time or after a certain time of commissioning, I'm having this problem.

    Any idea?

    Onkar

    Hello
    Can you try disabling the security policy (restrictions of the user) that comes with windows vista and then try again. Use the following document

    http://www.mydigitallife.info/2006/12/19/turn-off-or-disable-user-account-control-UAC-in-Windows-Vista/

    Salman

  • Activate the oracle 10g on windows 2003 R2 X 64 edition to address the memory 8 GB

    We use the Oracle 10 g R2 on Windows 2003 R2 x 64 standard edition. Lately, we have improved the system memory of 4 GB to 8 GB. Windows detects the memory as it is (8 GB), but oracle does not see the RAM 8 GB. How can we ovecome problem.

    Best regards
    Murat CAKIR

    What you actually do is since you're 10gr 2, you can use the spfile. Increase the SGA_MAX_SIZE SGA_TARGET (if you want to give control to the Oracle itself) in the spfile and bounce the database.

    alter system set SGA_MAX_SIZE = 6G scope=spfile;
    alter system set SGA_TARGET = 6G scope=spfile;
    shutdown immediate;
    startup;
    show parameter sga;
    

    6G could be changed depending on what type of applications which allocates RAM for the operating system, you already have on your operating system.

    Hope that helps.

    Ogan

  • Archive the log files are not register with oracle 10g are

    Hello

    I have oracle 10.2.0 Linux redhat 4. my database is archivelog since that sequence mode no 30

    but when I backup all the files in the archives to help newspapers.

    rman> backup archivelog all delete input.
    
    it backups up from sequence 67 
    
    because.
    
    SQL> select sequence# from v$archived_log;
    
     SEQUENCE#
    ----------
            67
            68
            69
            70
            71
            72
            73
            74
            75
            76
            77
    
     SEQUENCE#
    ----------
            78
            79
            80
            81
            82
            83
            84
            85
            86
            87
            88
    
     SEQUENCE#
    ----------
            89
            90
            91
            92
            93
            94
            95
            96
            97
            98
            99
    
     SEQUENCE#
    ----------
           100
           101
           102
           103
           104
           105
           106
           107
           108
           109
           110
    
     SEQUENCE#
    ----------
           111
           112
           113
           114
           115
           116
           117
           118
           119
           120
           121
    
     SEQUENCE#
    ----------
           122
    
    56 rows selected.
    
    while i left with
    
    [oracle@Oracledatabas ArchiveDest]$ ls
    1_30_694492901.dbf  1_40_694492901.dbf  1_50_694492901.dbf  1_60_694492901.dbf
    1_31_694492901.dbf  1_41_694492901.dbf  1_51_694492901.dbf  1_61_694492901.dbf
    1_32_694492901.dbf  1_42_694492901.dbf  1_52_694492901.dbf  1_62_694492901.dbf
    1_33_694492901.dbf  1_43_694492901.dbf  1_53_694492901.dbf  1_63_694492901.dbf
    1_34_694492901.dbf  1_44_694492901.dbf  1_54_694492901.dbf  1_64_694492901.dbf
    1_35_694492901.dbf  1_45_694492901.dbf  1_55_694492901.dbf  1_65_694492901.dbf
    1_36_694492901.dbf  1_46_694492901.dbf  1_56_694492901.dbf  1_66_694492901.dbf
    1_37_694492901.dbf  1_47_694492901.dbf  1_57_694492901.dbf
    1_38_694492901.dbf  1_48_694492901.dbf  1_58_694492901.dbf
    1_39_694492901.dbf  1_49_694492901.dbf  1_59_694492901.dbf
    [oracle@Oracledatabas ArchiveDest]$
    
    i have backup of archive log as 
    
    RMAN> list backup of archivelog all;
    
    
    List of Backup Sets
    ===================
    
    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    3       136.49M    DISK        00:00:08     27-AUG-09
            BP Key: 3   Status: AVAILABLE  Compressed: NO  Tag: TAG20090827T061019
            Piece Name: /home/oracle/product/10.2.0/flash_recovery_area/NEO/backupset/2009_08_27/o1_mf_annnn_TAG20090827T061019_59dpwfkb_.bkp
    
      List of Archived Logs in backup set 3
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    37      1530188    18-AUG-09 1549890    19-AUG-09
      1    38      1549890    19-AUG-09 1584124    19-AUG-09
      1    39      1584124    19-AUG-09 1628757    19-AUG-09
    
    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    7       181.96M    DISK        00:00:12     27-AUG-09
            BP Key: 7   Status: AVAILABLE  Compressed: NO  Tag: TAG20090827T222915
            Piece Name: /home/oracle/product/10.2.0/flash_recovery_area/NEO/backupset/2009_08_27/o1_mf_annnn_TAG20090827T222915_59gj7x0o_.bkp
    
      List of Archived Logs in backup set 7
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    63      2413676    26-AUG-09 2435738    26-AUG-09
      1    64      2435738    26-AUG-09 2472234    27-AUG-09
      1    65      2472234    27-AUG-09 2515317    27-AUG-09
      1    66      2515317    27-AUG-09 2546805    27-AUG-09
    
    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    9       15.94M     DISK        00:00:02     28-AUG-09
            BP Key: 9   Status: AVAILABLE  Compressed: NO  Tag: TAG20090828T001745
            Piece Name: /home/oracle/product/10.2.0/flash_recovery_area/NEO/backupset/2009_08_28/o1_mf_annnn_TAG20090828T001745_59gpmc0s_.bkp
    
      List of Archived Logs in backup set 9
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    30      1328116    17-AUG-09 1330698    17-AUG-09
      1    31      1330698    17-AUG-09 1343639    17-AUG-09
    
    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    11      104.87M    DISK        00:00:07     28-AUG-09
            BP Key: 11   Status: AVAILABLE  Compressed: NO  Tag: TAG20090828T012913
            Piece Name: /home/oracle/product/10.2.0/flash_recovery_area/NEO/backupset/2009_08_28/o1_mf_annnn_TAG20090828T012913_59gtsbdk_.bkp
    
      List of Archived Logs in backup set 11
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    31      1330698    17-AUG-09 1343639    17-AUG-09
      1    32      1343639    17-AUG-09 1386340    17-AUG-09
      1    33      1386340    17-AUG-09 1418708    17-AUG-09
    
    BS Key  Size       Device Type Elapsed Time Completion Time
    ------- ---------- ----------- ------------ ---------------
    18      2.44G      DISK        00:03:18     17-SEP-09
            BP Key: 18   Status: AVAILABLE  Compressed: NO  Tag: TAG20090917T002120
            Piece Name: /home/oracle/product/10.2.0/flash_recovery_area/NEO/backupset/2009_09_17/o1_mf_annnn_TAG20090917T002120_5c3gb2m2_.bkp
    
      List of Archived Logs in backup set 18
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      ---- ------- ---------- --------- ---------- ---------
      1    67      2546805    27-AUG-09 2571963    28-AUG-09
      1    68      2571963    28-AUG-09 2610800    28-AUG-09
      1    69      2610800    28-AUG-09 2647832    28-AUG-09
      1    70      2647832    28-AUG-09 2668839    28-AUG-09
      1    71      2668839    28-AUG-09 2705408    29-AUG-09
      1    72      2705408    29-AUG-09 2749633    29-AUG-09
      1    73      2749633    29-AUG-09 2783675    30-AUG-09
      1    74      2783675    30-AUG-09 2826464    30-AUG-09
      1    75      2826464    30-AUG-09 2860499    30-AUG-09
      1    76      2860499    30-AUG-09 2903504    31-AUG-09
      1    77      2903504    31-AUG-09 2943108    31-AUG-09
      1    78      2943108    31-AUG-09 2977859    31-AUG-09
      1    79      2977859    31-AUG-09 2998785    01-SEP-09
      1    80      2998785    01-SEP-09 3042779    01-SEP-09
      1    81      3042779    01-SEP-09 3086898    01-SEP-09
      1    82      3086898    01-SEP-09 3103245    02-SEP-09
      1    83      3103245    02-SEP-09 3147628    02-SEP-09
      1    84      3147628    02-SEP-09 3192216    02-SEP-09
      1    85      3192216    02-SEP-09 3208480    02-SEP-09
      1    86      3208480    02-SEP-09 3248106    03-SEP-09
      1    87      3248106    03-SEP-09 3294064    03-SEP-09
      1    88      3294064    03-SEP-09 3323611    03-SEP-09
      1    89      3323611    03-SEP-09 3352060    04-SEP-09
      1    90      3352060    04-SEP-09 3399516    04-SEP-09
      1    91      3399516    04-SEP-09 3440740    04-SEP-09
      1    92      3440740    04-SEP-09 3457884    05-SEP-09
      1    93      3457884    05-SEP-09 3485157    05-SEP-09
      1    94      3485157    05-SEP-09 3523208    05-SEP-09
      1    95      3523208    05-SEP-09 3558325    05-SEP-09
      1    96      3558325    05-SEP-09 3600414    06-SEP-09
      1    97      3600414    06-SEP-09 3642729    06-SEP-09
      1    98      3642729    06-SEP-09 3678479    07-SEP-09
      1    99      3678479    07-SEP-09 3720642    07-SEP-09
      1    100     3720642    07-SEP-09 3748794    07-SEP-09
      1    101     3748794    07-SEP-09 3777963    08-SEP-09
      1    102     3777963    08-SEP-09 3823393    08-SEP-09
      1    103     3823393    08-SEP-09 3865230    08-SEP-09
      1    104     3865230    08-SEP-09 3880510    09-SEP-09
      1    105     3880510    09-SEP-09 3906888    09-SEP-09
      1    106     3906888    09-SEP-09 3961086    09-SEP-09
      1    107     3961086    09-SEP-09 3982103    10-SEP-09
      1    108     3982103    10-SEP-09 4034528    10-SEP-09
      1    109     4034528    10-SEP-09 4055556    11-SEP-09
      1    110     4055556    11-SEP-09 4115268    11-SEP-09
      1    111     4115268    11-SEP-09 4128557    12-SEP-09
      1    112     4128557    12-SEP-09 4165104    12-SEP-09
      1    113     4165104    12-SEP-09 4202850    12-SEP-09
      1    114     4202850    12-SEP-09 4258353    13-SEP-09
      1    115     4258353    13-SEP-09 4298900    14-SEP-09
      1    116     4298900    14-SEP-09 4341046    14-SEP-09
      1    117     4341046    14-SEP-09 4365180    15-SEP-09
      1    118     4365180    15-SEP-09 4424992    15-SEP-09
      1    119     4424992    15-SEP-09 4439538    15-SEP-09
      1    120     4439538    15-SEP-09 4489259    16-SEP-09
      1    121     4489259    16-SEP-09 4532807    16-SEP-09
      1    122     4532807    16-SEP-09 4548893    17-SEP-09
    
    
    
    and when i try
    
    RMAN> backup archivelog from sequence 30 until sequence 66;
    
    Starting backup at 17-SEP-09
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 09/17/2009 04:01:25
    RMAN-20242: specification does not match any archive log in the recovery catalog
    
    
    when i try to restore database on testing server it ask me for
    
    
    
    MAN> recover database until sequence 121;
    
    Starting recover at 17-SEP-09
    using channel ORA_DISK_1
    
    starting media recovery
    
    channel ORA_DISK_1: starting archive log restore to default destination
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=37
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=38
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=39
    channel ORA_DISK_1: reading from backup piece /home/oracle/o1_mf_annnn_TAG20090827T061019_59dpwfkb_.bkp
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/home/oracle/o1_mf_annnn_TAG20090827T061019_59dpwfkb_.bkp tag=TAG20090827T061019
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:17
    channel ORA_DISK_1: starting archive log restore to default destination
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=63
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=64
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=65
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=66
    channel ORA_DISK_1: reading from backup piece /home/oracle/o1_mf_annnn_TAG20090827T222915_59gj7x0o_.bkp
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/home/oracle/o1_mf_annnn_TAG20090827T222915_59gj7x0o_.bkp tag=TAG20090827T222915
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:15
    channel ORA_DISK_1: starting archive log restore to default destination
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=31
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=32
    channel ORA_DISK_1: restoring archive log
    archive log thread=1 sequence=33
    channel ORA_DISK_1: reading from backup piece /home/oracle/o1_mf_annnn_TAG20090828T012913_59gtsbdk_.bkp
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/home/oracle/o1_mf_annnn_TAG20090828T012913_59gtsbdk_.bkp tag=TAG20090828T012913
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:07
    archive log filename=/home/oracle/DataBaseBackups/ArchiveDest/1_31_694492901.dbf thread=1 sequence=31
    archive log filename=/home/oracle/DataBaseBackups/ArchiveDest/1_32_694492901.dbf thread=1 sequence=32
    archive log filename=/home/oracle/DataBaseBackups/ArchiveDest/1_33_694492901.dbf thread=1 sequence=33
    archive log filename=/home/oracle/DataBaseBackups/ArchiveDest/1_34_694492901.dbf thread=1 sequence=34
    archive log filename=/home/oracle/DataBaseBackups/ArchiveDest/1_34_694492901.dbf thread=1 sequence=35
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 09/17/2009 03:01:31
    RMAN-11003: failure during parse/execution of SQL statement: alter database recover logfile '/home/oracle/DataBaseBackups/ArchiveDest/1_34_694492901.dbf'
    ORA-00310: archived log contains sequence 34; sequence 35 required
    ORA-00334: archived log: '/home/oracle/DataBaseBackups/ArchiveDest/1_34_694492901.dbf'
    My question is why my 30 to 66 sequence archivelog file are not saved with the database in v$ archived_log and how to solve this problem.

    Thank you
    Umesh

    You may need to increase the CONTROL_FILE_RECORD_KEEP_TIME value.

    If the archivelogs are still on the disk, you can try to catalog them with:

    RMAN> catalog start with '/home/oracle/DataBaseBackups/ArchiveDest/;
    

    or if you don't need the file you can simply remove the o/s and run the following:

    RMAN> crosscheck archivelog all;
    RMAN> delete expired archivelog all;
    
  • 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

Maybe you are looking for