Rumor : the begin backup mode will disappear

I have heard that the "begin backup" mode for tablespaces will disappear in futures versions.
I can't believe it.
Anybody can say something on this rumor ?

I have heard that the "begin backup" mode for tablespaces will disappear in futures versions.
I can't believe it.
Anybody can say something on this rumor ?

Similar Messages

  • Do I need to use standby database in begin backup mode to take the backup?

    Hi All,
    I have a 10g(10.2.0.4) primary database with standby on a solaris platform. I need to create another standby database for the same primary.
    I have stopped the recovery on existing standby database and started copying(os copy) the files from existing standby to 2nd standby server. However I haven't kept the existing standby database(mounted) in begin backup mode. Is it okay?
    Thanks,
    Arun

    Backup mode for a mounted database?
    orclz>
    orclz> startup mount
    ORACLE instance started.
    Total System Global Area  788529152 bytes
    Fixed Size                  3050600 bytes
    Variable Size            373293976 bytes
    Database Buffers          406847488 bytes
    Redo Buffers                5337088 bytes
    Database mounted.
    orclz>
    orclz> alter database begin backup;
    alter database begin backup
    ERROR at line 1:
    ORA-01109: database not open
    orclz>

  • RMAN and Begin backup mode

    Hi guys I have a couple of questiopns...
    I want to know whether data is written to datafiles by DBWR when the datafile is in begin backup mode.
    What is the difference in archive log creation during normal operation of a database and operation of a database during RMAN backup?

    user13087302 wrote:
    Normally, Oracle should write only changes into redolog files. But if tablespace is in backup mode, then entire block will be put into redolog as soon as this change it is 1st change occured on that block after enabling backup mode. That is why, we face massive redo log generation if the tablespace is in backup mode. So, logically you should be able to recover to the last SCN you have in hands.What do you mean by last SCN.Is it the SCN before puttting the tablespace in backup mode?Does that mean data present in other files will also be lost even though they are written in datafiles..Pls, look:
    SQL> create tablespace myts1 datafile 'C:\app\oracle\oradata\testdb\myts1.dbf' size 10m;
    Tablespace created.
    SQL> create tablespace myts2 datafile 'C:\app\oracle\oradata\testdb\myts2.dbf' size 10m;
    Tablespace created.
    SQL> create table myt1 tablespace myts1 as select * from dba_objects where rownum<10001;
    Table created.
    SQL> create table myt2 tablespace myts2 as select * from dba_objects where rownum<10001;
    Table created.
    SQL> alter tablespace myts1 begin backup;
    Tablespace altered.
    SQL> create table myt1_1 tablespace myts1 as select * from dba_objects where rownum<10001;
    Table created.
    SQL> create table myt2_1 tablespace myts2 as select * from dba_objects where rownum<10001;
    Table created.
    SQL> create table myt1_3 tablespace myts1 as select * from dba_objects where rownum<10001;
    Table created.Backup database:
    C:\Documents and Settings\Administrator>rman target /
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed Nov 3 15:46:55 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: TESTDB (DBID=2517263760)
    RMAN> backup database;
    Starting backup at 03-NOV-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=44 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=C:\APP\ORACLE\ORADATA\TESTDB\SYSTEM01.DBF
    input datafile file number=00002 name=C:\APP\ORACLE\ORADATA\TESTDB\SYSAUX01.DBF
    input datafile file number=00003 name=C:\APP\ORACLE\ORADATA\TESTDB\UNDOTBS01.DBF
    input datafile file number=00005 name=C:\APP\ORACLE\ORADATA\TESTDB\EXAMPLE01.DBF
    input datafile file number=00006 name=C:\APP\ORACLE\ORADATA\TESTDB\MYTS1.DBF
    input datafile file number=00007 name=C:\APP\ORACLE\ORADATA\TESTDB\MYTS2.DBF
    input datafile file number=00004 name=C:\APP\ORACLE\ORADATA\TESTDB\USERS01.DBF
    channel ORA_DISK_1: starting piece 1 at 03-NOV-10
    channel ORA_DISK_1: finished piece 1 at 03-NOV-10
    piece handle=C:\APP\ORACLE\FLASH_RECOVERY_AREA\PRIM_DB\BACKUPSET\2010_11_03\O1_MF_NNNDF_TAG20101103T154701_6F2LXQ5C_.BKP tag=TAG20101103T154701 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:01:35
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    including current control file in backup set
    including current SPFILE in backup set
    channel ORA_DISK_1: starting piece 1 at 03-NOV-10
    channel ORA_DISK_1: finished piece 1 at 03-NOV-10
    piece handle=C:\APP\ORACLE\FLASH_RECOVERY_AREA\PRIM_DB\BACKUPSET\2010_11_03\O1_MF_NCSNF_TAG20101103T154701_6F2M0PJ3_.BKP tag=TAG20101103T154701 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    Finished backup at 03-NOV-10
    Recovery Manager complete.
    SQL> select current_scn from v$database;
    CURRENT_SCN
        1466019
    SQL> drop table myt1_3 purge;
    Table dropped.So, we dropped table MYT1_3 and now trying incomplete recovery.
    SQL> shutdown abort;
    ORACLE instance shut down.
    SQL> startup mount;
    ORACLE instance started.
    Total System Global Area  431038464 bytes
    Fixed Size                  1375088 bytes
    Variable Size             322962576 bytes
    Database Buffers          100663296 bytes
    Redo Buffers                6037504 bytes
    Database mounted. C:\Documents and Settings\Administrator>rman target /
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed Nov 3 15:51:51 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: TESTDB (DBID=2517263760, not open)
    RMAN> run
    2> {
    3> set until scn 1466019;
    4> restore database;
    5> recover database;
    6> sql 'alter database open resetlogs';
    7> }
    executing command: SET until clause
    Starting restore at 03-NOV-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=20 device type=DISK
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00001 to C:\APP\ORACLE\ORADATA\TESTDB\SYS
    TEM01.DBF
    channel ORA_DISK_1: restoring datafile 00002 to C:\APP\ORACLE\ORADATA\TESTDB\SYSAUX01.DBF
    channel ORA_DISK_1: restoring datafile 00003 to C:\APP\ORACLE\ORADATA\TESTDB\UNDOTBS01.DBF
    channel ORA_DISK_1: restoring datafile 00004 to C:\APP\ORACLE\ORADATA\TESTDB\USERS01.DBF
    channel ORA_DISK_1: restoring datafile 00005 to C:\APP\ORACLE\ORADATA\TESTDB\EXAMPLE01.DBF
    channel ORA_DISK_1: restoring datafile 00006 to C:\APP\ORACLE\ORADATA\TESTDB\MYTS1.DBF
    channel ORA_DISK_1: restoring datafile 00007 to C:\APP\ORACLE\ORADATA\TESTDB\MYTS2.DBF
    channel ORA_DISK_1: reading from backup piece C:\APP\ORACLE\FLASH_RECOVERY_AREA\
    PRIM_DB\BACKUPSET\2010_11_03\O1_MF_NNNDF_TAG20101103T154701_6F2LXQ5C_.BKP
    channel ORA_DISK_1: piece handle=C:\APP\ORACLE\FLASH_RECOVERY_AREA\PRIM_DB\BACKUPSET\2010_11_03\O1_MF_NNNDF_TAG20101103T154701_6F2LXQ5C_.BKP tag=TAG20101103T154701
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:01:45
    Finished restore at 03-NOV-10
    Starting recover at 03-NOV-10
    using channel ORA_DISK_1
    starting media recovery
    media recovery complete, elapsed time: 00:00:03
    Finished recover at 03-NOV-10
    sql statement: alter database open resetlogs
    RMAN>Now, check tables:
    SQL> select count(*) from myt1;
      COUNT(*)
         10000
    SQL> select count(*) from myt2;
       COUNT(*)
         10000
    SQL> select count(*) from myt1_3;
      COUNT(*)
         10000
    SQL> select count(*) from myt2_1;
      COUNT(*)
         10000So, it does not matter what is the status of any tablespace: in backup mode or not. Incomplete recovery uses archivelogs + redologs.

  • Tablespace begin backup mode,

    Whether redo-logfiles get created during tablespace  begin backup mode.? is that really possible?

    a9362c69-5635-4bf2-a548-4a13a7cba11b wrote:
    Whether redo-logfiles get created during tablespace  begin backup mode.? is that really possible?
    Database Concepts
    Continuing to flood the forum with documentation questions -- especially after repeated warnings -- will continue to result in nothing more than links to the documentation you should be reading.  

  • Db corrupted in begin backup mode

    hi all,
    This is part of my practice only.
    My db is 11.2.0.1.0 on linux. i kept my db in begin backup mode and started copy and forgot to end backup. taken controlfile backup like alter database backup controlfile to '/u01/app/oracle/orcl/control_bkp.ctl'.
    Now i deleted all db files, redo files, control files corrupted. (to perform complete db recovery).
    I started recovery. started in nomount and copied controlfiles from backup location to it's original location.
    and then issued >recover database using backup controlfile until cancel;
    given follwoing error.
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01195: online backup of file 1 need more recovery to be consistent
    ORA-01110: data file 1: '/u04/oracle/oradata/jt10g/system01.dbf'
    any suggestions please.
    thanks for you help..

    i can see from the link: https://forums.oracle.com/thread/634538 (MaranViswarayar replied) this type can't recovered. is it true.

  • Begin backup mode

    hi,
    while the tablespace in begin backup, and oracle want to access the blocks, first time its writes the entire block into redo, any one tell me, why its write the entire block in redo

    Senthil,
    What you mean is: "the first time the block is modified the whole block is written to the redo log before the change vectpr for the update is written to the redo log".
    This happens because Oracle assumes that the backup mechanism is external to Oracle, so the backup mechanism doesn't know what the database writers (DBWn) might be doing.
    If a database writer writes an Oracle block just as the backup process is making a backup copy of that part of the file, the backup may contain a "fuzzy" or "split" block, i.e. a block which is partly a copy of the old version of the block and partly a copy of the new version of the block.
    At recovery time, a block in this state would cause a problem so, by copying the current version of the block into the redo log, Oracle knows that as it performs a recovery it can copy the block from the redo log to the data file and have a completely safe copy of the block on the datafile before applying the next redo vector.
    In fact the block copy can happen more frequently than just on the first update. If the block is flushed from the cache, then re-read, then updated again, it is copied into the redo log again. And it is copied every single time a change requires it to be re-read.
    There is a flag column in x$bh (the buffer header structure) which has a bit set for the status block_has_been_logged (see http://www.jlcomp.demon.co.uk/buf_flag.html for other states - I think this is the bit that says the block has been written to the redo log, but since it's meaning changed by 10.2.0.3 it is possible that it is the redo_since_read bit that matters). If the block is flushed from the buffer and re-read, the buffer header record obviously has to be recreated - which means the bit is cleared - hence the potential for a new block copy to go into the redo log every time the block has to be re-read and modified.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk

  • HT4910 iCloud won't let me erase my previous backups because it says its being used by another iPhone? the apple store recently replaced my old iPhone with a new one, and I want to delete the old backup, how will i do this if its still syncing to my old i

    this is the error it gives me :/ how will i go about deleting my old iphone if i dont have it??

    This should clear up on its own and allow you to delete the account, however it can take 3-5 days before this happens.

  • MacBook 2.1 Intel Core 2 Duo 2GHz 2GB Late 2006. The harddrive died. Replaced with a WD 320. Have used TimeMachine with a WD160 for several months. Tried to install Snow Leopard and use restore from the TimeMachine backup. Will not start.

    Harddrive died and replaced it with a new WD 320. Used Snow Leopard to intall OS Disk Utility to Restore from TimeMachine. It appears to have 'pasted' the backup from TimeMachine on to the WD320. Tried to start OS and it says that WD320 is a backup and won't run from it. What do I do?

    I re-reinstalled Snow Leopard and restarted. It is working fine!!!!

  • I want to know that the feature burst mode will works on iphone 4s or not

    Is it works or not

    It looks like Burst Mode is not available for the 4S.  See this...
    http://www.apple.com/iphone/compare/

  • The adjustment brush (mode A) disappears

    The adjustment brush disappears when I increase the size or the feather over certain limit. I can see the circles around the cursor (with + shape) when the adjustment brush is small but if I increase the size the brush disappears and then I see the windows pointer instead.
    Even if it is not there, it still works, but using it without the help of the circles is more difficult

    Same problem, how did you fix this?

  • How SCN sync after the tablespace is put back to END Backup mode

    When we put the tablespace in begin backup mode, the scn get forzen and it will not be further updated, until it is put back to end backup.
    Question is : If at the time of being backup , say the snc forzed at 45. Before we put back the tablespace to end back up , we had genrerated 10 SCN. Then the current scn is 55. If we put the tablespace in end backup , does the datafile will start with scn 56 ( by maintaint it previous scn at 45)
    Or after we put back the tsp in end back up , does the datafile will be updated from 46 to 55 , before it is updated with scn 56.
    In the above example i am considering by db has one datafile only.
    Thanks
    Naveen

    Are you implying that the "Checkpoint number" is a different series of numbers --
    seperate from SCNs ?
    Are you implying that when a checkpoint occurs it is this "Checkpoint number"
    that is incremented and written to the datafile headers ?
    There really is no such thing as a "Checkpoint number".
    If you look at the definitions of V$DATABASE , V$DATAFILE and V$DATAFILE_HEADER, you would see that a Checkpoint increments the SCN.
    A header can have multiple entries -- a Checkpoint SCN (called CHECKPOINT_CHANGE#) , ArchiveLog SCN (called ARCHIVELOG_CHANGE#),
    the Current SCN (called CURRENT_SCN), SCN of last Unrecoverable (Nologging)
    (called UNRECOVERABLE_CHANGE#) etc etc. They are all derived from SCNs
    only.
    The SCN is used as the single point of reference. Thus, we can compare
    CHECKPOINT_CHANGE# with CURRENT_SCN with UNRECOVERABLE_CHANGE# etc.

  • What happens if I click "delete backup" in order to delete the iCloud backups from my sisters phone off my device. Will it delete everything on her phone?

    So a while ago when I got my phone I started a new Apple ID account/ iCloud.. Then when my sister got a new iphone I gave her my id to use too. In settings-general-usage it says that my storage is almost full. I then click on manage storage and it shows my phone and my sisters phone and how many gb or whatever. Also it says "last backup failed" and other stuff that's Irrelevant. Now when I click on my sisters phone I have an option to "delete backup" MY QUESTION is if I click the delete backup button will it just delete the iCloud backup off my phone OR will it totally delete everything involving the backup off my sisters phone forever??? Please help! Thank you so much!!!!!

    Deleting a backup deletes the backup only from the iCloud storage, not anything on the iPhone.
    The iPhone's iCloud backup will be updated at some point - automatically when the iPhone is connected to an available wi-fi network while connected to a power source unless the iCloud backup is turned off on the iPhone.

  • If i sync my ipod to my current apple id, will i the songs i got from a different apple id disappear from the ipod completely or will it just have all the names and details and grey?

    Hello!
    So basically, I got a lot of the songs on my iPod from a different Apple ID than to the one I am currently using. I want to sync my iPod to the Apple ID I am currently using but I want to know if the songs on my iPod from the previous Apple ID will disappear off of the iPod or go all grey so that I cant select them? I know that Apple says that it will delete the songs from my old Apple ID but what I noticed is that when I've deleted songs from my iPod using iTunes in the past is that they don't disappear from the iPod, they stay there but the names go grey so that I cant select them. Basically I want to know which will happen. Sorry if this is a bit confusing...
    Thanks!

    See Recover your iTunes library from your iPod or iOS device.
    tt2

  • Update & select query when tablespace in backup mode

    Hi,
    I have a query related to the DML statement when tablespace is in backup mode. Suppose when put the tablespace in begin backup mode then during the time one user run an update statement against this tablespace and commit the transaction and other user run the select query on the same data then which image the user will get and from where the data will be taken to display.
    steps:
    alter tablespace users begin backup;
    update emp set sal=4000 where empno=101;
    commit;
    select * from emp where empno=101;
    Now what result user will get and from where the data will fetch.
    Thanks,
    Gulshan

    Hi,
    alter tablespace users begin backup;
    update emp set sal=4000 where empno=101;
    commit;
    select * from emp where empno=101;AFAIK, the database would work normally and you will not find the difference from transactions perspective. If you check from Oracle architecture and process, fuzzy bit will be setted at up and additional redo vectors would be saved up in the online redo logs - due to which size of redo would higher when compared to normal transactions. Secondly, you must be worried about the backup - which might not be consistent. So better opt for RMAN instead of User managed Backups.
    - Pavan Kumar N

  • Where do changed data values goto if DB is in BACKUP mode for LONG PERIODs

    Where does oracle write if put the database in begin backup mode for LONG PERIODs. Lets say I issued a "ALTER DATABASE BEGIN BACKUP" command in a busy database and forgot about it for a long time.
    I understand that when the DB IS IN BEGIN BACKUP MODE, "the database copies whole changed data blocks into the redo stream." (Page 503 of 11.1 backup and recovery guide). But the redo stream is limited by the number of online redologs. After some time redologs also wont be sufficient for the changed data values after a begin backup is issued. I understand that there are archived redologs.
    Lets say there are 2 redolog groups in this database and Lets say 10 archive log files got generated since the ALTER DATABASE BEGIN BACKUP was issued.
    When i finally issue the "ALTER DATABASE END BACKUP" command, will Oracle sync the datafiles with the changed data blocks reading the data from these 10 archived log files ? What happens if i delete these archive redologs from the archive log destination. ??
    page 504 of 598 in the backup and recovery guide
    Caution : If you fail to take the tablespace out of backup mode,
    then Oracle Database continues to write copies of data blocks in
    this tablespace to the online redo logs, causing performance
    problems. Also, you receive an ORA-01149 error if you try to shut
    down the database with the tablespaces still in backup mode.
    it just says "performance problems", nothing more than that.*
    Any answers ? I am sure this question would have popped to some of you senior DBA people out there.

    user13076519 wrote:
    Where does oracle write if put the database in begin backup mode for LONG PERIODs. Lets say I issued a "ALTER DATABASE BEGIN BACKUP" command in a busy database and forgot about it for a long time. It writes just like it always does, plus it puts some extra in the redo log the [url http://oraclenz.com/2008/07/11/logging-or-nologging-that-is-the-question-part-ii/]first time a block is changed.
    >
    >
    I understand that when the DB IS IN BEGIN BACKUP MODE, "the database copies whole changed data blocks into the redo stream." (Page 503 of 11.1 backup and recovery guide). But the redo stream is limited by the number of online redologs. After some time redologs also wont be sufficient for the changed data values after a begin backup is issued. I understand that there are archived redologs. This appears to be a typo (incompleteness, really) in the backup and recovery guide.
    The redo stream is not limited by the number of of redo logs, only the volume of data. When a log fills up, it gets archived. If all the logs get filled up before the first one is finished archiving, the db will stall until the next redo becomes available. The only limit to archiving is disk space (and bandwidth if that is an issue, which it can be in some configurations).
    >
    Lets say there are 2 redolog groups in this database and Lets say 10 archive log files got generated since the ALTER DATABASE BEGIN BACKUP was issued.
    When i finally issue the "ALTER DATABASE END BACKUP" command, will Oracle sync the datafiles with the changed data blocks reading the data from these 10 archived log files ? What happens if i delete these archive redologs from the archive log destination. ??Archived logs are archived, Oracle only reads them in recovery. You do not understand archive logs, read the concepts manual.
    >
    page 504 of 598 in the backup and recovery guide
    Caution : If you fail to take the tablespace out of backup mode,
    then Oracle Database continues to write copies of data blocks in
    this tablespace to the online redo logs, causing performance
    problems. Also, you receive an ORA-01149 error if you try to shut
    down the database with the tablespaces still in backup mode.
    it just says "performance problems", nothing more than that.*Because it is overgeneralizing.
    >
    Any answers ? I am sure this question would have popped to some of you senior DBA people out there.Oh, you want to send me a gift for showing where in oracle it's documented? See [url http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:271815712711]here for something over a decade old.

Maybe you are looking for

  • Error message when starting OC4J after deploying

    Hi, I hope someone can help me. I've been developing a J2EE project in JBuilder9 and OC4J 9.0.3. The problem occurs when starting OC4J after the application has been deployed. I'm using two MDBs and two Session Beans, one Stateless and the other one

  • Mac Pro and Radeon 2600 HD Snow Leopard 10.6.7 and 10.6.8 Crash

    I have a Mac Pro, 2009 quad core xeon 2.8ghz with a ATI Radeon 2600 HD video card.  The computer is running 10.6.8 currently.  With 10.6.7 and 10.6.8 the comptuer crashes frequently.  Looking through the logs, I see some errors thrown by the kernel w

  • Can't get my printer to work with new OSX 10,6?

    I upgraded to snow leopard 10.6.3 so I could use the new Touch 4th generation. Everything was great until I tried to use my epson R2880! I keep getting errors. It also says the printer is not registered. I have downloaded software updates, font updat

  • JTextField and alignment

    Hello, I hope I am just missing something basic. I have a class, KarJTextField, which inherits from JTextField. It does some things like change the text red when the users changes it etc, and that has all been working fine for months. Today I decided

  • Apple Mail is a joke, isn't it?

    Apple Mail is totally unreliable. It loses connection with the mail server, and you have no idea when or why, but the Connection Doctor says "everything is working perfectly!" Sent messages get stuck in the Outbox; sometimes they've actually been sen