Database standby shutdown abort - recover - URGENT

Hello

Our database awaiting is in State of Mount.

Normally, we close the database using the command 'SHUTDOWN IMMEDIATE.
But... by mistake we provide the SHUTDOWN command.
Therefore, it taking a lot of time. It took 3 hours. but not yet arrested.

Therefore, we used "SHUTDOWN ABORT"

Now, I want to start the database.

Let me know, what are the steps to follow?
(I want to get the database of State MOUNT)

Normally, we use these 2 commands;
startup nomount;
ALTER database base_de_donnees eve of Mount;

We need to restore? (Because we use SHUTDOWN abort)
I would like to know how to do this

Kind regards

Hello

As it is a standby database, perform normal operations and start the recovery.

startup nomount

change the basis of mountain rescue

then start the recovery

modify the recovery of database managed standby database disconnect from the session.

Anand

Tags: Database

Similar Questions

  • How instance recovery and restart the database after SHUTDOWN ABORT?

    How instance recovery and restart the database after the database is closed by using the command "SHUTDOWN ABORT"?

    Recovery if instance Oracle background SMON instance failure process using or stop quitting or database starting strength. After shutdown abort you just restart the startup database, oracle will take care for instance recovery you need'nt to intervene for example recovery.

  • Crash when updates at shutdown lead Error message 'one of the files in the registry database had to be recovered by use of one newspaper or another copy. Recovery succeeded. »

    Yesterday, I was using my laptop at the farm level is critical. When I stopped him, 9 updates began to occur when closing. Unfortunately, the laptop ran out of battery before that update has been completed. When I rebooted the professional windows xp, an error message "one of the files in the registry database had to be recovered by use of one newspaper or another copy. Recovery succeeded. "came and this message constantly comes up whenever I start windows. I have no CD with me as the operating system has been installed by the IT Department of my employer and I do not want to reinstall windows. I do not know how to change, and then make the changes in the registry via regedit. If anyone know to solve this problem, I would appreciate your help. I never wait for windows updates could cause such problems.

    Hello

    • Your computer is on the field?
    If it is connected to a domain, then you can post your query in this link:
     
    If it is not then what is the error message in the history of the magazine update on the windows update site?

    See also fix it for windows updates.
     
  • Database standby manual (10.2.0.2.0) under Windows 2003 R2

    Hello

    We are developing a database of Eve at a remote site for a simple oracle DB. As we already have a standby/master for another Oracle DB (from SAP) we want to stay as close as possible to what already exists.
    For SAP Oracle standby, we manually copy all archived on the stand-by and apply them with brarchive. Everything works very well.
    For new standby, we cannot use brarchive as there is no SAP installation on the eve, but we stay with the 'manual' copy of the archive from the master to the waiting (via robocpy). This means that all archives are on standby mode (K:\oracle\oradata\archive).
    The creation of the DB in waiting seems to be OK I open it, but I can't seem to apply redo logs.

    I am quite new to oracle, so maybe it's a very basic question, but I already spent 3 days on this subject...

    To start the DB, we throw a bat script:
    sqlplus/nolog @c:\backup\standby.sql
    pause

    the standby.sql:
    connect /@TECDB01 as sysdba
    startup nomount;
    ALTER database base_de_donnees eve of Mount;
    "exit";

    Can I connect to sqlplus and enter:
    change recover managed standby database;

    In another sqlplus session:
    SELECT PROCESS, STATUS, THREAD #, SEQUENCE #, BLOCK #, BLOCKS FROM V$ MANAGED_STANDBY;
    which give me:
    STATUS OF PROCESS THREAD # SEQUENCE # BLOCK # BLOCKS
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    Mr (FG) 1 45400 WAIT_FOR_GAP 0 0
    RFS IDLE 0 0 0 0

    45400 sequence seems to be ok about the time of the backup that is restored on the eve.
    Archive is on the server, but it will not be applied.

    The Alert_TECDB01.log:
    Fri 29 Oct 11:03:43 2010
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    SNA system picked latch-free 3
    Undo retention Autotune is turned on.
    IMODE = BR
    ILAT = 121
    LICENSE_MAX_USERS = 0
    SYS audit is disabled
    ksdpec: called to the event 13740 before initialization of the event group
    Commissioning ORACLE RDBMS Version: 10.2.0.2.0.
    Parameters of the system with default values:
    process = 999
    SGA_TARGET = 7214202880
    control_files = I:\ORACLE\ORADATA\CNTRL\STANDBY. CTL, J:\ORACLE\ORADATA\CNTRL\STANDBY. CTL, K:\ORACLE\ORADATA\CNTRL\STANDBY. CTL
    DB_BLOCK_SIZE = 8192
    compatible = 10.2.0.2.0
    Log_archive_dest_1 = RENTAL = K:\oracle\oradata\archive
    LOG_ARCHIVE_DEST_2 = SERVICE = TECDB01
    log_archive_dest_state_1 = enable
    LOG_ARCHIVE_DEST_STATE_2 = enable
    standby_archive_dest = K:\oracle\oradata\archive
    ARCHIVE_LAG_TARGET = 1800
    db_file_multiblock_read_count = 16
    UNDO_MANAGEMENT = AUTO
    undo_tablespace = RBS
    UNDO_RETENTION = 10800
    Recyclebin = OFF
    Remote_login_passwordfile = EXCLUSIVE lock
    db_domain = EVERYONE
    dispatchers = (ADDRESS = (PROTOCOL = tcp) (HOST = xxx.xxx.xxx.92)) (DISPATCHERS = 4) (CONNECTIONS = 1000)
    SHARED_SERVERS = 100
    LOCAL_LISTENER = (ADDRESS = (PROTOCOL = TCP)(HOST=xxx.xxx.xxx.92) (PORT = 1521))
    session_cached_cursors = 300
    UTL_FILE_DIR = \\srvuniway.vrithoff.srwt.tec-wl.be\hotspots
    JOB_QUEUE_PROCESSES = 10
    audit_file_dest = I:\ORACLE\ADMIN\TECDB01\ADUMP
    background_dump_dest = I:\ORACLE\ADMIN\TECDB01\BDUMP
    user_dump_dest = I:\ORACLE\ADMIN\TECDB01\UDUMP
    core_dump_dest = I:\ORACLE\ADMIN\TECDB01\CDUMP
    db_name = TECDB01
    open_cursors = 3000
    pga_aggregate_target = 1086324736
    PMON started with pid = 2, OS id = 4012
    PSP0 started with pid = 3, OS id = 3856
    MA started with pid = 4, OS id = 3580
    DBW0 started with pid = 5, OS id = 1084
    LGWR started with pid = 6, OS = 576 id
    CKPT started with pid = 7, OS id = 3516
    SMON started with pid = 8, OS = 508 id
    RECCE has started with pid = 9, OS id = 3068
    CJQ0 started with pid = 10, OS id = 2448
    MMON started with pid = 11, OS id = 2840
    MMNL started with pid = 12, OS id = 3024
    Fri 29 Oct 11:03:44 2010
    commissioning 4 dispatcher (s) for '(ADDRESS =(PROTOCOL=tcp) (HOST = xxx.xxx.xxx.92))' network address...
    commissioning or servers shared 100...
    Fri 29 Oct 11:03:45 2010
    change the basis of mountain rescue
    Fri 29 Oct 11:03:51 2010
    Definition of embodiment of recovery target 2
    ARK: START OF THE ARCH PROCESS
    Arc0 started with pid = 118, OS id = 3584
    Fri 29 Oct 11:03:51 2010
    Arc0: Started archiving
    Arc1 started with pid = 119, OS id = 3688
    Fri 29 Oct 11:03:51 2010
    Arc1: Started archiving
    ARCH: FROM PROCESS ARCH COMPLETE
    Fri 29 Oct 11:03:51 2010
    Arc0: become the "no FAL' ARCH
    Fri 29 Oct 11:03:51 2010
    Mount of redo thread 1, with mount id 3987142355
    Fri 29 Oct 11:03:51 2010
    Arc0: become the "no SRL" ARCH
    Fri 29 Oct 11:03:51 2010
    Arc1: Become the heartbeat ARCH
    Fri 29 Oct 11:03:51 2010
    Physical Standby Database mounted.
    Completed: alter database mount standby
    Fri 29 Oct 11:04:06 2010
    change recover managed standby database
    Fri 29 Oct 11:04:06 2010
    Managed Standby recovery not using real time applies
    parallel recovery started with 7 process
    Media, recovery waiting for thread 1 sequence 45400
    Pick up the empty sequence in thread 1, 45400-45499 gap sequence
    + FAL [client]: error recovery gap sequence, no specified FAL server +.
    Fri 29 Oct 11:04:37 2010
    + FAL [client]: could not ask gap sequence.
    GAP - thread 1 sequence 45400-45499
    3776455083 670241032 DBID branch
    + FAL [client]: all defined FAL servers have been tried. +
    -------------------------------------------------------------
    Check that the initialization of CONTROL_FILE_RECORD_KEEP_TIME
    parameter is set to a value large enough
    enough to keep adequate record switch information to solve
    ARCHIVELOG gaps.
    -------------------------------------------------------------
    Fri 29 Oct 11:04:51 2010
    Again shipping customer logged in as PUBLIC
    -User is valid
    RFS [1]: assigned to the RFS 3452 process
    «RFS [1]: Type of database called a ' standby' physical «»
    Fri 29 Oct 11:04:51 2010
    LogMiner RFS: Disabled Client of the another view

    The tecdb01_arc1_3688.trc:
    I:\oracle\admin\tecdb01\bdump\tecdb01_arc1_3688.TRC dump file
    Fri 29 Oct 11:03:51 2010
    ORACLE V10.2.0.2.0 - Production of 64-bit vsnsta = 0
    vsnsql = 14 vsnxtr = 3
    Oracle Database 10 g Enterprise Edition Release 10.2.0.2.0 - 64 bit Production
    With partitioning, OLAP and Data Mining options
    Windows NT Version V5.2 Service Pack 2
    UC: 8 - type 8664, 2 physical cores
    Process affinity: 0 x 0000000000000000
    Memory (success/Total): Ph: 7467 M / 9215 M, Ph PgF:2454 M / 10796 +.
    Instance name: tecdb01

    Redo thread mounted by this instance: 1

    Oracle process number: 119

    Windows thread ID: 3688, image: ORACLE. EXE (ARC1)


    NAME OF THE SERVICE :() 11:03:51.177 2010-10-29
    SESSION ID: (1088.1) 2010-10-29 11:03:51.177
    kcrrwkx: nothing to (early)
    11:04:51.129 2010-10-29
    Repeat customer shipping performing a pending connection
    2010-10-29 11:04:51.176 64529 kcrr.c
    Connected mode standby successfully
    Customer logon and security successful trading!
    kcrrwkx: nothing to (end)
    11:05:51.285 2010-10-29
    kcrrwkx: nothing to (end)
    11:06:51.300 2010-10-29
    kcrrwkx: nothing to (end)

    The initTECDB01.ora:
    ##############################################################################
    # Copyright (c) 1991, 2001, 2002 by Oracle Corporation
    ##############################################################################

    ###########################################
    # Archive
    ###########################################
    ARCHIVE_LAG_TARGET = 1800
    Log_archive_dest_1 =' LOCATION = K:\oracle\oradata\archive'

    ###########################################
    IO and cache memory #.
    ###########################################
    DB_BLOCK_SIZE = 8192
    db_file_multiblock_read_count = 16

    ###########################################
    # The library Cache and sliders
    ###########################################
    open_cursors = 3000
    session_cached_cursors = 300

    ###########################################
    # Identification of the database
    ###########################################
    db_domain = EVERYONE
    db_name = TECDB01

    ###########################################
    # Diagnostic and statistical
    ###########################################
    background_dump_dest = I: \oracle\admin\TECDB01\bdump
    core_dump_dest = I: \oracle\admin\TECDB01\cdump
    user_dump_dest = I: \oracle\admin\TECDB01\udump

    ###########################################
    # Configuration file
    ###########################################
    control_files = ("I:\oracle\oradata\cntrl\standby.ctl", "J:\oracle\oradata\cntrl\standby.ctl", "K:\oracle\oradata\cntrl\standby.ctl")

    ###########################################
    # Work queue
    ###########################################
    JOB_QUEUE_PROCESSES = 10

    ###########################################
    # Various
    ###########################################
    compatible = 10.2.0.2.0
    Recyclebin = OFF

    ###########################################
    # Process and Sessions
    ###########################################
    process = 999

    ###########################################
    # SGA memory
    ###########################################
    SGA_TARGET = 6880M

    ###########################################
    # Pools
    ###########################################
    #java_pool_size = 150 M

    ###########################################
    # Security and audit
    ###########################################
    audit_file_dest = I: \oracle\admin\TECDB01\adump
    Remote_login_passwordfile = EXCLUSIVE lock

    ###########################################
    # Shared server
    ###########################################
    SHARED_SERVERS = 100
    Dispatchers = "(Address = (Protocol = TCP) (Host = xxx.xxx.xxx.92)) (DISPATCHERS = 4) (Connections = 1000)" "
    #dispatchers = "(PROTOCOL=TCP) (SERVICE = TECDB01XDB)" "

    ###########################################
    # Sort, hash joins, index Bitmap
    ###########################################
    pga_aggregate_target = 1036M

    ###########################################
    # System managed Undo and Rollback Segments
    ###########################################
    UNDO_MANAGEMENT = AUTO
    UNDO_RETENTION = 10800
    undo_tablespace = RBS

    LOCAL_LISTENER = "(Address = (Protocol = TCP)(Host=xxx.xxx.xxx.92) (port = 1521))" "

    # NIDA - 28.10.2010 - repeat applies
    log_archive_dest_state_1 = enable
    LOG_ARCHIVE_DEST_2 = "SERVICE = TECDB01'"
    LOG_ARCHIVE_DEST_STATE_2 = enable
    standby_file_management # = auto
    standby_archive_dest = K:\oracle\oradata\archive

    And the TNSNAMES.ora:

    tnsnames.ora # Network Configuration file: C:\oracle\102\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.

    #this is switched to standby
    TECDB01. VRITHOFF. SRWT. TEC - WL.BE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.92) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = TECDB01)
    )
    )

    #
    # This file is written by Oracle Services For MSCS
    # Sat Nov 08 10:44:27 2008
    #

    #this is the master
    PRIMARY. VRITHOFF. SRWT. TEC - WL.BE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.246) (PORT = 1521))
    )
    (CONNECT_DATA =
    (SID = TECDB01)
    )
    )

    EXTPROC_CONNECTION_DATA. VRITHOFF. SRWT. TEC - WL.BE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = TECDB01))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = TECDB01)
    )
    )

    Hope you have all the information to get back me in the right way.

    Kind regards

    Nicolas

    but we stay with the 'manual' copy of the archive from the master to the expectation (using robocpy). This means that all archives are on standby mode (K:\oracle\oradata\archive).

    In this case, you should not use the keyword MANAGED in get it BACK... DATABASE PENDING.

    MANAGED applies when Eve is part of an 'Oracle Standby' infrastructure where the primary ships archivelogs (by ARCH or LGWR) and a processs RFS on the eve receives files, update the local controlfile (on standby).

    If you do manual shipping you use RECOVER STANDBY DATABASE (interactive mode) or RECOVER AUTOMATIC STANDBY DATABASE (automatic mode that stops when it cannot see any archivelogs more). These modes are not based on the controlfile Eve know what archivelogs are available but in fact search archivelogs (similar to the DATABASE with the HELP of BACKUP CONTROLFILE RECOVERY what who is not aware of the "later" archivelogs, but seeks only to the log_archive_dest expected).

    Hemant K Collette
    http://hemantoracledba.blogspot.com

  • Steps to remove a physical database standby

    Hello
    I would like to delete a physical database of Eve and the Data Guard Broker configuration. How could I do this properly?


    Thank you
    J

    user560159 wrote:
    Great! Thank you. What is MRP?

    MRP - Media recovery process.
    It will be launched if you order SQL > alter database recovery managed standby database disconnect from the session.

    and to stop, you must provide SQL > alter database recover managed standby database cancel;

  • Database standby manual STANDBY_FILE_MANAGEMENT

    Hello

    Oracle 10g 10.2.0.4 on RedHat

    In our environment, we have a Manual of "Standby Database" configuration where we have a data base of production shipment its logs to a different database like running: 'recover the database before ';
    What is the best approach to deal with the physical changes such as the creation of a new table on the primary database space?

    Can I use this "* STANDBY_FILE_MANAGEMENT *" parameter or is it only one option DataGuard 'real '?

    Concerning
    BVE

    Hello..

    You can use standby_file_management as auto and when you add the tablespace/data file primary and futher after some time, when the archives would be applied manually the tablespace/data files is automatically created. Db_file_name_convert and log_file_name_convert parameters must be set correctly in the standby database.

    Anand

  • UAT database standby database

    Hello

    I'm using oracle 11.2.0.2.0 on Windows 2008,

    I prod & databases of relief, I want to create new DB UAT who wiil match the prod.

    How to create a UAT using backup cold standby,

    can I use cold backup of database pending.

    Thank you

    Published by: user10745179 on October 22, 2012 12:42

    It would be a duplication of the database backup with RMAN. A catalogue will help, especially when you are working in a Data Guard environment, but it's a simple and well documented operation:
    http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmdupdb.htm#i1008564

  • Data on the database standby realized at intervals of time

    Hi all

    We have implemented active dataguard, the standby database reflects the data after some time, sometimes 10 min, sometimes 25 min...

    Is there anything we can install this waiting for 10 min, the data loaded in the primary must reflect on standby after 10 minutes for sure...

    Here are the details:

    Primary:
    view the LOG_ARCHIVE_DEST_2 parameter.
    SERVICE = stdb11g NOAFFIRM ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = stdb11g


    SELECT status, recovery_mode FROM v$ archive_dest_status where nom_dest = 'LOG_ARCHIVE_DEST_2 ';

    STATUS RECOVERY_MODE
    --------- -----------------------
    VALID MANAGED


    SQL > SELECT a.group #, a.member, b.bytes/1024/1024 Size_in_MB v$ logfile, v$ log b WHERE a.group # = b.group #;

    # MEMBER SIZE_IN_MB GROUP
    ---------- -------------------------------------------------- ----------
    3 /u01/oracle/oracle/oradata/prim11g/redo03.log 50
    2 /u01/oracle/oracle/oradata/prim11g/redo02.log 50
    1 /u01/oracle/oracle/oradata/prim11g/redo01.log 50


    Standby time:
    Select database_role, open_mode from v$ database;

    DATABASE_ROLE OPEN_MODE
    ---------------- --------------------
    PHYSICAL READ EVE ONLY TO APPLY

    Oracle: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    OS: Red Hat Enterprise Linux Server 5.4 release

    Please advise...

    Since you are not in real time applies, the changes will be applied after each logswitch

    -real-time use apply

    or

    -Configure automatic log with the parameter archive_lag_target switches

  • DB hang after usign shutdown abort

    Hi all


    My db server got hanged we restart the DB to help set aside the judgment

    Oracle 9.2.0.8 on rhel
    ARC2: Archival started
    Fri Sep 10 11:03:29 2010
    ARCH: STARTING ARCH PROCESSES COMPLETE
    Fri Sep 10 11:03:29 2010
    ARC2: Becoming the 'no FAL' ARCH
    ARC2: Becoming the 'no FAL' ARCHARC2: Thread not mounted
    Fri Sep 10 11:03:29 2010
    ARC1: Becoming the heartbeat ARCH
    Fri Sep 10 11:03:29 2010
    ARC0: Thread not mounted
    Fri Sep 10 11:03:29 2010
    ARC1: Becoming the heartbeat ARCHARC1: Thread not mounted
    Fri Sep 10 11:03:30 2010
    ALTER DATABASE   MOUNT
    Fri Sep 10 11:03:34 2010
    Successful mount of redo thread 1, with mount id 1534489410
    Fri Sep 10 11:03:34 2010
    Database mounted in Exclusive Mode.
    Completed: ALTER DATABASE   MOUNT
    Fri Sep 10 11:03:34 2010
    ALTER DATABASE OPEN
    Fri Sep 10 11:03:35 2010
    Beginning crash recovery of 1 threads
    Fri Sep 10 11:03:35 2010
    Started redo scan
    Fri Sep 10 11:03:35 2010
    Completed redo scan
     0 redo blocks read, 0 data blocks need recovery
    Fri Sep 10 11:03:35 2010
    Started recovery at
     Thread 1: logseq 1382, block 307199, scn 0.2085830944
    Fri Sep 10 11:03:35 2010
    Recovery of Online Redo Log: Thread 1 Group 4 Seq 1382 Reading mem 0
      Mem# 0 errs 0: /u01/app/oracle/oradata/icai/redo04a.log
      Mem# 1 errs 0: /oradata/data/redo04b.log
      Mem# 2 errs 0: /oradata/data/redo04c.log
    Fri Sep 10 11:03:35 2010
    Completed redo application
    Fri Sep 10 11:03:35 2010
    Ended recovery at
     Thread 1: logseq 1382, block 307199, scn 0.2085850945
     0 data blocks read, 0 data blocks written, 0 redo blocks read
    Crash recovery completed successfully
    Fri Sep 10 11:03:35 2010
    LGWR: Primary database is in CLUSTER CONSISTENT mode
    Fri Sep 10 11:03:36 2010
    ARCH: Evaluating archive   log 1 thread 1 sequence 1379
    ARCH: Beginning to archive log 1 thread 1 sequence 1379
    Creating archive destination LOG_ARCHIVE_DEST_3: 'drsite_delhi'
    Creating archive destination LOG_ARCHIVE_DEST_2: 'hp'
    Creating archive destination LOG_ARCHIVE_DEST_1: '/arch/icai/icai_1_1379.dbf'
    Fri Sep 10 11:04:29 2010
    ARC1: Evaluating archive   log 1 thread 1 sequence 1379
    ARC1: Unable to archive log 1 thread 1 sequence 1379
          Log actively being archived by another process
    ARC1: Evaluating archive   log 3 thread 1 sequence 1380
    ARC1: Beginning to archive log 3 thread 1 sequence 1380
    Creating archive destination LOG_ARCHIVE_DEST_3: 'drsite_delhi'
    Creating archive destination LOG_ARCHIVE_DEST_2: 'hp'
    Creating archive destination LOG_ARCHIVE_DEST_1: '/arch/icai/icai_1_1380.dbf'
    Fri Sep 10 11:08:29 2010
    ARC0: Evaluating archive   log 1 thread 1 sequence 1379
    ARC0: Unable to archive log 1 thread 1 sequence 1379
          Log actively being archived by another process
    ARC0: Evaluating archive   log 3 thread 1 sequence 1380
    ARC0: Unable to archive log 3 thread 1 sequence 1380
          Log actively being archived by another process
    ARC0: Evaluating archive   log 2 thread 1 sequence 1381
    ARC0: Beginning to archive log 2 thread 1 sequence 1381
    Creating archive destination LOG_ARCHIVE_DEST_3: 'drsite_delhi'
    Fri Sep 10 11:08:29 2010
                                                                  1376871,1
    Fri Sep 10 11:03:35 2010
                                                                  1376825,1
    ARC2: Evaluating archive   log 1 thread 1 sequence 1379
    ARC2: Unable to archive log 1 thread 1 sequence 1379
          Log actively being archived by another process
    ARC2: Evaluating archive   log 3 thread 1 sequence 1380
    ARC2: Unable to archive log 3 thread 1 sequence 1380
          Log actively being archived by another process
    ARC2: Evaluating archive   log 2 thread 1 sequence 1381
    ARC2: Unable to archive log 2 thread 1 sequence 1381
          Log actively being archived by another process
    Fri Sep 10 11:39:30 2010
    Restarting dead background process QMN0
    QMN0 started with pid=17, OS id=30209
    Fri Sep 10 11:43:29 2010
    ARC2: Evaluating archive   log 1 thread 1 sequence 1379
    ARC2: Unable to archive log 1 thread 1 sequence 1379
          Log actively being archived by another process
    ARC2: Evaluating archive   log 3 thread 1 sequence 1380
    ARC2: Unable to archive log 3 thread 1 sequence 1380
          Log actively being archived by another process
    ARC2: Evaluating archive   log 2 thread 1 sequence 1381
    ARC2: Unable to archive log 2 thread 1 sequence 1381
          Log actively being archived by another process
    Fri Sep 10 11:45:33 2010
    Restarting dead background process QMN0
    "alert_icai.log" 1377000L, 70964457C

    (1) make sure you check the log destination space.
    (2) kill ARC0 and ARC1 (they spawn again)

    Insofar as I can remember, this is question. Check metalink Note or patch

  • Best way to control the primary databases, standby, including alert logs, etc..

    Hi, guys, I've finally commissioning of the new environment for the new redhat linux and everything works great so far (primary/secondary).

    Now I would like to setup of its surveillance analysis scripts automatically so I can let it run by itself.

    What is the best way?

    I talked to another friend of dba outside the company and he told me that his shop would not use any cron jobs to monitor, they use the grid control.

    We have no control of grid. I would like to see what fits best here? should we configure the grid control?

    And as for now, I would appreciate the ideas of all the cron scripts.

    Thank you

    I have the simple:

    ####################################################################
    # script to check alert log on PRIMARY
    #
    ####################################################################
    #
    #
    # Set the directory for alert log
    #
    cd /u01/app/oracle/diag/rdbms/primary/PRIMARY/trace
    #
    #
    #  run tail command
    #
    tail -500 alert_PRIMARY.log | more
    

    Adjust the - 500 on the tail according to your needs.

    Or you can get fancy:

    #!/bin/bash
    
    function outputMenu {
    cat > /dev/stdout <
    

    Best regards

    mseberg

  • backup and restore of database

    Hello

    I did a backup and restore of database and now I need to restore the database again.
    For the backup of database I've used the following:
    SQL
    {stop immediately;
    bootable media;
    ALTER database archivelog;
    }
    database altered
    RMAN

    backup database;

    to restore the database, I used:

    RMAN
    {stop immediately;
    bootable media;
    until ' to_date (March 26, 2009 09:15:11 ',' dd-mm-yyyy hh24:mi:ss') ";
    restore the database;
    recover the database;
    }



    SQL > alter database open resetlogs;

    And as I said I would now like to restore this backup once again.
    Can someone help me with this?


    Thank you

    You could adapt the following script by changing the dbid, location of the control file and the incarnation of the database:

    shutdown abort;
    startup nomount;
    set dbid=2557871973;
    restore controlfile from 'D:\BACKUP\RMAN\C-2557871973-20090326-00';
    alter database mount;
    reset database to incarnation 8;
    run
    {
    set until time "to_date('26-03-2009 09:15:11', 'dd-mm-yyyy hh24:mi:ss')";
    restore database;
    recover database;
    }
    alter database open resetlogs;
    

    I have successfully run this script several times with Oracle XE (10.2.0.1).

  • What will happen if immediate restore session / cancel stop of the database?

    I have a long session restoration after I killed him. Session state is 'DEAD' and when I check the transaction of $ v, it will take nearly 24 hours to a complete restoration. We can not wait if a long time because we have another job dependencies need restoration must be completed as soon as possible. In the end, we plan to stop immediately. This will help? What will happen to the restore session if we issue immediate shutdown or shutdown abort? Is the restoration completed successfully?

    If you SHUTDOWN ABORT when there are very many active transactions or be restored, then the default FAST_START_PARALLEL_ROLLBACK that occurs at the start of subsequent proceedings in fact means that the restore is performed more quickly.
    However, if it is a large single transaction as a DELETION on a table with an Index, it is best to disable FAST_START_PARALLEL_ROLLBACK before restarting the Instance immediately after a SHUTDOWN ABORT. Parallel cancellation of a single important transaction with an Index can be slower!

    FAST_START_PARALLEL_ROLLBACK is a parameter instance that LOW as default (IE a value of 2 x CPU_COUNT) and can be set to HIGH or FALSE.

    Note: If you SHUTDOWN ABORT and START the database, Oracle has to do a Rollforward of Redo Logs (for data blocks that have not been updated) before that, an OPEN. It is generally a very fast operation. Uncomitted transaction cancellation is an operation delayed - this means that the restore is initiated by SMON or parallel slaves after the database is OPEN. If a block containing a row that has been updated and not committed is referenced by a database session after OPENING, but before it has been restored, made Oracle a rollback accelerated this line of the block and then continues to the restoration of other lines in the background.

    Thus, if the transaction had been on the Table 'A' and the database is SHUTDOWN ABORT and commissioning, users can still access and update of all other tables other than table 'A', while the transaction is put in place, in the background, after the OPENING.

    Hemant K Collette

  • Roll forward standby database with the incremental backup, when a data file is deleted in primary education

    Hello

    I'm nologging operations + deleting some files in the primary and you want to roll forward the day before using the incremental backup Yvert.

    I do in particular, as the files are dropped?

    I got to meet ( Doc ID 1531031.1 ) which explains how to roll forward when a data file is added.

    If I follow the same steps, to make the move to restore the data file newly added, will it work in my case?

    Can someone please clarify?

    Thank you

    San

    I was wondering if reocover noredo is performed before restored controlfile, oracle will apply the incremental backup error-free files, and in this case, what would be the status of the data file in the control file.

    Why do you consider to retrieve the day before first and then in the restaurant of the controlfile will lead to problems. Please read my first post on this thread - I had clearly mentioned that you would not face problems if you go with the method of deployment.

    Here is a demo for you with force logging is disabled. For the first time the day before resuming and restored then the controlfile ensures:

    Primary: oraprim

    Standby: orastb

    Tablespace DataFile of MYTS is removed on primary:

    SYS @ oraprim > select force_logging in the database of v$.

    FORCE_LOGGING

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

    NO.

    Currently the tablespace is to have 2 data files.

    SYS @ oraprim > select file_name in dba_data_files where nom_tablespace = 'MYTS;

    FILE_NAME

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

    /U01/app/Oracle/oradata/oraprim/myts01.dbf

    /U01/app/Oracle/oradata/oraprim/myts02.dbf

    In standby mode, the tablespace is to have 2 data files:

    SYS @ orastb > select name from v$ datafile where ts #= 6;

    NAME

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

    /U01/app/Oracle/oradata/orastb/myts01.dbf

    /U01/app/Oracle/oradata/orastb/myts02.dbf

    Postponement of the day before on the primary log shipping

    SYS @ oraprim > alter system set log_archive_dest_state_3 = delay;

    Modified system.

    Dropped 1 MYTS datafile on the primary.

    SYS @ oraprim > alter tablespace myts drop datafile ' / u01/app/oracle/oradata/oraprim/myts02.dbf';

    Tablespace altered.

    Removed some archives to create a space.

    [oracle@ora12c-1 2016_01_05] $ rm - rf * 31 *.

    [oracle@ora12c-1 2016_01_05] $ ls - lrt

    13696 total

    -rw - r - 1 oracle oinstall 10534400 5 January 18:46 o1_mf_1_302_c8qjl3t7_.arc

    -rw - r - 1 oracle oinstall 2714624 5 January 18:47 o1_mf_1_303_c8qjmhpq_.arc

    -rw - r - 1 oracle oinstall 526336 5 January 18:49 o1_mf_1_304_c8qjp7sb_.arc

    -rw - r - 1 oracle oinstall 23552 5 January 18:49 o1_mf_1_305_c8qjpsmh_.arc

    -rw - r - 1 oracle oinstall 53760 5 January 18:50 o1_mf_1_306_c8qjsfqo_.arc

    -rw - r - 1 oracle oinstall 14336 Jan 5 18:51 o1_mf_1_307_c8qjt9rh_.arc

    -rw - r - 1 oracle oinstall 1024 5 January 18:53 o1_mf_1_309_c8qjxt4z_.arc

    -rw - r - 1 oracle oinstall 110592 5 January 18:53 o1_mf_1_308_c8qjxt34_.arc

    [oracle@ora12c-1 2016_01_05] $

    Current main MYTS data files:

    SYS @ oraprim > select file_name in dba_data_files where nom_tablespace = 'MYTS;

    FILE_NAME

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

    /U01/app/Oracle/oradata/oraprim/myts01.dbf

    Current data of MYTS standby files:

    SYS @ orastb > select name from v$ datafile where ts #= 6;

    NAME

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

    /U01/app/Oracle/oradata/orastb/myts01.dbf

    /U01/app/Oracle/oradata/orastb/myts02.dbf

    Gap is created:

    SYS @ orastb > select the process, status, sequence # v$ managed_standby;

    STATUS OF PROCESS SEQUENCE #.

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

    ARCH. CLOSING 319

    ARCH. CLOSING 311

    CONNECTED ARCH 0

    ARCH. CLOSING 310

    MRP0 WAIT_FOR_GAP 312

    RFS IDLE 0

    RFS IDLE 0

    RFS IDLE 0

    RFS IDLE 320

    9 selected lines.

    Backup incremental RMAN is taken elementary school.

    RMAN > incremental backup of the format of database of SNA 2686263 ' / u02/bkp/%d_inc_%U.bak';

    From backup 5 January 16

    using the control file of the target instead of recovery catalog database

    the DISC 2 channel configuration is ignored

    the DISC 3 channel configuration is ignored

    configuration for DISK 4 channel is ignored

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 41 type device = DISK

    channel ORA_DISK_1: starting full datafile from backup set

    channel ORA_DISK_1: specifying datafile (s) in the backup set

    Enter a number of file datafile = 00001 name=/u01/app/oracle/oradata/oraprim/system01.dbf

    Enter a number of file datafile = name=/u01/app/oracle/oradata/oraprim/sysaux01.dbf 00003

    Enter a number of file datafile = name=/u01/app/oracle/oradata/oraprim/undotbs01.dbf 00004

    Enter a number of file datafile = name=/u01/app/oracle/oradata/oraprim/users01.dbf 00006

    Enter a number of file datafile = name=/u01/app/oracle/oradata/oraprim/myts01.dbf 00057

    channel ORA_DISK_1: starting total, 1-January 5, 16

    channel ORA_DISK_1: finished piece 1-January 5, 16

    piece handle=/u02/bkp/ORAPRIM_inc_42qqkmaq_1_1.bak tag = TAG20160105T190016 comment = NONE

    channel ORA_DISK_1: complete set of backups, time: 00:00:02

    Backup finished on 5 January 16

    Saved controlfile on primary:

    RMAN > backup current controlfile to Eve format ' / u02/bkp/ctl.ctl';

    Cancel recovery in standby mode:

    SYS @ orastb > alter database recover managed standby database cancel;

    Database altered.

    Recover the day before by using the above backup items

    RMAN > recover database noredo;

    From pick up to 5 January 16

    the DISC 2 channel configuration is ignored

    the DISC 3 channel configuration is ignored

    configuration for DISK 4 channel is ignored

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 26 type of device = DISK

    channel ORA_DISK_1: from additional data file from the restore backup set

    channel ORA_DISK_1: specifying datafile (s) to restore from backup set

    destination for the restoration of the data file 00001: /u01/app/oracle/oradata/orastb/system01.dbf

    destination for the restoration of the data file 00003: /u01/app/oracle/oradata/orastb/sysaux01.dbf

    destination for the restoration of the data file 00004: /u01/app/oracle/oradata/orastb/undotbs01.dbf

    destination for the restoration of the data file 00006: /u01/app/oracle/oradata/orastb/users01.dbf

    destination for the restoration of the data file 00057: /u01/app/oracle/oradata/orastb/myts01.dbf

    channel ORA_DISK_1: backup /u02/bkp/ORAPRIM_inc_3uqqkma0_1_1.bak piece reading

    channel ORA_DISK_1: room handle=/u02/bkp/ORAPRIM_inc_3uqqkma0_1_1.bak tag = TAG20160105T190016

    channel ORA_DISK_1: restored the backup part 1

    channel ORA_DISK_1: restore complete, duration: 00:00:01

    Finished recover to 5 January 16

    Restored the controlfile and mounted the day before:

    RMAN > shutdown immediate

    dismounted database

    Instance Oracle to close

    RMAN > startup nomount

    connected to the database target (not started)

    Oracle instance started

    Total System Global Area 939495424 bytes

    Bytes of size 2295080 fixed

    348130008 variable size bytes

    583008256 of database buffers bytes

    Redo buffers 6062080 bytes

    RMAN > restore controlfile eve of ' / u02/ctl.ctl ';

    From 5 January 16 restore

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 20 type of device = DISK

    channel ORA_DISK_1: restore the control file

    channel ORA_DISK_1: restore complete, duration: 00:00:01

    output file name=/u01/app/oracle/oradata/orastb/control01.ctl

    output file name=/u01/app/oracle/fast_recovery_area/orastb/control02.ctl

    Finished restore at 5 January 16

    RMAN > change the editing of the database;

    Statement processed

    output channel: ORA_DISK_1

    Now the data file does not exist on the standby mode:

    SYS @ orastb > alter database recover managed standby database disconnect;

    Database altered.

    SYS @ orastb > select the process, status, sequence # v$ managed_standby;

    STATUS OF PROCESS SEQUENCE #.

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

    CONNECTED ARCH 0

    CONNECTED ARCH 0

    CONNECTED ARCH 0

    ARCH. CLOSING 329

    RFS IDLE 0

    RFS IDLE 330

    RFS IDLE 0

    MRP0 APPLYING_LOG 330

    8 selected lines.

    SYS @ orastb > select name from v$ datafile where ts #= 6;

    NAME

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

    /U01/app/Oracle/oradata/orastb/myts01.dbf

    Hope that gives you a clear picture. You can use this to roll forward day before using the SNA roll forward Eve physical database using RMAN incremental backup | Shivananda Rao

    -Jonathan Rolland

  • Recover the database by rman bkup

    Hello

    It's a question...

    We have one day old hot rman backup on dvd... now that we have lost everything... all the data files, controlfiles... etc...
    but we have the file to archive paper yesterday... on another server...
    We do not know ramn used the catalog database or not...

    How can recover us our database... wht will...

    no idea...

    Hi again!

    Sorry initially I didn't understand exactly what is your problem. The problem with the recovery catalog is a very bad. You cannot know whether or not a catalog of recovery has been used for the backup. But if there's a DB catalog then you can find if you look in your tnsnames.ora or ldap. Somewhere there's a service network for a DB catalog name when it exists. I hope that you got a copy of your tnsnames.ora. If this isn't the case, then I don't know how to find your catalog.

    But besides that recover you DB on a new host, follow these steps:
    1.) install the Oracle software on the new server. It is easier if you use the same structure of directory on the server crashed.
    2.) create a passwordfile on the new server with orapwd

    orapwd -entries x -password pwd -file orapwSID.ora
    

    Please replace x with the maximum number of entries in your new passwordfile and replace SID with the SID of your new DB.
    3.) start RMAN

    rman target /
    

    4.) start your new instance in NOMOUNT.

    startup force nomount;
    

    5.) set your DBID. If you do not know your DBID you can easily get the name of an automatic backup.

    SET DBID 669002767;
    

    6.) create a PFILE/SPFILE for your new DB file or reuse your old if you have a backup

    RUN {
      SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK
      TO 'C:\Backup\%F';
      RESTORE SPFILE FROM AUTOBACKUP;
    }
    

    7.) restore your controlfile.

    shutdown;
    startup force nomount;
    RUN {
      SET CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK
      TO 'C:\Backup\%F';
      RESTORE CONTROLFILE FROM AUTOBACKUP;
    }
    

    8.) mount your database

    shutdown;
    startup mount;
    

    9.) restore and recover data files

    RESTORE database;
    RECOVER database until cancel;
    

    10.) open your database with resetlogs.

    SQL 'ALTER DATABASE OPEN RESETLOGS';
    

    I don't know if it will work because it's too can made on your database and servers that I don't know, but maybe I'll be useful to you.

    Yours sincerely

    Florian W.

    Published by: Florian W. the 21.04.2009 16:43

    Sorry! I forgot something!

  • Need urgent help with the startup of the database

    Hi all

    I use oracle 10g on 32 bits of windower server.

    I try to start my database today and it gives me error, and that's my production database.
    I need very urgent help you. (I have no rman backup, and data are not n6cessoires so, since it is the practice of the student).
    SQL> startup open
    ORACLE instance started.
    
    Total System Global Area  524288000 bytes
    Fixed Size                   790180 bytes
    Variable Size             250343772 bytes
    Database Buffers          272629760 bytes
    Redo Buffers                 524288 bytes
    Database mounted.
    ORA-01110: data file 34: 'G:\ORACLE\DATAFILES_ACADEMY\ACADEMY'
    ORA-01115: IO error reading block from file 34 (block # 1)
    ORA-27070: async read/write failed
    OSD-04016: Error queuing an asynchronous I/O request.
    O/S-Error: (OS 23) Data error (cyclic redundancy check).
    Kind regards.

    Maahjoor wrote:
    Hi dear,

    I need further assistance on your side, I restarted the server, but the same problem.
    as there is a way to drop and re-create a system tablespace? given that the 34 file belong to the tablesapce system.

    concerning

    N °
    So just create a new database. Who will have every ten minutes. And to say that your students to create new storage spaces. Who will be the two minutes.

Maybe you are looking for