Locking before backup database

I wonder if there is a logic to the locking of the database or the tables especially before I perform a full backup critical of my Oracle 11 g R2 (11.2.0.3) database using RMAN utility? I followed using this forum and the manual to configure my FRA RMAN and settings, but that does not explain the documentation makes sense / theory which I have of course not. Should I or you RDBMS veterans recommend that I have somehow freeze the database diagram or table to prevent data being deleted / changed / or added while my RMAN utility backup my forum?

How are they managing guys (not scheduled) backup time if you want to make sure that no change is made before save you?

I'm running the following command to back up my database as previously suggested by Oracle support:
RMAN>backup full as compressed backupset database plus archivelog;

Hello;

I think this can bring an answer:

Coherent RMAN ("COLD"?) Backup and restore

http://hemantoracledba.blogspot.com/2008/05/RMAN-cold-consistent-backup-and-restore.html

I don't worry attempt to freeze the database. That's why we Archive and Flash.

Best regards

mseberg

Tags: Database

Similar Questions

  • RUN 'delete noprompt obsolete' before 'backup database '.

    Hello

    11g on windows 2003, window 3 day recovery

    For almost a year now, I have after having run the script every day to save my database below. Now I begin to run out of disk space and cannot run backup commands unless I run 'delete noprompt obsolete' first.

    backup database tag = database_full_backup;
    backup ARCHIVELOG all delete them tag input = achivelog_backup;
    cross-checking of backup;
    delete the backup expired;
    delete noprompt obsolete;

    Is it a bad idea to rearange the order of commands like below?

    cross-checking of backup;
    delete the backup expired;
    delete noprompt obsolete;
    backup database tag = database_full_backup;
    backup ARCHIVELOG all delete them tag input = achivelog_backup;

    Thanks for any help

    Hello
    No problem. You have configured a window of 3 days recovery, it means you want to be able to restore/recovery sysdate - X (up to 3 X) at any time. RMAN which will always respect, you can "remove obsolete" when you want.
    Best regards
    Phil

  • error in the backup database

    Hello

    I'll put up the previous day datbase (9i release 2), I followed all the steps, the archived logs are transported

    from the primary to the mode standby.

    When I run sql > alter datbase opened read-only. at the rescue site, it gives the following error

    ERROR on line 1:
    ORA-16004: backup database requires recovery
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: ' C:\ORACLE\BKP\PAYROLL\SYSTEM01. DBF'

    data files are located at "C:\ORACLE\BKP\".

    but I'm not able to understand, where he adds directory pays its way

    I checked pfile/spfile and re-created control file

    It doesn't give any error at the point of Mount, but - opening in read only mode datbase error


    his same showing different location of data files


    SQL > select FILE #, CREATION_TIME, TS #, STATUS, ENABLED, NAME from v$ datafile;

    FILE # CREATION_ TS # STATUS ENABLED NAME
    ---------- --------- ---------- ------- ---------- ------------------------------------------------------------
    1 12 MAY 02 0 SYSTEM READ/WRITE C:\ORACLE\BKP\PAYROLL\SYSTEM01. DBF
    2 12 MAY 02 1 READ/WRITE C:\ORACLE\BKP\PAYROLL\UNDOTBS01 ONLINE. DBF
    3 12 MAY 02 3 ONLINE READ/WRITE C:\ORACLE\BKP\PAYROLL\CWMLITE01. DBF
    4 12 MAY 02 4 ONLINE READ/WRITE C:\ORACLE\BKP\PAYROLL\DRSYS01. DBF
    5 12 MAY 02 5 ONLINE READ/WRITE C:\ORACLE\BKP\PAYROLL\EXAMPLE01. DBF
    6 12 MAY 02 6 ONLINE READ/WRITE C:\ORACLE\BKP\PAYROLL\INDX01. DBF
    7-12 MAY 02 7 ONLINE READ/WRITE C:\ORACLE\BKP\PAYROLL\ODM01. DBF
    8-12 MAY 02 8 ONLINE READ/WRITE C:\ORACLE\BKP\PAYROLL\TOOLS01. DBF
    9-12 MAY 02 9 ONLINE READ/WRITE C:\ORACLE\BKP\PAYROLL\USERS01. DBF
    10-12 MAY 02 10 ONLINE READ/WRITE C:\ORACLE\BKP\PAYROLL\XDB01. DBF

    but the real place is C:\ORACLE\BKP\

    Published by: user7864753 on October 19, 2009 17:33

    You use in your standby init.ora file parameter

     DB_FILE_NAME_CONVERT='C:\oracle\oradata\','C:\oracle\bkp\ 
    

    It takes DB_FILE_NAME_CONVERT = 'C:\oracle\oradata\payroll\','C:\oracle\bkp\

    Make that change and try again. Before attempting to open the day before in mode readonly make sure that this expectation is able to run in managed mode.
    As your alert.log file shows that whenever tryes standby to run in managed mode, it is written error. So, logacially, your standby configuration isn't always
    completed. So, you cannot open the database pending.

  • ORA-16772: shift to a backup database has no problem

    Hi all

    Can someone please help me with this situation, because I'm stuck. I already look at metalink but no post doesn't solve my problem.

    Here is some information on my problem.

    I have 2 servers via Vmware - oraclenode1 with primary database TEST1 and oraclenode2 with database ensures TEST2.

    Transfer journal successfully, but when I try to switch to the "TEST2" it throws me an error - ORA-16772: switching to a backup database failed

    DGMGRL > see Configuring

    Configuration - DGConfig1

    Protection mode: MaxPerformance

    Databases:

    Test1 - primary

    Test2 - Physical standby database

    Fast-Start Failover: DISABLED

    The configuration status:

    SUCCESS

    my listeners

    PRIMARY

    Oracle@oraclenode1 trace] $ lsnrctl status

    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 2 November 2015 06:55:24

    Copyright (c) 1991, 2009, Oracle.  All rights reserved.

    Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=oraclenode1) (PORT = 1521))

    STATUS of the LISTENER

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

    Alias LISTENER

    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production

    Start date 2 November 2015 03:56:41

    Uptime 0 days 2 h 58 min 42 s

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file

    The listener log file /U01/app/Oracle/diag/tnslsnr/oraclenode1/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=192.168.0.151) (PORT = 1521)))

    Summary of services...

    Service 'TEST1' has 1 instance (s).

    Instance "TEST1", status UNKNOWN, has 1 operation for this service...

    Service 'TEST1_DGMGRL' has 1 instance (s).

    Instance "TEST1", status UNKNOWN, has 1 operation for this service...

    The command completed successfully

    [oracle@oraclenode1 path] $ cat /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    LISTENER =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = tcp)(HOST=oraclenode1) (PORT = 1521))

    (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1571))

    )

    # What's new

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = TEST1)

    (SID_NAME = TEST1)

    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)

    )

    (SID_DESC =

    (GLOBAL_DBNAME = TEST1_DGMGRL)

    (SID_NAME = TEST1)

    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)

    )

    )

    STANDBY

    [oracle@oraclenode2 path] $ lsnrctl status

    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 2 November 2015 06:55:02

    Copyright (c) 1991, 2009, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=oraclenode2) (PORT = 1521)))

    STATUS of the LISTENER

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

    Alias LISTENER

    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production

    Start date 2 November 2015 06:49:19

    Uptime 0 days 0 h 5 min 43 s

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora file

    The listener log file /U01/app/Oracle/diag/tnslsnr/oraclenode2/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=oraclenode2) (PORT = 1521)))

    Summary of services...

    Service 'TEST2' has 2 occurrences.

    Instance "TEST2", status UNKNOWN, has 1 operation for this service...

    Instance "TEST2", State LOAN, has 1 operation for this service...

    Service 'TEST2_DGB' has 1 instance (s).

    Instance "TEST2", State LOAN, has 1 operation for this service...

    Service 'TEST2_DGMGRL' has 1 instance (s).

    Instance "TEST2", status UNKNOWN, has 1 operation for this service...

    The command completed successfully

    [oracle@oraclenode2 path] $ cat /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    # What's new

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = TEST2)

    (SID_NAME = TEST2)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    )

    (SID_DESC =

    (GLOBAL_DBNAME = TEST2_DGMGRL)

    (SID_NAME = TEST2)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = oraclenode2) (PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/oracle

    IAM able to connect from standby and watch primary elementary school

    Here is the configuration each databases dgmgrl

    DGMGRL > see the database 'TEST1' verbose;

    Database - TEST1

    Role: PRIMARY

    State of destination: TRANSPORT-WE

    Occurrence (s):

    TEST1

    Properties:

    DGConnectIdentifier = "test1".

    ObserverConnectIdentifier = "

    LogXptMode = "ASYNC".

    DelayMins = '0'

    Binding = "optional."

    MaxFailure = '0'

    MaxConnections = '1'

    ReopenSecs = "300"

    NetTimeout = "30"

    RedoCompression = "DISABLE."

    LogShipping = 'ON '.

    PreferredApplyInstance = "

    ApplyInstanceTimeout = '0'

    ApplyParallel = 'AUTO '.

    StandbyFileManagement = 'AUTO '.

    ArchiveLagTarget = '0'

    LogArchiveMaxProcesses = "4"

    LogArchiveMinSucceedDest = '1'

    DbFileNameConvert = "

    LogFileNameConvert = "

    FastStartFailoverTarget = "

    StatusReport = "(monitor).

    InconsistentProperties = "(monitor).

    InconsistentLogXptProps = "(monitor).

    SendQEntries = "(monitor).

    LogXptStatus = "(monitor).

    RecvQEntries = "(monitor).

    HostName = "oraclenode1.localdomain."

    Nom_sid = "TEST1".

    StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=oraclenode1.localdomain) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = TEST1_DGMGRL) (INSTANCE_NAME = TEST1)(SERVER=DEDICATED)))'

    StandbyArchiveLocation = ' / u01/app/oracle/flash_recovery_area /'

    AlternateLocation = "

    LogArchiveTrace = '0'

    LogArchiveFormat = '% t_%s_%r.dbf '.

    TopWaitEvents = "(monitor).

    State of the database:

    SUCCESS

    DGMGRL > see the detailed database "TEST2."

    Database - TEST2

    Role: STANDBY PHYSICS

    State of destination: apply

    Transport Lag: 0 seconds

    Apply the Lag: 10 minutes 24 seconds

    Real-time query: OFF

    Occurrence (s):

    TEST2

    Properties:

    DGConnectIdentifier = 'test2 '.

    ObserverConnectIdentifier = "

    LogXptMode = 'ARCH '.

    DelayMins = '0'

    Binding = "OPTIONAL."

    MaxFailure = '0'

    MaxConnections = '1'

    ReopenSecs = "300"

    NetTimeout = "30"

    RedoCompression = "DISABLE."

    LogShipping = 'ON '.

    PreferredApplyInstance = "

    ApplyInstanceTimeout = '0'

    ApplyParallel = 'AUTO '.

    StandbyFileManagement = 'AUTO '.

    ArchiveLagTarget = '0'

    LogArchiveMaxProcesses = "30"

    LogArchiveMinSucceedDest = '1'

    DbFileNameConvert = "/ TEST1 /, / TEST2 /.

    LogFileNameConvert = "/ TEST1 /, / TEST2 /.

    FastStartFailoverTarget = "

    StatusReport = "(monitor).

    InconsistentProperties = "(monitor).

    InconsistentLogXptProps = "(monitor).

    SendQEntries = "(monitor).

    LogXptStatus = "(monitor).

    RecvQEntries = "(monitor).

    HostName = "oraclenode2.localdomain."

    Nom_sid = 'TEST2 '.

    StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=oraclenode2.localdomain) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = TEST2_DGMGRL) (INSTANCE_NAME = TEST2)(SERVER=DEDICATED)))'

    StandbyArchiveLocation = ' / u01/app/oracle/flash_recovery_area /'

    AlternateLocation = "

    LogArchiveTrace = '0'

    LogArchiveFormat = '% t_%s_%r.dbf '.

    TopWaitEvents = "(monitor).

    State of the database:

    SUCCESS

    and here are the logs at the time of the digital switchover

    primary

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.362: CRS to notify the primary database of disassembly of the passage to the

    2015-11-02 06:52:28.362 ACLS: not configured CRS, config = 2

    .

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.362: display primary instances for PASSAGE of phase 1

    2015-11-02 06:52:28.362 INSV: message received for publication of inter - the instance

    2015-11-02 06:52:28.362 req ID 1.1.516864462, CTL_SWITCH opcode, phase BEGIN, 5 flags

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.362: State of rfi_post_instances() for CTL_SWITCH = ORA-00000

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.363: dispersants message to STANDBY for TRANSITION phase BEGIN

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.363: entered rfmsoexinst for phase 1

    2015-11-02 06:52:28.363 INSV: response for message with

    2015-11-02 06:52:28.363 req ID 1.1.516864462, CTL_SWITCH opcode, phase BEGIN

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.365: primary instances display for transition to THE phase 2

    2015-11-02 06:52:28.365 INSV: message received for publication of inter - the instance

    2015-11-02 06:52:28.366 req ID 1.1.516864462, opcode CTL_SWITCH, disassembling, 5 flags

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.366: State of rfi_post_instances() for CTL_SWITCH = ORA-00000

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.366: dispersants message to STANDBY for transition to THE phase of DISMANTLING

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.366: entered rfmsoexinst for phase 2

    2015-11-02 06:52:28.366 RSM0: received the State value ask: rid = 0 x 01041001, sid = 0, phid = 1, econd = 2, sitehndl = 0 x 02001000

    2015-11-02 06:52:28.366 Log transport resources: SetState OFFLINE, DISASSEMBLY phase, external Cond SWITCH-OVER-PHYS_STBY

    2015-11-02 06:52:28.367 RSM0: received the State value ask: rid = 0 x 01011001, sid = 4, phid = 1, econd = 2, sitehndl = 0 x 02001000

    2015-11-02 06:52:28.367 [IAM = PRIMARY] Resource database: 0 x 02001000 SetState PHYSICAL-APPLY-ON, DISASSEMBLY phase, external Cond SWITCH-OVER-PHYS_STBY, handful of Site target

    2015-11-02 06:52:28.367 to execute SQL [ALTER DATABASE COMMIT to SWITCH STANDBY mode PHYSICS WITH the STOP of the SESSION]

    2015-11-02 06:57:50.523 runtime error SQL = 604, sql = [ALTER DATABASE COMMETTRE through to PHYSICAL STANDBY WITH the CLOSING of SESSION]. See the below error stack.

    2015-11-02 06:57:50.524 ORA-00604: error occurred at the SQL level 1 recursive

    2015-11-02 06:57:50.524 ORA-01093: ALTER DATABASE CLOSE allowed only with no connected sessions

    2015-11-02 06:57:50.524 ERROR: has no failover of the database to a database of physical intelligence.

    2015-11-02 06:57:50.524 RSM: compensation IncarnationTable internal property of the site 0 x 01010000

    2015-11-02 error 06:57:50.524 database resource SetState (16772)

    2015-11-02 02001000 516864462 MICHAEL 06:57:50.526: resource guard returned the error: operation = status = ORA-16772

    2015-11-02 02001000 516864462 06:57:50.526 resources: TEST1 (01011001) State: PHYSICAL-APPLY-ON

    2015-11-02 06:57:50.526 02001000 516864462 CTL_SWITCH operation cancelled during phase 2, error = ORA-16772

    2015-11-02 06:57:50.526 INSV: response for message with

    2015-11-02 06:57:50.527 req ID 1.1.516864462, CTL_SWITCH, disassembling opcode

    2015-11-02 02001000 516864462 MICHAEL 06:57:50.527: Instance ID 1 returned ORA-16772

    2015-11-02 06:57:50.527 02001000 516864462 for disassembling of op CTL_SWITCH.

    2015-11-02 06:57:50.527 02001000 516864462 CTL_SWITCH operation cancelled during phase 2, error = ORA-16772

    2015-11-02 02001000 516864462 MICHAEL 06:57:50.527: display primary instances for PASSAGE of phase 5

    2015-11-02 06:57:50.527 INSV: message received for publication of inter - the instance

    2015-11-02 02001000 516864462 MICHAEL 06:57:50.527: State of rfi_post_instances() for CTL_SWITCH = ORA-00000

    2015-11-02 06:57:50.528 req ID 1.1.516864462, CTL_SWITCH opcode, phase END, 5 flags

    2015-11-02 02001000 516864462 MICHAEL 06:57:50.528: passage to the aborted due to errors

    2015-11-02 02001000 516864462 named Site 06:57:50.528: TEST1 is always primary

    2015-11-02 02001000 516864462 error 06:57:50.528 = ORA-16772

    2015-11-02 02001000 516864462 MICHAEL 06:57:50.528: dispersants message to STANDBY for PASSING phase END

    2015-11-02 06:57:50.528 INSV: response for message with

    2015-11-02 06:57:50.528 req ID 1.1.516864462, CTL_SWITCH opcode, phase END

    2015-11-02 06:58:18.647 NSV1: Site TEST2 returned ORA-16665.

    2015-11-02 06:58:33.642 NSV1: Site TEST2 returned ORA-16665.

    2015-11-02 06:58:48.648 NSV1: Site TEST2 returned ORA-16665.

    2015-11-02 06:59:03.653 NSV1: Site TEST2 returned ORA-16665.

    2015-11-02 06:59:18.658 NSV1: Site TEST2 returned ORA-16665.

    2015-11-02 06:59:33.665 NSV1: Site TEST2 returned ORA-16665.

    2015-11-02 06:59:48.670 NSV1: Site TEST2 returned ORA-16665.

    2015-11-02 07:00:03.676 NSV1: Site TEST2 returned ORA-16665.

    2015-11-02 07:00:18.680 NSV1: Site TEST2 returned ORA-16664.

    2015-11-02 02001000 516864462 MICHAEL 07:00:18.680: TEST2 database returned ORA-16664

    2015-11-02 07:00:18.682 02001000 516864462 opcode = CTL_SWITCH, phase = END, req_id = 1.1.516864462

    2015-11-02 07:00:18.682 02001000 516864462 CTL_SWITCH operation cancelled during phase 5, error = ORA-16664

    2015-11-02 02001000 516864462 MICHAEL 07:00:18.682: entered rfm_release_chief_lock() for CTL_SWITCH

    2015-11-02 01010000 516864464 MICHAEL 07:00:18.693: entered rfm_get_chief_lock() for EDIT_RES_PROP, reason 0

    2015-11-02 01010000 516864464 MICHAEL 07:00:18.751: entered rfm_get_chief_lock() for EDIT_RES_PROP, reason 0

    2015-11-02 01010000 516864464 MICHAEL 07:00:18.752: lock head convert to writing op EDIT_RES_PROP

    2015-11-02 01010000 516864464 MICHAEL 07:00:18.752: EDIT_RES_PROP: success

    2015-11-02 01010000 516864464 MICHAEL 07:00:18.752: critical state of STANDBY in configuration assessment

    2015-11-02 01010000 516864464 MICHAEL 07:00:18.752: the critical condition of 0 x 02010000

    2015-11-02 01010000 516864464 ChangeCritical value 07:00:18.752 is FALSE

    2015-11-02 01010000 516864464 IsCritical 07:00:18.752 is FALSE

    2015-11-02 07:00:18.752 MICHAEL: update Seq.MIV to 0.17, write metadata in ' / u01/app/oracle/product/11.2.0/dbhome_1/dbs/dr2TEST1.dat '.

    2015-11-02 07:00:18.760 INSV: message received for publication of inter - the instance

    2015-11-02 07:00:18.760 req ID 1.1.516864464, EDIT_RES_PROP opcode, RESYNCHRONIZATION, flags 8005

    2015-11-02 07:00:18.760 INSV: response for message with

    2015-11-02 07:00:18.760 req ID 1.1.516864464, opcode EDIT_RES_PROP, phase of RESYNCHRONIZATION

    2015-11-02 07:00:18.761 NSV1: (Seq.MIV = 0.17) start to send the metadata file: "/ u01/app/oracle/product/11.2.0/dbhome_1/dbs/dr2TEST1.dat".

    2015-11-02 07:00:18.765 NSV1: block sending #1 (containing Seq.MIV = 0.17), 3 blocks

    2015-11-02 07:00:18.767 NSV1: (Seq.MIV = 0.17) end of transmission of metadata files: opcode EDIT_RES_PROP (1.1.516864464)

    2015-11-02 01010000 516864464 MICHAEL 07:00:18.771: IncarnationTable the value 1,1,894614568,0 property * for database TEST1

    2015-11-02 01010000 516864464 MICHAEL 07:00:18.771: entered rfm_release_chief_lock() for EDIT_RES_PROP

    2015-11-02 07:03:45.002 516864468 00001000 MICHAEL: entered rfm_get_chief_lock() for MON_VERIFY, reason 0

    2015-11-02 07:03:45.002 516864468 00001000 MICHAEL: lock head convert to customer healthcheck

    2015-11-02 07:03:45.003 INSV: message received for publication of inter - the instance

    2015-11-02 07:03:45.003 req ID 1.1.516864468, MON_VERIFY opcode, phase BEGIN, 5 flags

    2015-11-02 07:03:45.070 INSV: response for message with

    2015-11-02 07:03:45.071 req ID 1.1.516864468, MON_VERIFY opcode, phase BEGIN

    2015-11-02 07:03:45.075 00000000 516864468 MICHAEL: entered rfm_release_chief_lock() for MON_VERIFY

    2015-11-02 07:03:59.377 RSM0: receipt get Request property: rid = 0 x 01010000, pid = 47

    2015-11-02 07:03:59.378 of database Resource: get the StatusReport property

    2015-11-02 07:03:59.435 database Resource successful GetProperty

    2015-11-02 01010000 516864469 MICHAEL 07:03:59.435: MON_PROPERTY finished

    2015-11-02 01010000 516864470 MICHAEL 07:03:59.440: GET_RES: success. (len = 9846)

    2015-11-02 01010000 516864470 MICHAEL 07:03:59.441: GET_RES finished

    2015-11-02 02010000 516864471 MICHAEL 07:04:23.258: MON_PROPERTY sent the TEST2 for treatment

    2015-11-02 02010000 516864471 MICHAEL 07:04:23.326: MON_PROPERTY finished

    2015-11-02 02010000 516864472 MICHAEL 07:04:23.330: MON_PROPERTY sent the TEST2 for treatment

    2015-11-02 02010000 516864472 MICHAEL 07:04:23.337: MON_PROPERTY finished

    2015-11-02 02010000 516864473 MICHAEL 07:04:23.339: MON_PROPERTY sent the TEST2 for treatment

    2015-11-02 02010000 516864473 MICHAEL 07:04:23.346: MON_PROPERTY finished

    2015-11-02 02010000 516864474 MICHAEL 07:04:23.351: GET_RES: success. (len = 9911)

    2015-11-02 02010000 516864474 MICHAEL 07:04:23.352: GET_RES finished

    Journal of primary education alerts

    My 02 Nov 06:52:28 2015

    ALTER DATABASE COMMIT TO SWITCH STANDBY MODE PHYSICS WITH THE STOP OF THE SESSION

    ALTER DATABASE COMMIT to SWITCH STANDBY mode PHYSICS [process Id: 5160] (TEST1)

    My 02 Nov 06:52:30 2015

    Thread 1 Advanced to record the sequence 80 (switch LGWR)

    Currently Journal # 2 seq # 80 mem # 0: /u01/app/oracle/TEST1/redo02.log

    Waiting for all non-current archive ORLs...

    Waiting for thread 1 sequence 79 ORL to archive...

    My 02 Nov 06:52:30 2015

    Arc0: Standby redo log file selected for thread 1 sequence 79 for destination LOG_ARCHIVE_DEST_2

    Archived journal 61 additional for each sequence 1 79 0x4bcbdbe8 dest ID thread entry 1:

    My 02 Nov 06:52:40 2015

    ENT for thread 1 sequence 79 have been archived...

    All non-current ORLs have been archived.

    Waiting for all FAL entries to archive...

    All FAL entries were archived.

    Waiting for dest_id 2 can be synchronized...

    My 02 Nov 06:52:50 2015

    Physical passage target Active, synchronized sleep has been identified

    My 02 Nov 06:52:50 2015

    SMON: disabling recovery tx

    All dispatchers/dispatchers and shared servers stop

    CLOSING: kill the server sessions.

    My 02 Nov 06:57:50 2015

    CLOSED: do not kill all active sessions

    CLOSURE: Close error 1093 in the database

    My 02 Nov 06:57:50 2015

    SMON: enabling the recovery of tx

    ORA-1093 marked during: ALTER DATABASE COMMETTRE through to PHYSICAL STANDBY WITH STOP SESSION...

    My 02 Nov 06:57:50 2015

    idle dispatcher "D000" completed, pid = (18: 13)

    From OCMS background process

    My 02 Nov 06:57:50 2015

    OCMS started with pid = 20, OS id = 14104

    STANDBY

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.549: display of bodies sleep for transition to THE phase 1

    2015-11-02 06:52:28.549 INSV: message received for publication of inter - the instance

    2015-11-02 06:52:28.549 req ID 1.1.516864462, CTL_SWITCH opcode, phase BEGIN, 5 flags

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.549: entered rfmsoexinst for phase 1

    2015-11-02 06:52:28.549 INSV: response for message with

    2015-11-02 06:52:28.549 req ID 1.1.516864462, CTL_SWITCH opcode, phase BEGIN

    2015-11-02 02001000 516864462 MICHAEL 06:52:28.550: entered rfm_release_chief_lock() for CTL_SWITCH

    2015-11-02 02001000 516864462 MICHAEL 06:57:50.713: entered rfm_get_chief_lock() for CTL_SWITCH, reason 0

    2015-11-02 02001000 516864462 MICHAEL 06:57:50.713: lock head convert for passage to the

    2015-11-02 02001000 516864462 MICHAEL 06:57:50.714: display of bodies sleep for transition to THE phase 5

    2015-11-02 06:57:50.714 INSV: message received for publication of inter - the instance

    2015-11-02 06:57:50.714 req ID 1.1.516864462, CTL_SWITCH opcode, phase END, 5 flags

    2015-11-02 06:57:50.714 INSV: response for message with

    2015-11-02 06:57:50.714 req ID 1.1.516864462, CTL_SWITCH opcode, phase END

    2015-11-02 02001000 516864462 MICHAEL 06:57:50.714: entered rfm_release_chief_lock() for CTL_SWITCH

    2015-11-02 06:58:18.831 drcx: task req_id is not found = 1.1.516864462 for PROBE.

    2015-11-02 06:58:33.827 drcx: task req_id is not found = 1.1.516864462 for PROBE.

    2015-11-02 06:58:48.832 drcx: task req_id is not found = 1.1.516864462 for PROBE.

    2015-11-02 06:59:03.837 drcx: task req_id is not found = 1.1.516864462 for PROBE.

    2015-11-02 06:59:18.843 drcx: task req_id is not found = 1.1.516864462 for PROBE.

    2015-11-02 06:59:33.849 drcx: task req_id is not found = 1.1.516864462 for PROBE.

    2015-11-02 06:59:48.855 drcx: task req_id is not found = 1.1.516864462 for PROBE.

    2015-11-02 07:00:03.860 drcx: task req_id is not found = 1.1.516864462 for PROBE.

    2015-11-02 07:00:11.992 NSV0: unable to connect to the remote database TEST1. Error is ORA-12514

    2015-11-02 07:00:11.993 NSV0: could not send message to site TEST1. Error code is ORA-12514.

    2015-11-02 07:00:11.993 MICHAEL: database TEST1 returned ORA-12514

    2015-11-02 07:00:11.993 of opcode = CTL_SWITCH, phase = END, req_id = 1.1.516864462

    2015-11-02 07:00:18.864 drcx: task req_id is not found = 1.1.516864462 for PROBE.

    2015-11-02 07:00:18.946 DRCX: begin to receive the metadata file: "/ u01/app/oracle/product/11.2.0/dbhome_1/dbs/dr2TEST2.dat".

    2015-11-02 07:00:18.950 DRCX: received block #1 (containing Seq.MIV = 0.17), 3 blocks

    2015-11-02 07:00:18.952 DRCX: end of receiver metadata file: opcode EDIT_RES_PROP (1.1.516864464)

    2015-11-02 07:00:18.952 MICHAEL: entered rfm_get_chief_lock() for EDIT_RES_PROP, reason no. 1

    2015-11-02 07:00:18.952 00000000 516864464 MICHAEL: lock head convert for resynchronization of the metadata

    2015-11-02 07:00:18.953 00000000 516864464 MICHAEL: status of published instances of sleep for RESYNCHRONIZATION = ORA-00000

    2015-11-02 07:00:18.953 INSV: message received for publication of inter - the instance

    2015-11-02 07:00:18.953 req ID 1.1.516864464, EDIT_RES_PROP opcode, RESYNCHRONIZATION, flags 8005

    2015-11-02 07:00:18.953 MICHAEL: metadata available (1.1.516864464), loading of ' / u01/app/oracle/product/11.2.0/dbhome_1/dbs/dr2TEST2.dat '.

    2015-11-02 07:00:18.953 to execute SQL [ALTER SYSTEM to REGISTER]

    2015-11-02 07:00:18.953 SQL [ALTER SYSTEM REGISTRY] executed successfully

    2015-11-02 07:00:18.955 MICHAEL:... .committing load memory, Seq.MIV = 0.17

    2015-11-02 07:00:18.955 MICHAEL: check the critical status of this database.

    2015-11-02 07:00:18.955 INSV: response for message with

    2015-11-02 07:00:18.955 req ID 1.1.516864464, opcode EDIT_RES_PROP, phase of RESYNCHRONIZATION

    2015-11-02 07:00:18.956 00000000 516864464 MICHAEL: entered rfm_release_chief_lock() for EDIT_RES_PROP

    2015-11-02 07:03:45.188 516864468 00001000 MICHAEL: entered rfm_get_chief_lock() for MON_VERIFY, reason 0

    2015-11-02 07:03:45.188 516864468 00001000 MICHAEL: lock head convert to customer healthcheck

    2015-11-02 07:03:45.189 INSV: message received for publication of inter - the instance

    2015-11-02 07:03:45.189 req ID 1.1.516864468, MON_VERIFY opcode, phase BEGIN, 5 flags

    2015-11-02 07:03:45.258 INSV: response for message with

    2015-11-02 07:03:45.259 req ID 1.1.516864468, MON_VERIFY opcode, phase BEGIN

    2015-11-02 07:03:45.259 00000000 516864468 MICHAEL: entered rfm_release_chief_lock() for MON_VERIFY

    2015-11-02 07:04:23.445 RSM0: receipt get Request property: rid = 0 x 02010000, pid = 47

    2015-11-02 07:04:23.445 of database Resource: get the StatusReport property

    2015-11-02 07:04:23.509 database Resource successful GetProperty

    2015-11-02 02010000 516864471 MICHAEL 07:04:23.510: MON_PROPERTY finished

    2015-11-02 07:04:23.516 RSM0: receipt get Request property: rid = 0 x 02010000, pid = 58

    2015-11-02 07:04:23.516 of database Resource: get the TransportLag property

    2015-11-02 07:04:23.518 database Resource successful GetProperty

    2015-11-02 02010000 516864472 MICHAEL 07:04:23.519: MON_PROPERTY finished

    2015-11-02 07:04:23.525 RSM0: receipt get Request property: rid = 0 x 02010000, pid = 59

    2015-11-02 07:04:23.525 of database Resource: get the ApplyLag property

    2015-11-02 07:04:23.529 database Resource successful GetProperty

    2015-11-02 02010000 516864473 MICHAEL 07:04:23.530: MON_PROPERTY finished

    Suspend alerts log

    Fatal OR connect 12514 error, connect to:

    (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST=oraclenode1) (PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = TEST1_DGB) (CID = (PROGRAM = oracle) (HOST = oraclenode2.localdomain)(USER=oracle)))

    VERSION INFORMATION:

    AMT for Linux: Version 11.2.0.1.0 - Production

    Protocol TCP/IP NT to Linux adapter: Version 11.2.0.1.0 - Production

    Time: 2 November 2015 07:18:40

    Tracing not lit.

    AMT error struct:

    NS main err in code: 12564

    AMT-12564: TNS:connection refused

    NS secondary err code: 0

    NT main err in code: 0

    NT secondary err code: 0

    NT OS err code: 0

    Mon 02 Nov 07:19:25 2015

    RFS [5]: Journal selected 4 for thread 1 81 dbid 1271656936 branch of the 894614568 sequence

    Mon 02 Nov 07:19:25 2015

    Archived journal 34 extra for each sequence 1 81 0x4bcbdbe8 dest ID thread entry 1:

    Mon 02 Nov 07:19:25 2015

    RFS [6]: assigned to the RFS 5215 process

    RFS [6]: identified the type of database such as 'physical' standby: customer is ARCH pid 4933

    Mon 02 Nov 07:19:25 2015

    Recovery Media Log /u01/app/oracle/flash_recovery_area/1_81_894614568.dbf

    Media, recovery waiting for thread 1 sequence 82

    I guess that there something wrong with the configuration of the listener but no mater what im not able to find what.

    Thanks for all your answers

    One thing is sure to have active sessions that does not make the transition to digital. Query the session$ v, identify sessions and try to kill them at the DB level. Please refer to my previous post.

    If it is still a problem, then I think you might be hitting the bug.

    -Jonathan Rolland

  • Recovery window retention policy removes the archive logs before backup?

    Hi all

    Oracle 11G on Windows 2008 R2

    This afternoon, I've changed my retention policy RMAN "RETENTION POLICY 3 REDUNDANCY"on RECOVERY WINDOW OF 3 DAYS RETENTION POLICY

    However, I checked tonight and after that my daily backup, all the archive before backup logs had been removed! So that means I don't think I can restore to any point in time, before my daily backup. All newspapers .arc were there after the backup. Then I tried another test and began the daily backup again. During the backup process, archive logs were deleted again! Now, I don't have any archives of newspapers...

    Is this good behavior OF RETENTION POLICY RECOVERY WINDOW? I thought that she would keep all the files needed for to restore me to any point in time for the previous 3 days. When I used a REDUNDANCY, with my daily backups, he kept 3 days of backups + archiving logs so that I could restore point-in-time at any point. How can I use WINDOW RECOVERY so that I can actually restore to any point in time for the 3 days?

    I wanted to change WINDOW of recovery, since I read that using the REDUNDANCY, it keeps only X copy a backup (so if I ran the backup 3 times a day, I would have only these 3).

    Thanks in advance.

    After a database RESTORE, Oracle tries to RECOVER a DATABASE.  He tries to 'find' the archivelogs for this phase in the location expected archivelog.  If they are NOT present in the location expected archivelog, it attempts to restore backups before applying them.

    Since your BACKUP... DELETE ENTRY deletes the archivelogs after that that they are saved, Oracle will have to use backups to recover the archivelogs.

    Hemant K Collette

  • How to activate the Guard Data after test on the backup database

    Hi all

    I have a plan for the test of standby database and this is my plan

    1. check the gap newspaper archive and transfer the logs to check if necessary

    2. stop the replication Data Guard

    3 stop Standby Database

    4 back-up Standby Database before the test

    5. starting Standby Database to test (and main database fixed by using the user and performs operations during testing)

    After trials and Active Data Guard

    1 restore a database to the standby since before the backup set

    2. start Standby Database in the mode standby

    3. check Data Guard

    I have a question. Can I use log archiving of primary to apply pending before activate Data Guard? or must reconfigure DataGuard to activate Data Guard after having tested?

    Thank you

    Hiko

    Yes you can do it.

    following the procedure below.

    1 apply the logs to archive left on the previous day.

    2. the database pending judgment.

    3. take backup controlfile and data files.

    4. start the database in the editing phase.

    5. turn on the standby database. 'alter database activate standby database'

    6. then do what ever you want to test.

    7. once it is filled the database ensures activated.

    8. restoration of the database from the backup.

    9. then start appplying archive of the last archive applied before the database was arrested.

  • Activate the backup database

    Hi gurus,

    Had a small request for you guys, I have a production and a configuration of standby on Windows 2003 (10.2.0.4) database, my day has been recovered up to archive log 883, because of some problems with my production, I activated my database pending. Because the standby mode is enabled, the database gets open resetlogs. My archives to start generating sequences 1,2,3...

    But now when I query v$ archived_log to verify that the sequence max # generated it still shows as 883... as opposed to 6 which is my creation of journal number of archive.

    According to my understanding, when activate us a backup database, the wait flag of database in the control file is reset so that the control file behaves like that of the production database (I know that I am using profane taps here)... so, what makes the view v$ archived_log show the old value of sequence # before activation rather than the new value after activation?

    Help or direction in this on your side you would know...

    Thank you
    Aurélie

    Interesting...

    I think why you faced with this is, the v$ archived_log retrieves the information from the control file and the control file keeps the information up to it's minimum (default 7 days) retention period. Now even if you did resetlog on the database, the old are always stored in the controlfile according to its retention period, controlled by the parameter "control_file_record_keep_time". Please refer to 'archive log list' for the correct sequence number.

    C:\Documents and Settings\sakumar>set oracle_sid=santu
    
    C:\Documents and Settings\sakumar>sqlplus /nolog
    
    SQL*Plus: Release 11.1.0.6.0 - Production on Sat Feb 6 07:17:16 2010
    
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    
    SQL> conn /as sysdba
    Connected.
    SQL> shu immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    
    Total System Global Area  535662592 bytes
    Fixed Size                  1334380 bytes
    Variable Size             176161684 bytes
    Database Buffers          352321536 bytes
    Redo Buffers                5844992 bytes
    Database mounted.
    
    SQL> recover database until cancel;
    Media recovery complete.
    SQL> alter database open resetlogs;
    
    Database altered.
    
    SQL> select max(sequence#) from v$archived_log;
    
    MAX(SEQUENCE#)
    --------------
                16
    
    SQL> archive log list
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     1
    Next log sequence to archive   1
    Current log sequence           1
    SQL>
    

    I hope that's what you wanted to ask. Now once again, it would be interesting to see what the result of the query on v$ archived_log after the retention period.

    Kind regards
    S.K.

  • command to list the files corrupted before backup taken in rman

    Hi, I'm new to oracle.
    the basic work.

    Please tell me how to find which files are all corrupt before taking backup
    and also on the backup of the value number...

    previously, Ive tried the following command.

    (1) VALIDATE THE DATABASE

    (2) TO VALIDATE THE BACKUP DATABASE

    but he returns the error message.
    PL send me syntax for it.

    THX

    Poorna Prakash wrote:
    Hello

    Im trying to use the command 'validate the database'.
    but it displays error.

    What will be the exact command.

    THX.

    You use the right command?

    Recovery Manager: Release 11.2.0.1.0 - Production on Mon Jan 25 09:45:30 2010
    
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    
    connected to target database: ORCL (DBID=1236984247)
    
    RMAN> backup validate database;
    
    Starting backup at 25-JAN-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=1 device type=DISK
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00001 name=/u01/app/oracle/oradata/orcl/system01.dbf
    input datafile file number=00002 name=/u01/app/oracle/oradata/orcl/sysaux01.dbf
    input datafile file number=00005 name=/u01/app/oracle/oradata/orcl/example01.dbf
    input datafile file number=00003 name=/u01/app/oracle/oradata/orcl/undotbs01.dbf
    input datafile file number=00004 name=/u01/app/oracle/oradata/orcl/users01.dbf
    .
    .
    .
    .
    

    HTH
    Aman...

  • backup database - backup multiple sets of 1 piece 1 statement each

    Hi all!

    I have an ORACLE database 11 GR 1 material running on RHEL X86_64 5.7. The size of the database is approximately 800 GB.

    This is the current configuration of RMAN:

    CONFIGURE REDUNDANCY 2 RETENTION STRATEGY;

    CONFIGURE BACKUP OPTIMIZATION

    SET UP DEFAULT DISK DEVICE TYPE;

    CONFIGURE CONTROLFILE AUTOBACKUP ON;

    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT for DEVICE TYPE DISK TO ' / d02/rman_backups/%T_%F';

    SET UP THE DEVICE TYPE DISK PARALLELISM 1 BACKUP TO COMPRESSED BACKUPSET TYPE;

    CONFIGURE BACKUP OF DATA TO DISK FILE TYPE DEVICE TO 1; # by default

    CONFIGURE BACKUP ARCHIVELOG FOR DEVICE TYPE DISK TO 1; # by default

    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT ' / d02/rman_backups/%T_%U' MAXPIECESIZE 60 G;

    CONFIGURE MAXSETSIZE TO UNLIMITED; # by default

    CONFIGURE ENCRYPTION OF DATABASE # by default

    CONFIGURE THE ENCRYPTION ALGORITHM "AES128"; # by default

    CONFIGURE THE "ZLIB" COMPRESSION ALGORITHM

    CONFIGURE THE NONE ARCHIVELOG DELETION POLICY; # by default

    CONFIGURE SNAPSHOT CONTROLFILE NAME TO ' / d01/dev/db/tech_st/11.1.0/dbs/snapcf_DEV.f'; # by default

    It's my 'RUN' block to create a single full backup:

    RUN

    {

    SHUTDOWN IMMEDIATE;

    BOOTABLE MEDIA;

    BACKUP DATABASE;

    OBSOLETE REPORT;

    REMOVE OBSOLETE;

    ALTER DATABASE OPEN;

    }

    Backup of days RMAN created 1 backup set made up of 5 pieces: 4 pieces of 60GB and 1 piece of 42 GB as well as saving the file spfile and control... for me this is the expected behavior.

    But today, RMAN created 34 games backup of 1 piece of each... parts are no more than 7 GB.

    It is the output for control of BACKUP of LIST SUMMARY:

    Backup list

    ===============

    S LV TY Device Type delay #Pieces compressed #Copies Tag key

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

    39. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    40. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    41. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    42. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    43. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    44. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    45. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    46. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    47. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    48. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    49. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    50. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    51. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    52. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    53. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    54. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    55. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    56. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    57. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    58. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    59. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    60. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    61. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    62. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    63. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    64. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    65. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    66. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    67. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    68. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    69. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    70. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    71. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    72. A DISC APRIL 18, 14 1 1 YES TAG20140418T015553

    73. A DISC 18 APRIL 14 1 1 no TAG20140418T065039

    Please help me to reconfigure RMAN to create the backup set 1, composed by the "n" backup items.

    I appreciate your time and your help nicely.

    MAXSETSIZEsizeSpec Specifies a maximum size for a backup (as shown in example 2-17). RMAN limit all backup sets to this size.

    It is possible for a game span multiple tapes, sort of blocks from each data file is written to multiple backup tapes. If a tape of a multivolume backup set fails, then you lose the data on all bands, rather than a single one. Because a backup set always includes an entire file rather than the part of a file, you can use MAXSETSIZE to specify that each backup set should fit on a single tape.

    Specify the size in bytes (default), kilobytes ( K ), Mo ( M ), or gigabytes ( G ). For example, to limit a game to 3 MB of backup, specify MAXSETSIZE 3M . The default size is expressed in bytes, rounded to kilobytes. For example, MAXSETSIZE 3000 is rounded to 2 k (2048 bytes). The minimum value must be greater than or equal to the database block size.

    The number of files in each default backup set is determined by FILESPERSET , which by default is 64. When you specify MAXSETSIZE , RMAN attempts to limit the size in bytes of the backup sets according to the MAXSETSIZE parameter. The limit on the number of files in a backup set applies even if the total size of the backup set that results is lower to MAXSETSIZE .

    Note: This option will result in an error if used with BACKUP AS COPY . If you run BACKUP AS COPY on a channel that has MAXSETSIZE value, then MAXSETSIZE is ignored in silent mode.

  • modify the INSTANCENAME parameter after the backup database

    Hello

    our primary database is configured as follows:

    SQL > show parameter db_name;
    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    db_name string prod01


    SQL > show the INSTANCENAME parameter
    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    instance_name string prod01

    the corresponding backup database is configured as:

    SQL > show parameter db_name;
    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    db_name string prod01


    SQL > show the INSTANCENAME parameter
    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    instance_name string stbyprod01

    Now, the standby database must be enabled. Later, I want to change the stbyprod01 to prod01 INSTANCENAME parameter.

    The question now is: what does take to change the INSTANCENAME parameter? In fact the database pending will be

    already be activated and be considered and treated as a stand-alone database. The former primary database will be used no more.

    I would like to do the following:

    SQL > create pfile = 'initprod01.ora' of spfile;

    SQL > shutdown immediate;

    Oracle # > change the pfile file and change the stbyprod01 to prod01 INSTANCENAME parameter

    SQL > startup;

    SQL > create spfile = 'spfileprod01.ora' of pfile;

    SQL > shutdown immediate;

    SQL > startup;

    That should be all - from my point of view (I know that LISTENER.) ORA and TNSNAMES. ORA should be modified, too).

    If someone has already experiences with the INSTANCENAME parameter change but sees some additional configurations: Please let me know!

    Rgds

    Jan

    1. you can use "alter system set instance_name" to change the value of the instance name.

    2. you must do the following to activate the standby database (NOTE:-this is only for the activation of the backup database and not the passage to digital database)

    1 startup nomount

    2. change the base of Mount Eve.

    3. change the database activate the database pending.

    4. change the database open.

  • Question about article PLUS ARCHIVELOG to BACKUP DATABASE

    Version: 10.2,11.1, 11.2
    Platform: AIX 6.1

    We use
    BACKUP DATABASE PLUS ARCHIVELOG;.
    to save our DBs.

    Occasionally, we get
    RMAN-06059: expected archived log not found, lost of archived log compromises recoverability
    and RMAN error and stops its execution.

    We want to know if done RMAN backup comics first and then started taking the log of archiving backup. If this isn't the case, then we will use simple command BACKUP DATABASE for DB FULL backup and then take the backup logs arch separately. We do not want our DB FULL backup to fail due to problems of archivelog.

    Hello

    RMAN backup archives first, and then proceeds to the backup of data files.

    Once the backup of data files is performed and if all the archives get generated during the backup process, then these archives was finally saved.

  • How to lock before the send in pdf form but AFTER the validation check

    I have this javascript on my form submit button, (who submits in pdf format).

    Form1. MainPage.Submit::preSubmit:form - (JavaScript, client)

    If (form1.execValidate () is true)
    {
    Form1. MainPage.Submit.presence = "invisible";
    Form1.access = "protected";
    }

    The problem is that I don't want the form fields to be protected until all of the fields have been validated.  After validation, I want the whole pdf locked before the pdf file is submitted.  I have this script the submit events, but he doesn't know the "form1.access ="protected "; "code.

    The PDF can not lock until all required fields have been filled.  It must lock before being submitted so that the recipient of the form may not change it.  I really try to avoid to have 2 buttons submit or a solution along these lines.  I am at a loss, why I can't get the fields to protect inside the script of "If"?

    Hello

    I don't know why the preSubmit isn't catching the change access. Maybe it's too close for the submission process. You would it be in the mouseUp event of the submit button. It fires immediately before the click event, so should be completed when starting the submission process.

    if (form1.execValidate() == true)
    {
         form1.access = "protected";
    }
    

    Note, however, that this locks everything, including the buttons. Once access is changed to protected you will have no way to change back to open, unless you build in a mechanism.

    All of the solution of Paul is preferable, because it keeps it the buttons open, that would be better that the bid may fail and the user may want to resubmit. There are ways around that as well. Overall, I always recommend the solution of Paul.

    There is a screenshot and explanation here: Re: fillable recording not fillable PDF

    Hope that helps,

    Niall

  • Using RMAN/Flashback to restore or passage / failover to the backup database

    Hello

    I'm new on the protection of the data.  I read the documentation and have implemented the Data Guard for my database of test called PPRD.  So I PPRD for the primary database and PPRD_DR0 for sleep.

    I've implemented the custody of data with the default, maximum Performance. I'm testing. (That's 11 GR 2.  I also use SQL/RMAN to set everything up.  I can implement Grid Control to administer it.

    What I was asking is - as the case may be, are there times where I'm better NOT do a failover to the standby?  Given that the PPRD is in archivelog mode (of course) and we have full and incremental backups archivelogs all being written to the disc, AND my expectation is mode maximum performance... is there times where there was NO data loss by restoring the database and he recovering from RMAN? Indeed, recovery logs are intact, not if the first line of conduct?

    Now, obviously if there is some sort of disaster and the primary is destroyed we would failover to our expectation. But for most typical failures, wouldn't we want to use RMAN and the backups/archivelogs as a first course, because there MAY be loss of data with the maximum performance mode? Also, I know there are views, that we can use to see how in sync is the day before, but I'm a little unclear on this.  At the time of a database problem, if we do not have an automatic failover enabled and configured, exactly how can we check how to synchronize the standby is with the primary?  (I know that this response is common and there, I don't want to ask the obvious question.)

    Since I was in archivelog and flashback as well on mode the primary... If the primary is still intact (but has a problem) I use RMAN, flashback, etc. before making failover/switching in high school?

    Thank you for any response.

    Hello;

    Yes. For me, a failover is a last resort. Ask yourself a few questions:

    My company requires an availability of 100%?

    How long the principal will be not not available?

    How long and how to recover from failover?

    I can make a move to the place?

    Each year we turn off the room of servers for a weekend. What I do, it is a failover, then a switch after the old primary appears as the day before and catch up.

    Here are my notes of failover test:

    http://www.Visi.com/~mseberg/data_guard/Data_Guard_Failover_Test_using_SQL.PDF

    This may help too:

    Roll a standby forward using an RMAN backup to trouble The Nologging changes incremental (Doc ID 958181.1)

    Best regards

    mseberg

  • UNDOTABLESPACE and TABLESPACE TEMP in cold or hot backup database

    Hello

    I have a BACKUP, including logs generated after the backup archive. What is the use of the UNDOTABLESPACE and TABLESPACE TEMP datafile data file backup? When it is used?


    Kind regards

    007

    >
    I have the archives which have all entries are committed in it. Undoinformation is necessary for the restoration and recovery of the database? Can u explain more clearly?
    >

    The archives are as congested entries of redo logs. And the redo logs contain all changes to the database. Information cancellation will be there in the segments of cancellation that there can be some uncommitted transactions active in the segments of cancellation. Cancellation information is necessary to put the database in a consistent state. It is one of very important storage similar to the control file and system tablespace to bring a database

    Edited: Imagine a scenario. You make a backup hot at 07:00. And there are a lot of transactions happening before and during hot backup. For ex, I run a massive update to a table. This will cause the recovery to write logs of recovery that will be eventually written to logs archived. Now, you finish the backup mode. But I have not validated or cancelled my transaction. Say to the reasoning, I roll back the transaction.

    Now, you restore the backup. Do you think that my transaction will be in inconsistent state? Redo logs and archiveed newspapers had my transaction changes/redo entries. If you are not using undo in recovery segments, what will happen to my operation that I rolled back? Without cancel, half of my transaction (even if they were not truly committed) will be sitting in the database. This is where undo tablespace helps us in rolling back the transaction during your recovery. Remember, the cancellation information "peuvent" not all in recovery if you do not a complete database recovery. But Oracle should know that. If you need to undo tablespace in your backup set.

    I hope it's clear now

    Published by: VenkatB on Sep 15, 2011 10:17

  • Backup database MySQL on IIS

    Hi guuys,.

    I have a simple script that backs up the contents of the base and place the file on the server.

    The problem is that this script works well on my Apache Server, but not on the IIS server.

    What I need to change the $command variable or the operation of the system?

    <? PHP
    $backupFile = "... / DBJobs_". Date ("Y-m-d");
    $command = ' mysqldump - opt-h localhost-u (user) Pei (password) dbjobs > $backupFile.sql ";
    System ($Command);

    If ($command) {}
    $mess = "< p > backup file created! < /p > ";
    }
    else {}
    $mess = "< p > there is a problem with the routine backup. < /p > ";
    }
    ? >

    Any help would be much appreciated.

    Again, look at my code. He points to mysqldump.exe, not mysqldump. In addition, the mysqldump.exe path is enclosed in quotes. I have not tested mixing single and double quotes, as the notes in the online PHP manual refers to double quotes. This is why there is a backslash before the quotation marks surrounding the path, because they are locked into a string that also uses double-quotes. Finally, all backslashes in the path are doubled.

    There

    "\"C:\\Program Files\\MySQL\\etc\\mysqldump.exe\" options"
    

    NOT

    "C:\Program Files\MySQL\etc\mysqldump options"
    

Maybe you are looking for