Use of a single tablespace or backup data file

Hello

I read the RMAN manual and I'm quite familiar with backup a tablespace or data file, but I can find very little uses for it. Backup upward a tablespace is useful for the TPITR, but since who needs another instance sound very little useful in most production environments. I think that you cannot restore an older version of tablespace in a normal database, except if the tablespace has been done long read-only, in which case RMAN optimizations will do the trick.
Still less use that I can find for the backup of the data file. I have absolutely no idea of what you can do with a single data file.

Can you please tell me about the uses of these RMAN features?

Thank you.

Hi again!

OK, you're right. If you are using noarchivelog moden then a partial database backup is no useful. Only the archivelogmode can make a useful partial backup of DB.

Best regards

Florian W.

Tags: Database

Similar Questions

  • tablespace with multiple data files

    Hi all

    We have RHEL4 server with oracle 10 g 2 inside.

    can we create a tablespace with multiple data files? I mean while creating a tablespace itself, we should be able to create two or more data files (should not use ALTER tablespace command).

    If possible, please give me the SQL to do this (assume that I need to create a tablespace with two data files).

    Thanks in advance...

    Not so difficult isn't it?

    create tablespace datafile test
    '1.dbf' size 1 m REUSE AUTOEXTEND ON NEXT 32 M MAXSIZE 1500 M,
    '2.dbf' size 1 M REUSE AUTOEXTEND ON NEXT 32 M MAXSIZE 1500 M
    EXTENT MANAGEMENT SEGMENT LOCAL SPACE MANAGEMENT AUTO;

  • RMAN, any backup data file.

    Dear...

    I have a scenario.

    Backup RMAN - yesterday.

    DataFile added today, and he lost in the evening. How a datafile restore/restore with RMAN, as data file has been saved in the last backup RMAN.

    Version: 10.2.0.1.0

    Kind regards.

    YES, below.

    name of the archived log file = C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_02_21\O1_MF_1_18_7N6MQBWS_. Wire ARC = 1 sequence = 18
    The creation data file file number = 7 name = C:\ORACLE\ORADATA\ORCL\USERS03. DBF

    RMAN> backup database;
    
    Starting backup at 21-FEB-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=133 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:\ORACLE\ORADATA\ORCL\SYSTEM01.DBF
    input datafile file number=00002 name=C:\ORACLE\ORADATA\ORCL\SYSAUX01.DBF
    input datafile file number=00003 name=C:\ORACLE\ORADATA\ORCL\UNDOTBS01.DBF
    input datafile file number=00005 name=C:\ORACLE\ORADATA\ORCL\EXAMPLE01.DBF
    input datafile file number=00006 name=C:\ORACLE\ORADATA\ORCL\USERS02.DBF
    input datafile file number=00004 name=C:\ORACLE\ORADATA\ORCL\USERS01.DBF
    channel ORA_DISK_1: starting piece 1 at 21-FEB-12
    channel ORA_DISK_1: finished piece 1 at 21-FEB-12
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2012_02_21\O1_MF_NNNDF_TAG20120221T132643_7N6MKWPX_.BKP tag=TAG20120221T132643 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:55
    Finished backup at 21-FEB-12
    
    Starting Control File and SPFILE Autobackup at 21-FEB-12
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\AUTOBACKUP\2012_02_21\O1_MF_S_775834060_7N6MMO5Q_.BKP comment=NONE
    Finished Control File and SPFILE Autobackup at 21-FEB-12
    
    RMAN> exit
    
    SQL> alter tablespace users add datafile 'C:\ORACLE\ORADATA\ORCL\USERS03.dbf' size 10m;
    
    Tablespace altered.
    
    SQL>
    
    SQL> alter system switch logfile;
    
    System altered.
    
    SQL> startup force mount exclusive restrict;
    ORACLE instance started.
    
    Total System Global Area  778387456 bytes
    Fixed Size                  1374808 bytes
    Variable Size             310379944 bytes
    Database Buffers          461373440 bytes
    Redo Buffers                5259264 bytes
    Database mounted.
    SQL> drop database;
    
    Database dropped.
    
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>    exit
    
    C:\Users\bn2676>sqlplus / as sysdba
    
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Feb 21 13:51:27 2012
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    Connected to an idle instance.
    
    SQL> startup nomount
    ORACLE instance started.
    
    Total System Global Area  778387456 bytes
    Fixed Size                  1374808 bytes
    Variable Size             310379944 bytes
    Database Buffers          461373440 bytes
    Redo Buffers                5259264 bytes
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    C:\Users\bn2676>rman target /
    
    Recovery Manager: Release 11.2.0.1.0 - Production on Tue Feb 21 13:51:52 2012
    
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    
    connected to target database: ORCL (not mounted)
    
    RMAN> restore controlfile from 'C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\AUTOBACKUP\2012_02_21\O1_MF_S_775834060_7N6MMO5Q_.BKP';
    
    Starting restore at 21-FEB-12
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=63 device type=DISK
    
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
    output file name=C:\ORACLE\ORADATA\ORCL\CONTROL01.CTL
    output file name=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\CONTROL02.CTL
    Finished restore at 21-FEB-12
    
    RMAN> sql 'alter database mount';
    
    sql statement: alter database mount
    released channel: ORA_DISK_1
    
    RMAN> restore database;
    
    Starting restore at 21-FEB-12
    Starting implicit crosscheck backup at 21-FEB-12
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=63 device type=DISK
    Crosschecked 8 objects
    Finished implicit crosscheck backup at 21-FEB-12
    
    Starting implicit crosscheck copy at 21-FEB-12
    using channel ORA_DISK_1
    Finished implicit crosscheck copy at 21-FEB-12
    
    searching for all files in the recovery area
    cataloging files...
    cataloging done
    
    List of Cataloged Files
    =======================
    File Name: C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_02_21\O1_MF_1_18_7N6MQBWS_.ARC
    File Name: C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_02_21\O1_MF_1_19_7N6NXV4M_.ARC
    File Name: C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\AUTOBACKUP\2012_02_21\O1_MF_S_775834060_7N6MMO5Q_.BKP
    File Name: C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\AUTOBACKUP\2012_02_21\O1_MF_S_775834547_7N6N2WHN_.BKP
    
    using channel ORA_DISK_1
    
    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:\ORACLE\ORADATA\ORCL\SYSTEM01.DBF
    channel ORA_DISK_1: restoring datafile 00002 to C:\ORACLE\ORADATA\ORCL\SYSAUX01.DBF
    channel ORA_DISK_1: restoring datafile 00003 to C:\ORACLE\ORADATA\ORCL\UNDOTBS01.DBF
    channel ORA_DISK_1: restoring datafile 00004 to C:\ORACLE\ORADATA\ORCL\USERS01.DBF
    channel ORA_DISK_1: restoring datafile 00005 to C:\ORACLE\ORADATA\ORCL\EXAMPLE01.DBF
    channel ORA_DISK_1: restoring datafile 00006 to C:\ORACLE\ORADATA\ORCL\USERS02.DBF
    channel ORA_DISK_1: reading from backup piece C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2012_02_21\O1_MF_NNNDF_TAG20120221T132643_7N6MKWPX_.BKP
    channel ORA_DISK_1: piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2012_02_21\O1_MF_NNNDF_TAG20120221T132643_7N6MKWPX_.BKP tag=TAG20120221T132643
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:56
    Finished restore at 21-FEB-12
    
    R recover database;
    
    Starting recover at 21-FEB-12
    using channel ORA_DISK_1
    
    starting media recovery
    
    archived log for thread 1 with sequence 18 is already on disk as file C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_02_21\O1_MF_1_18_7N6MQBWS_.ARC
    archived log for thread 1 with sequence 19 is already on disk as file C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_02_21\O1_MF_1_19_7N6NXV4M_.ARC
    archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_02_21\O1_MF_1_18_7N6MQBWS_.ARC thread=1 sequence=18
    creating datafile file number=7 name=C:\ORACLE\ORADATA\ORCL\USERS03.DBF
    archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_02_21\O1_MF_1_18_7N6MQBWS_.ARC thread=1 sequence=18
    archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_02_21\O1_MF_1_19_7N6NXV4M_.ARC thread=1 sequence=19
    unable to find archived log
    archived log thread=1 sequence=20
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 02/21/2012 13:54:04
    RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 20 and starting SCN of 1226889
    
    RMAN> sql 'alter database open resetlogs';
    
    sql statement: alter database open resetlogs
    
    RMAN> exit
    
    Recovery Manager complete.
    
    C:\Users\bn2676>sqlplus / as sysdba
    
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Feb 21 13:54:42 2012
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> select file_name from dba_data_files where tablespace_name='USERS';
    
    FILE_NAME
    --------------------------------------------------------------------------------
    C:\ORACLE\ORADATA\ORCL\USERS01.DBF
    C:\ORACLE\ORADATA\ORCL\USERS02.DBF
    C:\ORACLE\ORADATA\ORCL\USERS03.DBF
    
    SQL>
    
  • Creating a new controlfile with RMAN backup data files

    Hello

    I use oracle 10g (10.2.0.1) in RHEL5 server. I am trying to restore a RMAN backup from one server to another server again with the new name of the comic. I took on the RMAN backup spfile and created her pfile and edited the file pfile with new dbname and directory structure and launched the db in nomount with new pfile. Today I restored the backup controfile RMAN has tried to put the database in State of Mount. But it failed due to the error below

    RMAN-03002: failure of alter db command at 21:44:56 05/11/2012
    ORA-01103: name "ORADB" in the control of the database file is not 'DEVDB '.

    So I stop the database and started the db in nomount with new pfile and tried to create the controlfile with new db name, but he didn't like it is looking for the data files.

    ORA-01503: CREATE CONTROLFILE failed
    ORA-01565: error in file identification
    ' / u01/app/oracle/oradata/DEVDB/datafile/o1_mf_system_80jq0kfw_.dbf'
    ORA-27037: unable to get file status
    Linux error: 2: no such file or directory
    Additional information: 3

    All my data files in my RMAN backup. How to get the data files of RMAN backup in the above scenario?

    Kind regards
    007

    restaurer restore as ORADB, then rename the database with DBNEWID
    http://docs.Oracle.com/CD/B19306_01/server.102/b14215/dbnewid.htm

    or use duplicate instead of restore

  • Tablespace with a data file name in double and the directory added

    Version Oracle 11.1.0.7
    AIX platform

    I have exactly the same directory for the tablespace even a tablespace with 2 files with exactly the same name.

    I don't think it was possible for Oracle create two data files in the same directory with exactly the same data file for a tablespace name.

    The difference between the two seems to be the sizes - one is 10G, the other is 10 m autoextend on but with maximum size is equal to the size of create.

    It is not possible to table either both are full.

    Please notify.

    Thank you.

    You have a character that is hidden in the name of the file. Use ls for your operating system which shows the special characters (ls - lb or something, man ls).

  • Difference between redo logfiles, Undo Tablespace, Archive log data file

    Can some please highlight the difference between Undo and Redo Logs
    Also why we need to separate the archive logs when the recovery log data can be written directly in data files...

    Help you will be highly appreciated...

    Hello

    Ed gave you a very good answer.

    Rememeber database files are online and they are written to by DBWR process. So we have the database files, redo log files and archive logs.
    In order to avoid all the crawl log when you perform a recovery, database performs control points that summarize the State of the database. This operation of control point provides a shortcut to the recovery. At the checkpoint, the database knows that all incorrect pages were written to disk (for example, database files). At the time of recovery, the log (which includes-finished and unfinished transactions) is used to bring the database to a consistent state. The system locates the time of the last checkpoint and returned to this position in the log file. Then he restores forward all completed transactions (read committed) that occurred after the last checkpoint and rolls back all transactions that were not committed, but that began before the last checkpoint. This is where online log files are used.

    Now imagine that you need to back up your database GB 100 + all 10 minutes. It would be a waste of space! So you take a backup of your database at time t and backups of archiver process redo logs periodically to check the newspapers so that redo log files can be replaced and RMAN will use the last backup and archive the log files to recover your database at the time.

    Now, I mentioned the checkpoint process. The Checkpoint process regularly launches a control point that uses DBWR to rewrite all the blocks Sales in the data files, so synchronize the database. Imagine one dam is running and have exhausted all the redo log files. At this point, Oracle will wait until all Sales already queued blocks have been written to the buffer on disk (database files) foremost him redo log files can be considered as superfluous and available for re-use (i.e. can be overwritten). This will result in the following message in the alert.log:

    Thread 1 advanced to log sequence 17973
      Current log# 3 seq# 17973 mem# 0: /oracle/data/HAM1/log3aHAM1.dbf
      Current log# 3 seq# 17973 mem# 1: /oracle/data/HAM1/log3bHAM1.dbf
    Thread 1 cannot allocate new log, sequence 17974
    Checkpoint not complete
      Current log# 3 seq# 17973 mem# 0: /oracle/data/HAM1/log3aHAM1.dbf
      Current log# 3 seq# 17973 mem# 1: /oracle/data/HAM1/log3bHAM1.dbf
    Thread 1 advanced to log sequence 17974
    

    I am sure you have done the following:

    alter database mount;
    
    Database altered.
    

    When you mount a database, Oracle combines the instance started the database. Oracle control files are opened and read. However, no checking such as the restore/recovery is performed

    alter database open;
    
    Database altered.
    

    An open command opens the data files, recovery logs, it performs automatic and consistency of database recovery. At this point, the database is now ready to be used by all valid users.

    HTH,

    Mich

    Published by: Mich Talebzadeh on November 19, 2011 16:57

  • create tablespace with existing data file

    Dear Sir.
    We can create tablespace with an existing data file so I can use the tables and objects already exist in the data file?

    Kind regards

    Read about "transportable tablespace" and see if this is what you need.

  • IMac WITH TIME MACHINE WE BACKUP DATA FILES (MS Money) VMF

    Anyone know how to make a backup of the files to merge with Time Machine data?  I'm just using a virtual machine, no Boot Camp.  OS is XP running Microsoft Money and wish for these data files will be saved, as they automatically on Time Machine backup.  I tried to reset the backup to the shared folder destination, but then could not find it in the shared folder.

    Thank you

    ANNUAL GENERAL MEETING

    It is stored in the file package VM, with everything else. So I think you're wondering if you can save the snapshot itself, without having to save the rest of the files for this virtual machine. The answer is probably not "easily", although I'm sure that others with more experience can give you a more detailed answer.

    The long and short if this is probably: If all you want to do, on a regular basis, save the files that are inside the virtual machine that have been changed (for example Money files), you must store them outside of the virtual machine (usually on a shared folder). But make sure you back up the virtual machine itself at least once, and probably whenever you install something again. But of course it depends on how paranoid, you will lose your hard drive (and paranoia is not always a bad thing, aty least in this case).

    Dan

  • extract the rman backup data file

    Hello
    I want to search when logical corruption occurs in my database, so I want to extract my rman backup and test a file with db_verify.
    But I don't want to recover the database. How to extract a file without recovery and destroing database work?

    thnx
    Podkov

    You must perform the RESTORE in an auxiliary instance - preferably on another server.

    Note: If you do it on the same server, make sure that
    a. you do not connect to the same database instance
    b. you set NEWNAME so that the data file is extracted to a different location

  • The UNDO tablespace and its data file cannot be removed

    I would like to delete an UNDO tablespace after you have created a new, but can't. I could follow a large number of instructions TOM and others, but tablepspace is still listed in the State to RECOVER. Please see what I've done below. Your help will be appreciated.
    SQL > drop tablespace UNDOTBS2;
    Drop tablespace UNDOTBS2
    *
    ERROR on line 1:
    ORA-01548: active rollback segment "_SYSSMU29_1272378969$" found, terminate
    drop the tablespace
    SQL > drop rollback segment "_SYSSMU29_1272378969$";
    Drop rollback segment "_SYSSMU29_1272378969$".
    *
    ERROR on line 1:
    ORA-30025: DROP segment ' _SYSSMU29_1272378969$ ' (in the undo tablespace) not
    permit

    Have you tried that
    http://arjudba.blogspot.com/2008/08/ora-01548-active-rollback-segment.html

  • CAN I RECOVER DELETED DATA FILE AND ITS TABLESPACE BY USING FLASHBACK DATABASE

    Hello!

    I CREATED THE TABLESPACE WITH ITS DATA FILE.

    SQL > create tablespace usmantbs datafile 'E:\oracle\product\10.2.0\oradata\orcl\usman.dbf' recording petit_fichier the size of 10 M extent management local segment space management auto;

    THEN, I CREATED A USER AND HIM ENTRUST THIS TABLESPACE.

    SQL > create default profil_utilisateur identified by Neil Leal Microsoft account unlock default tablespace usmantbs;
    SQL > grant connect, resources for Neil;

    I CONNECTED WITH Neil as USER AND CREATED a TABLE.

    SQL > conn Leal/Leal
    SQL > create table baseball (id number (9));

    SQL > select current_scn from v$ database;

    CURRENT_SCN
    ---------------------
    545863

    Then I deleted the tablespace including contents and data files...

    SQL > drop tablespace usmantbs including content and data files;

    I have no backup of this data file, but my database is in archive log...

    So I can... .flashback database to the SNA 545863 as it was before the fall... to get back my along its tablespace data file
    Wil I get my datafile back or not? Help, please...

    You can test it by yourself easily :) You will not be able to open your database
    After getting the error, just rename this data file and flashback again. Then open your database

    C:\Documents and Settings\Administrator>sqlplus "/as sysdba"
    
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Aug 1 14:20:34 2009
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    
    Total System Global Area  293601280 bytes
    Fixed Size                  1248624 bytes
    Variable Size              96469648 bytes
    Database Buffers          192937984 bytes
    Redo Buffers                2945024 bytes
    Database mounted.
    
    SQL> alter database archivelog;
    
    Database altered.
    
    SQL> alter database flashback on;
    
    Database altered.
    
    SQL> alter database open;
    
    Database altered.
    
    SQL> create tablespace tb datafile 'c:\tb.df' size 1m;
    
    Tablespace created.
    
    SQL> create user tb identified by tb;
    
    User created.
    
    SQL> grant dba to tb;
    
    Grant succeeded.
    
    SQL> alter user tb default tablespace tb;
    
    User altered.
    
    SQL> create table tb (id number);
    
    Table created.
    
    SQL> select current_scn from v$database;
    
    CURRENT_SCN
    -----------
         547292
    
    SQL> drop tablespace tb including contents and datafiles;
    
    Tablespace dropped.
    
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    
    Total System Global Area  293601280 bytes
    Fixed Size                  1248624 bytes
    Variable Size              96469648 bytes
    Database Buffers          192937984 bytes
    Redo Buffers                2945024 bytes
    Database mounted.
    
    SQL> flashback database to scn 547292;
    flashback database to scn 547292
    *
    ERROR at line 1:
    ORA-38795: warning: FLASHBACK succeeded but OPEN RESETLOGS would get error
    below
    ORA-01245: offline file 5 will be lost if RESETLOGS is done
    ORA-01111: name for data file 5 is unknown - rename to correct file
    ORA-01110: data file 5: 'C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00005'
    
    SQL> alter database open resetlogs;
    alter database open resetlogs
    *
    ERROR at line 1:
    ORA-01245: offline file 5 will be lost if RESETLOGS is done
    ORA-01111: name for data file 5 is unknown - rename to correct file
    ORA-01110: data file 5: 'C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00005'
    
    SQL> select name from v$datafile;
    
    NAME
    --------------------------------------------------------------------------------
    
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\SYSTEM01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\UNDOTBS01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\SYSAUX01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\USERS01.DBF
    C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00005
    
    SQL> alter database create datafile 'C:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00005' as 'c:\tb.dbf';
    
    Database altered.
    
    SQL> flashback database to scn 547292;
    
    Flashback complete.
    
    SQL> alter database open resetlogs;
    
    Database altered.
    
    SQL>
    
    SQL> select * from tb;
    
    no rows selected
    
    SQL> select name from v$datafile;
    
    NAME
    --------------------------------------------------------------------------------
    
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\SYSTEM01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\UNDOTBS01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\SYSAUX01.DBF
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST1\USERS01.DBF
    C:\TB.DBF
    
    SQL> select name from v$tablespace;
    
    NAME
    ------------------------------
    SYSTEM
    UNDOTBS1
    SYSAUX
    USERS
    TEMP
    TB
    
    6 rows selected.
    
    SQL>
    

    - - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev a. (10g OCP)
    http://kamranagayev.WordPress.com
    [Step by step installation Oracle Linux and automate the installation by using Shell Script | http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

    Published by: Kamran Agayev, a., July 27, 2009 14:38

  • Users tablespace - data file is 24.5 GB, only 1.2 GB used - what should I do?

    Hi all

    In my database I have users tablespace and its data file is users01.dbf. File size is 24.5 GB, but the data used are of 1.2 GB. I got this information from OEM, see image below:
    https://picasaweb.Google.com/100555146235257804098/Oracle_a1#5759303022195932370

    How I can free unused space of 23GB?

    Just to let you know to my knowledge, I am a developer of report OBI.

    Thank you!

    >
    I executed the script sql on your link http://www.oracle-ckpt.com/how-to-shrink-datafiles-adjusting-hwm/

    It gives only 7 GB. If I can save only 7 GB so it will not help me. This is the maximum possible savings, you can do.

    Do you mean if I load 20 GB of data now in the post above, the database uses the current data file to increase the size of the file? Or it adds to the size of the file, that is to say 25 + 20 = 45 GB?

    It seems CanGrow is enabled for the USERS tablespace: CANGROW - YES

    If it uses the size of the file, then I can deal with the current structure. If we add to the file so I can't move forward.

    Your data file already occupied 23 GB, if you load another 20 GB of data. Of course, it can take another 20 GB, if all 23 GB already existing aid. Have you talked about the link that is mentioned by Sir Jonathan Lewis?

  • Retrieve a data file from a backup on another server

    Hi all

    I usually take backup hot data files to a different like that server because I don't have enough space in the same server. I have

    SQL > alter tablespace XXXX begin backup;
    SCP/bu1/oradaTA/XXXXX/XXXXX host [email protected]: / db1dw/oradata/backup/dec2010/XXXX
    alter tablespace end OPS backup;

    If I want to recover the datafile can I normally do the drop offline from the data file and copy the backup data file that is located in differnet thorugh scp server and check the online data file? and the database is in archivelog mode, but I dislike abt log files. I just need to recover the data file as the last backup.
    or do we have to use all the controls recover datafile? If need to use everything recover datafile command go where it will recover the data file?

    I have not any backup or restore script, I just manually PCs from data files.

    Help please, thanks in advance...

    It is a ' user backups managed by "in the terminology of the Oracle.
    The database does not care how you copy (backup or restore) the data file from a backup location. So, you can use scp to copy the backup to the backup file.
    HOWEVER , you can recover only a datafile to the single point of the backup. Given that the rest of the database (i.e. all the other data files) have advanced further, you must RETRIEVE the DATA file and apply all ArchiveLogs since this backup of data file point to the current point (i.e. recovery would be until it again online that would apply automatically).
    Therefore, if you have had the "transactions" (e.g. deletions) against this tablespace, they will be replayed.

    Hemant K Collette

  • Why does not define RMAN bkp merge data files and the archivelogs in a single bkp

    version: 11.2.0.3

    Why not RMAN backup data files (fusion) handset and the archivelogs in a single backupset?

    Published by: Y.Ramlet on April 15, 2013 07:15

    Changed the subject line to clarity

    What would be the advantage?

    ArchiveLogs must be independent of the specific database backups. ArchiveLogs can be used for the review (RECOVER) a database to a point in time beyond the backup database. Can I get L0 data backups once a week and backups of databases L1 on a daily basis with the ArchiveLogs daily. The ArchiveLogs should not be bound to the L0, or L1 backups but be useful to RECOVER the database to any point in time.

    Hemant K Collette

  • How do the backup data?

    How to backup data files. I can't find the advice in the manual

    Hi, Conrad

    What operating system do you have? Windows XP Pro includes the Microsoft Backup utility as standard, while Windows XP Home Edition does not work, even if it is available on the installation CD.

    If you have a CD writer installed then'you can simply copy your data files on a CD-R/RW as a backup.

    You can also use an external USB disk as backup media.

    HTH

Maybe you are looking for

  • IPhone does not open messages, phone or contacts

    Does not open my iPhone 6 contacts, messages or phone, the phone crashes and returns to the home screen.

  • HP Pavilion x 360-13-s100nv: remove the recovery partitions

    Here the contents of disk management. Can I remove the two recovery partitions, since I'm not going to use this feature? (I have a full system image created with the tool Windows 10, registered in an external hard drive).

  • HP 15-r030wm: missing fan

    Can someone tell me why my HP 15-r030wm, bought at Wal-Mart, doesn't have a cooling fan? Also, what brain trust designed the location of RAM? They could not afford to install a gateway like the rest of the world?

  • How bounce audio MIDI

    I have several tracks of mide I want to bounce in an audio track. Cannot find the command - old logic command B is an Audio version of the Midi trakcs doesn't seem to be the case now? your B

  • Reading USB gamepad?

    LabView is a VI to read a USB Joystick/game controller.  Y at - it no support to achieve in CVI? I don't need anything more complex than the X & Y mark positions and detect keys. Google found me some MSDN info "Raw Device Input", but when I try to sa