ALTER Database Flashback on 11g R2

Hello

According to my Oracle 11 g R1 Admin II student guide:

You can only enable Flashback Database when the database is mounted in exclusive mode, is not open.

I have been testing it in Oracle 11 g R2 and was able to do when the database is opened.

SQL > alter database open
SQL > alter database flashback on
SQL > alter flashback_on v$ database;

FLASHBACK_ON
YES

Is this something that has changed in Oracle 11 g R2?

Thank you!

Hello
Yes seems the database can be opened in 11 GR 2:
http://download.Oracle.com/docs/CD/E11882_01/backup.112/e10642/flashdb.htm#CFHEHEBA
11 GR 1 material:
http://download.Oracle.com/docs/CD/B28359_01/backup.111/b28270/rcmconfb.htm#BRADV83993
Best regards
Phil

Tags: Database

Similar Questions

  • Physical standby without ALTER DATABASE FORCE LOGGING

    Hello
    Is it possible to use the physics of the standby database without executing ALTER DATABASE FORCE LOGGING primary side?
    Can I use alter tablespace force logginng instead?

    I want to have a tablespace with nologging option to reduce the traffic of again for some operations.

    I can't verify this because I don't have enough servers to build the configuration of Eve.
    Were there any changes between 10g and 11g in necessity of doing ALTER DATABASE FORCE LOGGING?
    

    I see nothing in the documents, and I put them in place on both versions. In fact, my document Oracle 11 for DG of installation works perfectly in Oracle 10.

    I see nothing in the book of Larry to indicate a change.

    http://www.Amazon.com/Oracle-guard-Handbook-Osborne-Oracle/DP/0071621113

    If you are looking for B14239-05 and E10700-02 "Force Logging.

    You will find the exact text even under the exact same section 3.1.1.

    This highlights without change.

    Best regards

    mseberg

    Published by: mseberg on June 8, 2011 10:53

  • "alter database open resetlogs ' not reset one of the data files

    I spent the last few weeks and a half, three years recovery of an oracle database (linux 64-bit of 11g) due to a block corrupted in a newspaper online redo (I thought was written at multiple locations). I have restored the files, some of them around displacement in the process; recovered on the last possible point; files moved to their location; has ran "alter database open resetlogs; and one of the files of data (from a bigfile tablespace) does not reset itself. I checked afterwards, and it has been marked offline. I do not remember placing the file in offline mode and can not find such a statement in my last orders 300 sqlplus, that includes orders while I renamed this file and the controls surrounding rename it.

    Restore/recovery of the new database will take too long and is a remarkably low option. Even if the database was opened correctly, the affected tablespace not would have been addressed in two or three minutes, that the database has been opened. Is it possible to force the oracle again reset newspapers or the difficulty, otherwise this one file to mark with the same date? Allowing only to the resetlogs option after incomplete recovery seems a poor restriction, in particular, if files gliding through like that. I suspect there is a way to simply set the values of control point for the tablespace, but I don't know where to start. This particular file is < 5% of the database, so if I do a sort of backup/restore with all this, it's probably doable.

    Thank you for the necessary information, the image would have been much clearer if you would have posted this initially. There was nothing wrong in procedures that you applied.

    Unfortunately, it seems you hit a bug, the command to reset everything... is alter database open resetlogs, and there is no other command.
    So, Yes, you must go to this door that says more
    'Ogni speranza, voi che entrate leave fare' (leave all hope behind you, you happening. It is the inscription of Hades, the underworld, the Monteverdi's Opera "Orfeo"). This gate is called "My Oracle Support" and if your problem will be solved, who knows.
    I don't think that this is a generic problem however, or we would have known, so it's probably still a few 64-bit partner. These days at Oracle quality assurance procedures seems to leave much to be desired.
    If all goes well, they will be able to reproduce your problem.
    Good luck on your trip across the river Styx!
    Although they will probably want to upgrade you to 11.1.0.7
    ------------
    Sybrand Bakker
    Senior Oracle DBA

  • Database does not start... ALTER database open; change the database open * ERROR at line 1: ORA-03113: end of file on the channel of communication process ID: 10400 Session ID: 418 serial number: 3 -.

    HI during startup of the database of the following errors is. Please help solve the problem.

    SQL > alter database open;

    change the database open * ERROR at line 1: ORA-03113: end of file on the channel of communication process ID: 10400 Session ID: 418 serial number: 3 -.

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

    Please see the alerts log entries

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

    Commissioning:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    With the options of partitioning, OLAP, Data Mining and Real Application Testing.

    Using parameters in spfile D:\APP\ADMINISTRATOR\PRODUCT\11.2.0\DBHOME_1\DATABASE\SPFILEATTNDPRD server-side. ORA

    Parameters of the system with default values:

    process = 400

    sessions = 624

    memory_target = 4G

    control_files = 'D:\ORACLE\ORADATA\ATTNDPRD\CONTROLFILE\O1_MF_8LRQYB0M_. CTL.

    control_files = 'C:\ORACLE\ORADATA\ATTNDPRD\CONTROLFILE\O1_MF_8LRQYB13_. CTL.

    DB_BLOCK_SIZE = 8192

    compatible = "11.2.0.0.0."

    log_archive_format = "ARC%S_%R.%T."

    db_create_file_dest = 'D:\oracle\oradata. '

    db_create_online_log_dest_1 = "D:\oracle\oradata".

    db_create_online_log_dest_2 = "C:\oracle\oradata".

    db_recovery_file_dest = 'C:\oracle\oradata\flash_area. '

    db_recovery_file_dest_size = 8G

    undo_tablespace = 'UNDOTBS1.

    Remote_login_passwordfile = "EXCLUSIVE."

    db_domain = «»

    dispatchers = "(PROTOCOL=TCP) (SERVICE = ATTNDPRDXDB)" "

    audit_file_dest = "D:\APP\ADMINISTRATOR\ADMIN\ATTNDPRD\ADUMP".

    AUDIT_TRAIL = 'DB '.

    db_name = "ATTNDPRD".

    open_cursors = 300

    diagnostic_dest = "D:\APP\ADMINISTRATOR".

    Sun 24 May 13:43:09 2015

    PMON started with pid = 2, OS id = 5792

    Sun 24 May 13:43:09 2015

    VKTM started with pid = 3, OS id = 6500 high priority

    VKTM clocked at (10) precision of milliseconds with DBRM quantum (100) ms

    Sun 24 May 13:43:09 2015

    GEN0 started with pid = 4, OS id = 13072

    Sun 24 May 13:43:09 2015

    DIAG started with pid = 5, OS id = 1424

    Sun 24 May 13:43:09 2015

    DBRM started with pid = 6, OS id = 8240

    Sun 24 May 13:43:09 2015

    PSP0 started with pid = 7, OS id = 2980

    Sun 24 May 13:43:09 2015

    DIA0 started with pid = 8, OS id = 12956

    Sun 24 May 13:43:09 2015

    MA started with pid = 9, OS id = 13356

    Sun 24 May 13:43:09 2015

    DBW0 started with pid = 10, OS id = 14248

    Sun 24 May 13:43:09 2015

    DBW1 started with pid = 11, OS id = 17900

    Sun 24 May 13:43:09 2015

    LGWR started with pid = 12, OS id = 5564

    Sun 24 May 13:43:09 2015

    CKPT started with pid = 13, OS id = 16736

    Sun 24 May 13:43:09 2015

    SMON started with pid = 14, OS id = 14068

    Sun 24 May 13:43:09 2015

    RECCE has started with pid = 15, OS id = 16288

    Sun 24 May 13:43:09 2015

    MMON started with pid = 16, OS id = 10884

    commissioning 1 dispatcher (s) for '(ADDRESS =(PARTIAL=YES) (PROTOCOL = TCP))' network address...

    commissioning or shared server 1...

    Environment ORACLE_BASE = D:\app\Administrator

    Sun 24 May 13:43:09 2015

    ALTER DATABASE MOUNT

    Sun 24 May 13:43:09 2015

    MMNL started with pid = 17, OS id = 16128

    Mount of redo thread 1, with mount id 3325657453

    Database mounted in exclusive Mode

    Disabled lost write protect

    Completed: ALTER DATABASE MOUNT

    Sun 24 May 13:43:23 2015

    change the database open

    Sun 24 May 13:43:23 2015

    LGWR: FROM PROCESS ARCH

    Sun 24 May 13:43:23 2015

    Arc0 started with pid = 21, OS id = 10084

    Arc0: Started archiving

    LGWR: FROM PROCESS ARCH COMPLETE

    ARC0: FROM PROCESS ARCH

    Sun 24 May 13:43:24 2015

    Arc1 started with pid = 22, OS id = 18400

    Sun 24 May 13:43:24 2015

    ARC2 started with pid = 23, OS id = 17280

    Arc1: Started archiving

    ARC2: Started archiving

    Arc1: become the "no FAL' ARCH

    Arc1: become the "no SRL" ARCH

    ARC2: Become the heartbeat ARCH

    Errors in the d:\app\administrator\diag\rdbms\attndprd\attndprd\trace\attndprd_ora_10400.trc file:

    ORA-19815: WARNING: db_recovery_file_dest_size 8589934592 bytes is 100.00% used and has 0 bytes remaining available.

    ************************************************************************

    You have choice to free up space in the recovery area:

    1 consider changing STRATEGY OF RETENTION of RMAN. If you are using Data Guard

    then consider changing POLICY of DELETE ARCHIVELOG RMAN.

    2 back up files on a tertiary device such as a tape with RMAN

    SAFEGUARDING RECOVERY AREA command.

    3. Add space drive and increase the db_recovery_file_dest_size setting to

    reflect the new space.

    4 remove the unnecessary files using the RMAN DELETE command. If a service

    the system control has been used to remove the files, and then use the RMAN DUPLICATION and

    Commands DELETE has EXPIRED.

    ************************************************************************

    Errors in the d:\app\administrator\diag\rdbms\attndprd\attndprd\trace\attndprd_ora_10400.trc file:

    ORA-19809: limit exceeded for file recovery

    ORA-19804: cannot recover disk 44571136 bytes limit 8589934592 space

    ARCH: 19809 error creating archive log file to ' C:\ORACLE\ORADATA\FLASH_AREA\ATTNDPRD\ARCHIVELOG\2015_05_24\O1_MF_1_10343_%U_. ARC'

    Errors in the d:\app\administrator\diag\rdbms\attndprd\attndprd\trace\attndprd_ora_10400.trc file:

    ORA-16038: log 2 # 10343 sequence can be archived

    ORA-19809: limit exceeded for file recovery

    ORA-00312: wire 2 1 online journal: ' D:\ORACLE\ORADATA\ATTNDPRD\ONLINELOG\O1_MF_2_8LRQYD8B_. JOURNAL"

    ORA-00312: wire 2 1 online journal: ' C:\ORACLE\ORADATA\ATTNDPRD\ONLINELOG\O1_MF_2_8LRQYDF6_. JOURNAL"

    USER (ospid: 10400): put an end to litigation because of the error 16038

    Sun 24 May 13:43:24 2015

    ARC3 started with pid = 24, OS id = 2188

    Errors in the d:\app\administrator\diag\rdbms\attndprd\attndprd\trace\attndprd_arc2_17280.trc file:

    ORA-19815: WARNING: db_recovery_file_dest_size 8589934592 bytes is 100.00% used and has 0 bytes remaining available.

    ************************************************************************

    You have choice to free up space in the recovery area:

    1 consider changing STRATEGY OF RETENTION of RMAN. If you are using Data Guard

    then consider changing POLICY of DELETE ARCHIVELOG RMAN.

    2 back up files on a tertiary device such as a tape with RMAN

    SAFEGUARDING RECOVERY AREA command.

    3. Add space drive and increase the db_recovery_file_dest_size setting to

    reflect the new space.

    4 remove the unnecessary files using the RMAN DELETE command. If a service

    the system control has been used to remove the files, and then use the RMAN DUPLICATION and

    Commands DELETE has EXPIRED.

    ************************************************************************

    Instance of stopped by USER, pid = 10400

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

    Regarding

    Ngoyi

    Hello

    Now it works very well... with following

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

    using sqlplus

    • Startup mount
    • ALTER database noarchivelog;
    • ALTER database open;

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

    Concerning

    Ngoyi

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

  • ORA-1092 marked during: ALTER DATABASE OPEN...

    Oracle 11.2.0.1

    Running in noarchive mode - so no backup. This is a new test database.

    The database was working fine. I used SQL Developer 'data copy' to bring objects of production database for test. The program ran for hours and never finished. So I clicked on the button "Cancel". And "the copy database" program closed cleanly.

    I was able to connect to the database, but when I tried to create a db link it hung. So I made an immediate halt and the database closed properly.

    But when I tried to put the database in the rear seat... that's when the problem started.

    SQL> startup
    ORACLE instance started.
    
    Total System Global Area 1.3495E+10 bytes
    Fixed Size                  2218032 bytes
    Variable Size            6845106128 bytes
    Database Buffers         6576668672 bytes
    Redo Buffers               71471104 bytes
    Database mounted.
    ORA-01092: ORACLE instance terminated. Disconnection forced
    ORA-00704: bootstrap process failure
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00942: table or view does not exist
    Process ID: 5555
    Session ID: 191 Serial number: 3
    
    SQL> shutdown immediate
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    
    

    Here's what's in the newspaper of the alerts:

    <msg time='2014-11-07T07:30:05.326-08:00' org_id='oracle' comp_id='rdbms'
     msg_id='opiexe:3056:2780954927' client_id='' type='NOTIFICATION'
     group='admin_ddl' level='16' host_id='dub-ImrORA2.americas.epicor.net'
     host_addr='10.20.0.88' module='[email protected] (TNS V1-' pid='5555'>
     <txt>ORA-1092 signalled during: ALTER DATABASE OPEN...
     </txt>
    </msg>
    <msg time='2014-11-07T07:30:05.343-08:00' org_id='oracle' comp_id='rdbms'
     client_id='' type='UNKNOWN' level='16'
     host_id='dub-ImrORA2.americas.epicor.net' host_addr='10.20.0.88' module='[email protected] (TNS V1-'
     pid='5555'>
     <txt>opiodr aborting process unknown ospid (5555) as a result of ORA-1092
     </txt>
    </msg>
    <msg time='2014-11-07T07:30:06.531-08:00' org_id='oracle' comp_id='rdbms'
     type='UNKNOWN' level='16' host_id='dub-ImrORA2.americas.epicor.net'
     host_addr='10.20.0.88' pid='5555'>
     <txt>ORA-1092 : opitsk aborting process
     </txt>
    </msg>
    
    

    Please tell me how to recover this database.

    It seems that you have corrupted objects "bootstrap", such as access$, which is necessary for the open operation. Only solution is to restore from a backup, or re-create DB.

  • Can not find the trace file after "alter database backup controlfile to trace;" on the RDBMS 11.2.0.3

    Hello

    I use a database on RDBMS 11.2.0.3. Connected as sys and run

    SQL > alter database backup controlfile to trace;

    Database altered.

    view the USER_DUMP_DEST parameter.

    VALUE OF TYPE NAME

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

    user_dump_dest string D:\app\oracle\diag\rdbms\pears

    dev\pearsdev\trace

    Looking at the track record, there is no trace file? What am I missing?

    Thank you

    Mathias

    Confirm with:

    SQL > dir D:\APP\ORACLE\CONTROLFILE the host. TXT

  • Database ALTER DATABASE RECOVER using backup controlfile with AUTO option

    Hello. I was recovering a database today and had a little blip.

    I have published the following:

    Database ALTER DATABASE RECOVER using backup controlfile

    I then chose the AUTO option, allowing Oracle to select all available log files so that it would recover to the last log found in the destination of archive

    However... has performed the following:

    ORA-00289: suggestion:
    /U03/Oracle/stk2proddata/archived_logs/arch1_242449_737547185.dbf
    ORA-00280: change 30031145558 thread 1 is in sequence #242449
    ORA-00278: log file
    ' / u03/oracle/stk2proddata/archived_logs/arch1_242448_737547185.dbf' is no longer
    necessary for this recovery


    ORA-00308: cannot open archived log
    ' / u03/oracle/stk2proddata/archived_logs/arch1_242449_737547185.dbf'
    ORA-27037: unable to get file status
    Linux-x86_64 error: 2: no such file or directory
    Additional information: 3

    Two messages above that I expected. However, I made then this:

    SQL > alter database open resetlogs;

    ALTER database open resetlogs

    *

    ERROR on line 1:

    ORA-01113: file 1 needs media recovery

    ORA-01110: data file 1: ' / u02/oracle/stk2proddata/system01.dbf'

    This is not what I expected. What I've done wrong? Should I once received the message "cannot open archived log", launched to CANCEL?

    I then recovered again, but used

    SQL > restore database using backup controlfile until cancel;

    ORA-00279: change 30031145558 generated at 30/04/2014 09:58:34 needed to
    thread 1
    ORA-00289: suggestion:
    /U03/Oracle/stk2proddata/archived_logs/arch1_242449_737547185.dbf
    ORA-00280: change 30031145558 thread 1 is in sequence #242449


    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}

    ORA-00279: change 30031157768 generated at 30/04/2014 10:06:07 needed to
    thread 1
    ORA-00289: suggestion:
    /U03/Oracle/stk2proddata/archived_logs/arch1_242450_737547185.dbf
    ORA-00280: change 30031157768 thread 1 is in sequence #242450
    ORA-00278: log file
    ' / u03/oracle/stk2proddata/archived_logs/arch1_242449_737547185.dbf' is no longer
    necessary for this recovery


    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}
    Cancel
    Cancelled media recovery.
    SQL > alter database open resetlogs;

    Database altered.

    No problem then here. Could someone please explain what I did wrong the first time and the second time right? Is this a problem with the car and using CANCEL?

    Thank you!

    DA

    11.2.0.2

    RHEL 5.5

    Bug: 4178579

  • ALTER database command

    Hello

    The alter database backup controlfile to trace under... command will create a problem in the production environment?

    N ° it simply generates a "CREATE CONTROLFILE' unfavorable / script, and that's it.

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

    Sybrand Bakker

    Senior Oracle DBA

  • The upgrade of database 10g to 11g with minimal downtime?

    Hi all

    We want to improve our 10.2.0.4 RAC database for 11.2.0.3 linux linux RAC. We have two different servers, where one is the production server (10.2.0.4) and another is the 11.2.0.3 Server.

    Here, we want to minimize downtime of the production database.

    Our db size is close to 1 TB. If we turn to the traditional method of upgradation as given below, then it will take nearly 15 hours:

    1. take RMAN 10 g bkp.

    2. transfer to server 11 g.

    3. restore the db.

    4. set at the database level.

    I had two methods to minimize the downtime that arise as follows, but I'm not sure that these means are feasible or not...

    1st method:

    Our server of db source here is 10.2.0.4 and target db server is 11.2.0.3.

    1. create a DR on the target server. (10.2.0.4)

    -Here we have installed the software (stand-alone) db to 10.2.0.4 on the target server, but also some 11.2.0.3 rac linux.

    -All data of Dr. files will be filesystem (not on ASM).

    Synchronize the database of production with the Dominican Republic.

    2. break the DR and turn it on.

    3 close the db and move the datafiles of the DR to ASM storage (11.2.0.3)

    4. start PB with option upgrade and update.

    It will take nearly 5 hours.

    2nd method:

    -Install the software grid 11g and 10g and 11 g db Server db software target.

    -We set up DR as first method but the grid HERE home will be 11 g and db House will be 10 g.

    -Now we will synchronize the DR with data base of production.

    -to activate the 10g database (target server)

    -will restart the database 11g House and then we will modernize it.

    Here I want to know that is it possible to create a DR with the following configuration?

    Production DB is 10.2.0.4 and DR is configured with 11g grid and g 10 db House.

    Kindly give your entries...

    Kind regards

    Andy...!

    Hi Srini,

    Thanks for the reply.

    I have the following document for the upgradation to 11g with minimal downtime, and it seems good. We make this POC...

    Upgrade to transitional assistance rolling logical Standby database: Oracle DataGuard 11g.

    Thank you all for your suggestions.

    Kind regards

    Andy...!

  • ALTER database open resetlog with ora-01666: controlfile is in standby

    I have a problem after I have restore / recovered a backup of the source.

    On the target, restoration/recovery all finished successfully, but change open resetlog of database with the following errors:

    ORA-01666.

    My steps are:

    (1) make a backup as follows on the source (which is a prod before) complete
    Configure controlfile autobackup on;
    Configure snapshot controlfile name to ' / oracle_backup/rman/snapf.f'
    BACKUP OF DATABASE TAG 'FULL '.
    (2) CPC backupsets above the target
    (3) in rman, set the dbid as the dbid of source, restored the snapf.f and then added the location.
    (4) then restore, recover (everything is fine).
    (5) when I alter database open resetlogs, it gives me error ora-01666.
    (6) change the database open worked, but the PB is now in sleep mode and readonly.

    I checked the settings, the dbname points to the dbname in source and db_unique_name point test on the target name. These two parameters have been reset by RMAN Duplicate.

    We do not want a standby db, we need a test copied from the sourc.e environment

    How should I proceed from here?

    Thank you

    Hello again;

    And there is the problem, the only file of control is a watch. Compare your this example of mine:

    BS Key Type LV Size Device Type Elapsed Time Completion Time
    ------- ---- -- ---------- ----------- ------------ ---------------
    4170117 Full 9.70M DISK 00:00:03 29-NOV-12
            BP Key: 4170119 Status: AVAILABLE Compressed: NO Tag: TAG20121129T125327
            Piece Name: /u01/oradata/RECOVER2_cold/control_RECOVER2_2821_20121129.bak
    Control File Included: Ckp SCN: 1307992402301 Ckp time: 29-NOV-12
    
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    ------- ---- -- ---------- ----------- ------------ ---------------
    4170127 Full 9.73M DISK 00:00:01 29-NOV-12
            BP Key: 4170129 Status: AVAILABLE Compressed: NO Tag: TAG20121129T125332
            Piece Name: /u01/app/oracle/flash_recovery_area/RECOVER2/autobackup/2012_11_29/o1_mf_s_800628756_8chcsf10_.bkp
    Control File Included: Ckp SCN: 1307992402301 Ckp time: 29-NOV-12
    

    Note the version of ".bak" auto backup and y.

    I think you need to take another backup. If you use Oracle 11 I have even more options.

    For example, I update my test system using this:

    http://www.Visi.com/~mseberg/RMAN/diff_database_duplicating.html

    Sometimes I save on users, roles etc and replace later to hide.

    Subsequently

    You may be able to save what you have by creating a trace on the source file and then use it to re-create a control on the copy file.

    If you run a backup trace command daily you can probably pull some SQL from your daily trace file like this.
    
    CREATE CONTROLFILE REUSE DATABASE "RECOVER2" NORESETLOGS  NOARCHIVELOG
        MAXLOGFILES 16
        MAXLOGMEMBERS 3
        MAXDATAFILES 100
        MAXINSTANCES 8
        MAXLOGHISTORY 292
    LOGFILE
    ...
    ...
    

    You can save as say cf.sql, then:

    SQL> startup nomount 
    
    Run the SQL as shown above
    
    SQL> @cf.sql
    
    Control file created.
    
    SQL>
    
    Check the status of the database
    
    SQL> select status from v$instance;
    
    -- should be mounted
    
    If the database is mounted, can it be opened?
    
    Open the database
    
    SQL> alter database open;
    
    Database altered.
    

    Best regards

    mseberg

    Published by: mseberg on November 29, 2012 19:10

  • is Oracle Database Express Edition 11g Release 2 free?

    Hi all
    is Oracle Database Express Edition 11g Release 2 free?

    Thank you.

    Hello

    of the product page (http://www.oracle.com/technetwork/products/express-edition/overview/index.html):

    Oracle Database 11 g Express Edition (Oracle Database XE) is an entry-level database, small footprint, based on the database Oracle 11 g Release 2 code base. It is free to develop, deploy, and distribute; fast download; and simple to administer.

    Herald tiomela
    http://htendam.WordPress.com

  • Cannot run 'alter database open"in the file of RRS

    Hello

    My OS is Sun solaris,

    Version of DB - 10.2.0.2.0

    I am currently performing an offline backup in the file RRS by RMAN.
    but when he reached never to
    alter database open;
    the code is
    connect target RMAN/*****@abcd
    
    startup force dba;
    shutdown immediate;
    startup mount;
    
    configure retention policy to recovery window of 31 days;
    configure controlfile autobackup on;
    configure default device type to sbt;
    configure device type sbt parallelism 1;
    configure channel device type sbt format '%d_%s_%t_%p';
    
    RUN
    {
    set command id to 'RMAN off full to nsr';
    backup database;
    }    \\===============> full backup is successful here.
    
    alter database open; //=================>but never reaches to this line
    
    RUN
    {
    allocate channel d1 device type disk;
    copy current controlfile to '/aib-oa/ar/oraA378/backup/copy_A378.ctl';
    release channel d1;
    }
    
    allocate channel for maintenance device type disk;
    
    RUN
    {
    delete noprompt backup of spfile completed before 'sysdate-7';
    }
    What is the problem with the script?

    any help in this...

    Thank you

    You would be able to open the database if you include it in the execution block

    C:\Documents and Settings\Administrateur > rman target sys/oracle

    Recovery Manager: release 10.2.0.5.0 - Production Fri Jan 13 18:03:40 2012

    Copyright (c) 1982, 2007, Oracle. All rights reserved.

    connected to target database: PRIM (DBID = 769308260, is not open)

    RMAN > run
    2 > {}
    3 > alter database open;
    {4 >}

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

    RMAN >

  • ALTER database open resetlog?

    Hi all

    I have try the database cloning (new name of the database) in my development environment (Oracle 11 g r1 Windows 2003 Server). While creating a new controlfile, we order as this "CREATE CONTROLFILE REUSE SET DATABASE 'ORCL2' RESETLOGS FORCE LOGGING NOARCHIVELOG"
    1.i just want to know why we need to use resetlogs, when I place this order, what happens internally in the oracle?
    2. when the new name of the database is updated in all the data file during create controlfile or opening of the database?
    3 alter database open resetlogs what happens internally in the oracle when I place the order?

    Please me tips

    Thank you and best regards,

    Shan

    This will help you

    http://Web.NJIT.edu/info/limpid/doc/backup.102/b14191/osrecov009.htm

  • How to create the new database in oracle 11g

    Hello
    I m new in oracle 11g, I downloaded oracle 11g and with the help of the guide of the developer-2 days, I learned all the SQL queries, but I worked with human resources database.
    Now, I want to create my own database with the required tables. Can anyone help me how I can make my own database in oracle 11g.

    Thank you
    Manna

    870692 wrote:
    Hello
    I m new in oracle 11g, I downloaded oracle 11g and with the help of the guide of the developer-2 days, I learned all the SQL queries, but I worked with human resources database.
    Now, I want to create my own database with the required tables. Can anyone help me how I can make my own database in oracle 11g.

    Thank you
    Manna

    Be sure to distinguish between the terms and the database schema. Other products, make them bad. It would be a HR diagram (or a user, which is the same in Oracle). If you do not need to use the database Wizard, unless you are working with a new host with no database.

    A simple way would be to get the DDL to create the HR schema and modify it for your own. It can be extracted from your database in several ways, or you can copy the hr_cre.sql to your own script and change. The two ways are educational, and you can google for instructions.

  • ALTER database open resetlogs

    Hello

    When we do not control the recovery of files using cold backup apply us redo logs and archive logs.

    so here we are going to complete recovery.

    and when I try to open the database with > alter database open;

    It is said to use the resetlogs or noresetlogs option.

    That is why we open the database need with > alter database open resetlogs;

    Why > alter database open; does not work.

    Please let me know.

    Thank you

    It has to do with the incarnation of the database which would be affected when retrieving control files is done. It's the OPEN clause will not work.

    Aman...

Maybe you are looking for