2 gb datafile vs 16 gb datafile

Hi,
We are considering to move one of the databases from 2gb datafiles to 16 gb datafiles like other database.
All the datafiles are on the same location so there is not load balancing.
The size of the tablespaces are from 10gb to 35gb.
What's better few (1-3) 16gb datafiles or many 2gb ones (5 to 20) (read, write, backup, etc, ...) ?
Thanks

A few reasons. First, you don't want to have to deal with thousands of files. If you've got a 3 TB database, you'd need something like 1500 2 GB data files, and no one wants to manage 1500 files. If you've got a 3 TB data warehouse, you may be loading multiple GB of data every day, you don't want to have to create new data files every day for the nightly load. A TB data warehouse will also tend to be quite usable missing a data file, assuming partitioning is set up properly, so you tend to have slightly longer recovery windows. Data warehouses also tend to have much better backup systems whereas a smaller databases may tend to "make due" with older/ slower backup systems.
Justin

Similar Messages

  • More small datafiles or one big datafile for tablespace

    Hello,
    I would like to create a new tablespace (about 4 GB). Could someone if it's better to create one big datafile or create 4 datafiles with 1 GB each?
    Thank you.

    It depends. Most of the time, it's going to come down to personal preference.
    If you have multiple data files, will you be able to spread them over multiple physical devices? Or do you have a disk subsystem that virtualizes many physical devices and spreads the data files across physical drives (i.e. a SAN)?
    How big is the database going to get? You wouldn't want to have a 1 TB database with 1000 1 GB files, that would be a monster to manage. You probably wouldn't want a 250 GB database with a single data file either, because it would take forever to recover the data file from tape if there was a single block corruption.
    Is there a data files size that fits comfortably in whatever size mount points you have? If you get 10 GB chunks of SAN at a time, for example, you would probably want data files that were an integer factor of that (i.e. 1, 2, or 5 GB) so that you can add similarly sized data files without wasting space and so that you can move files to a new mountpoint without worrying about whether they'll all fit.
    Does your OS support files of an appropriate size? I know Windows had problems a while ago with files > 2 GB (at least when files extended beyond 2 GB).
    In the end though, this is one of those things that probably doesn't matter too much within reason.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Many little datafiles or one big datafile?

    Hi all
    I have a database which grows every day. I have 10 datafiles with name users01.db , users02.dbf and etc.
    And all these datafiles have 1.5Gb size. Each time every datafile reachs it's 1.5Gb size, I add new datafile. Is it correct strategy? Or I must add only extents to last datafile and allow it to grow?
    Thanks...

    Hi,
    In my point of view, it is a good approach if "table striping" is used, where data is spread across more than one device. Otherwise, if you have just one disk, then I don't see advantages or disadvantages. In addition, take a look at [url http://forums.oracle.com/forums/thread.jspa?messageID=1041074&#1041074]more small datafiles or one big datafile for tablespace thread.
    Cheers
    Legatti

  • Error in opening datafile after use of DATAFILE RESIZE command

    Hi Friends,
    I am facing a strange problem here. We got a space problem yesterday ORA-01659: unable to allocate MINEXTENTS beyond 42 in tablespace and I increased the underlying datafiles using resize command. The datafiles were 1G earlier and I have increased them to 2G using the command
    ALTER DATABASE DATAFILE 4 resize 2G;
    It went fine and I saw the free space in my tablespace. But after this when I try to drop a table using a script which connects to this db as a schema owner ( the script just selects all tables from dictionary and drops it using 'drop table x cascade constraints' , It thorws the following error
    ERROR at line 1:
    ORA-01116: error in opening database file 4
    ORA-01110: data file 4: '/SAN/p0/oradb/CBA11/data/avient01CBA11.dbf'
    ORA-27092: size of file exceeds file size limit of the process
    Additional information: 132104
    Additional information: 262145
    On going through metalink, I found that there could be problems with ulimit parameter in the OS. My OS is SunOS 5.8 Generic_117350-28 sun4u sparc SUNW,Sun-Fire-480R and my oracle version is 10.2.0.1.0 . I have set the ulimit parameters for file size to unlimited for both hard limit and soft limit.
    airsun10 oracle [CBA11]:ulimit -aS
    time(seconds) unlimited
    file(blocks) unlimited
    data(kbytes) unlimited
    stack(kbytes) 8192
    coredump(blocks) unlimited
    nofiles(descriptors) 256
    vmemory(kbytes) unlimited
    airsun10 oracle [CBA11]:ulimit -aH
    time(seconds) unlimited
    file(blocks) unlimited
    data(kbytes) unlimited
    stack(kbytes) unlimited
    coredump(blocks) unlimited
    nofiles(descriptors) 256
    vmemory(kbytes) unlimited
    airsun10 oracle [CBA11]:ulimit -Ss unlimited
    airsun10 oracle [CBA11]:ulimit -aS
    time(seconds) unlimited
    file(blocks) unlimited
    data(kbytes) unlimited
    stack(kbytes) unlimited
    coredump(blocks) unlimited
    nofiles(descriptors) 256
    vmemory(kbytes) unlimited
    airsun10 oracle [CBA11]:ulimit -aH
    time(seconds) unlimited
    file(blocks) unlimited
    data(kbytes) unlimited
    stack(kbytes) unlimited
    coredump(blocks) unlimited
    nofiles(descriptors) 256
    vmemory(kbytes) unlimited
    airsun10 oracle [CBA11]:
    These solutions are suggested as per MOS note ID 271331.1. However the issue is still persisting. I am not getting any clue on whats happening. Any help is appreciated.
    Thanks
    SSN

    Thanks for your hint.
    yes, I did and the following is something more strange. I can't figure out !!
    The ulimit is only different for stack for hard and soft. file size is still unlimited. The same drop table doesn't allow me when I connect as schema owner directly !
    airsun10 oracle [CHANGEME]:whoami
    oracle
    airsun10 oracle [CHANGEME]:ulimit -aS
    time(seconds) unlimited
    file(blocks) unlimited
    data(kbytes) unlimited
    stack(kbytes) 8192
    coredump(blocks) unlimited
    nofiles(descriptors) 256
    vmemory(kbytes) unlimited
    airsun10 oracle [CHANGEME]:ulimit -aH
    time(seconds) unlimited
    file(blocks) unlimited
    data(kbytes) unlimited
    stack(kbytes) unlimited
    coredump(blocks) unlimited
    nofiles(descriptors) 1024
    vmemory(kbytes) unlimited
    airsun10 oracle [CHANGEME]:cd drop_cts/
    /export/home/oracle/drop_cts
    airsun10 oracle [CHANGEME]:ls
    drop.sql on.lst run_drop.sql sql
    drop_objects recompile_objects run_dropObj.sql
    airsun10 oracle [CHANGEME]:cat drop.sql
    drop table BID_STATUSES cascade constraints;
    drop table BID_TYPES cascade constraints;
    drop table BID_TYPES_IN_SETS cascade constraints;
    airsun10 oracle [CHANGEME]:sqlplus cts_owner/cts_owner@CBA11
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Oct 8 10:02:06 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> @drop.sql
    drop table BID_STATUSES cascade constraints
    ERROR at line 1:
    ORA-01116: error in opening database file 4
    ORA-01110: data file 4: '/SAN/p0/oradb/CBA11/data/avient01CBA11.dbf'
    ORA-27092: size of file exceeds file size limit of the process
    Additional information: 132104
    Additional information: 183107
    drop table BID_TYPES cascade constraints
    ERROR at line 1:
    ORA-01116: error in opening database file 4
    ORA-01110: data file 4: '/SAN/p0/oradb/CBA11/data/avient01CBA11.dbf'
    ORA-27092: size of file exceeds file size limit of the process
    Additional information: 132104
    Additional information: 183107
    drop table BID_TYPES_IN_SETS cascade constraints
    ERROR at line 1:
    ORA-01116: error in opening database file 4
    ORA-01110: data file 4: '/SAN/p0/oradb/CBA11/data/avient01CBA11.dbf'
    ORA-27092: size of file exceeds file size limit of the process
    Additional information: 132104
    Additional information: 183107
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    airsun10 oracle [CHANGEME]:export ORACLE_SID=CBA11
    airsun10 oracle [CBA11]:sqlplus /nolog
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Oct 8 10:02:29 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> conn cts_owner/cts_owner
    Connected.
    SQL> drop table BID_STATUSES cascade constraints;
    Table dropped.
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    airsun10 oracle [CBA11]:

  • Resize datafile or add new datafile which is good?

    Hi all
    we have 80 GB database size and only two tablespace have space around 60 Gb
    these two tablespace have one database each around 30 gb so
    My question is it good to resize current datafile or
    It it good to add new datafile ?

    Your question is which is "best"; add datafile or resize right? If yes, then I think below links will answer you :
    http://www.freelists.org/post/oracle-l/Datafile-size-Is-bigger-better,9
    datafile and size
    Bigfile or smallfile tablespace?
    Just go through these link. I am sure answer in it.
    Regards
    Girish Sharma

  • Confused with datafile status in v$datafile and v$recovery_file

    Hi All,
    Am facing great confused problem in prod database, accidently i created datafile so i tried to drop it by using "alter database datafile' ' offline drop"
    But its showing recovery status in v$datafile and offline status in v$recovery_file.
    Please inform how to resolve this issue.
    Regards,
    Yasser.(Oracle DBA)

    You add datafiles to a Tablespace and when you remove a datafile from the database you have to drop the associated tablespace that the file had belonged to.
    Exactly what actions did you take in what order to create and eliminate this datafile to and from the database?
    What is the Oracle version?
    What are the results of the following queries?
    select ts#, file#, rfile#, status, enabled from v$datafile
    where name = 'x'
    select "ONLINE", online_status, error
    from v$recover_file where file# = n
    HTH -- Mark D Powell --

  • How can I clean all data in a database but keep all datafile still same nam

    hi,
    How can I get a easy way to clean all data in a database but keep all datafiles still same name and location just like a new created database?
    dbca has two choice: create templet without datafile or with all datafiles but not empty datafiles.
    thanks

    What version is your database? DBCA in 10gR2 allows you to create a template from an existing database using only the structure. From DBCA
    From an existing database (structure only)
    The template will contain structural information about the source database including database options, tablespaces, datafiles, and initialization parameters specified in the source database. User defined schemas and thier data will not be part of the created template.

  • Datafile size minor than 4 Gb: is this a bug?

    Hi all! I have a tablespace made up by 1 datafile (size = 4 Gb). Oracle 9.2.0.4.0 (on Win2k server) seems incapable of managing this; in fact, I receive ora-04031: unable to allocate 8192 bytes of shared memory but the memory of Oracle is configured correctly. Resizing this tablespace and adding a new datafile so that every datafile is 2 Gb large, I don't receive the error any longer. what do you think about this?
    Bye. Ste.

    Hello everybody;
    The Buffer Cache Advisory feature enables and disables statistics gathering for predicting behavior with different cache sizes. The information provided by these statistics can help you size the Database Buffer Cache optimally for a given workload. The Buffer Cache Advisory information is collected and displayed through the V$DB_CACHE_ADVICE view.
    The Buffer Cache Advisory is enabled via the DB_CACHE_ADVICE initialization parameter. It is a dynamic parameter, and can be altered using ALTER SYSTEM. Three values (OFF, ON, READY) are available.
    DB_CACHE_ADVICE Parameter Values
    OFF: Advisory is turned off and the memory for the advisory is not allocated.
    ON: Advisory is turned on and both cpu and memory overhead is incurred.
    Attempting to set the parameter to the ON state when it is in the OFF state may lead to the following error: ORA-4031 Inability to allocate from the Shared Pool when the parameter is switched to ON. If the parameter is in a READY state it can be set to ON without error because the memory is already allocated.
    READY: Advisory is turned off but the memory for the advisory remains allocated. Allocating the memory before the advisory is actually turned on will avoid the risk of ORA-4031. If the parameter is switched to this state from OFF, it is possible that an ORA-4031 will be raised.
    Make sure too that you dont need to use RMAN program to make backup...baceuse the large pool is used to this too.
    Regards to everybody
    Nando

  • No backup or copy of datafile 4 found to restore Error ??

    Hi,
    I have a 2 Virtual machine with Oracle 10g on OEL.
    Let's say machine 1 is called : OEL-SOURCE MACHINE
    Let's say machine 1 is called : DR-TARGET MACHINE
    When i am trying to restore rman backup on 2 machine 'DR', it comes with the message "RMAN-06023: no backup or copy of datafile 4 found to restore"
    Here are the steps that i followed on Machine 1 i.e. OEL-SOURCE MACHINE :
    RMAN>
    Oracle instance started
    database mounted
    database opened
    Total System Global Area     285212672 bytes
    Fixed Size                     1218992 bytes
    Variable Size                 83887696 bytes
    Database Buffers             197132288 bytes
    Redo Buffers                   2973696 bytes
    RMAN> show all;
    using target database control file instead of recovery catalog
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/va00/oracle/product/10.2.0/db_1/dbs/snapcf_mytest.f'; # default
    RMAN> backup database plus archivelog;
    Starting backup at 26-OCT-10
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=14 recid=12 stamp=733426429
    input archive log thread=1 sequence=15 recid=13 stamp=733426789
    input archive log thread=1 sequence=16 recid=14 stamp=733426795
    input archive log thread=1 sequence=17 recid=15 stamp=733426801
    input archive log thread=1 sequence=18 recid=16 stamp=733426801
    input archive log thread=1 sequence=19 recid=17 stamp=733426855
    input archive log thread=1 sequence=20 recid=18 stamp=733426856
    input archive log thread=1 sequence=21 recid=19 stamp=733426861
    input archive log thread=1 sequence=22 recid=20 stamp=733426862
    input archive log thread=1 sequence=23 recid=21 stamp=733436688
    input archive log thread=1 sequence=24 recid=22 stamp=733437082
    channel ORA_DISK_1: starting piece 1 at 26-OCT-10
    channel ORA_DISK_1: finished piece 1 at 26-OCT-10
    piece handle=/va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203122_6dh07d2o_.bkp tag=TAG20101026T203122 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
    Finished backup at 26-OCT-10
    Starting backup at 26-OCT-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf
    input datafile fno=00005 name=/va02/oracle/oradata/mytest/company_tab_01.dbf
    input datafile fno=00006 name=/va03/oracle/oradata/mytest/company_idx_01.dbf
    input datafile fno=00003 name=/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf
    input datafile fno=00002 name=/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf
    input datafile fno=00004 name=/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf
    channel ORA_DISK_1: starting piece 1 at 26-OCT-10
    channel ORA_DISK_1: finished piece 1 at 26-OCT-10
    piece handle=/va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_nnndf_TAG20101026T203125_6dh07g07_.bkp tag=TAG20101026T203125 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:01:05
    Finished backup at 26-OCT-10
    Starting backup at 26-OCT-10
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archive log backupset
    channel ORA_DISK_1: specifying archive log(s) in backup set
    input archive log thread=1 sequence=25 recid=23 stamp=733437151
    channel ORA_DISK_1: starting piece 1 at 26-OCT-10
    channel ORA_DISK_1: finished piece 1 at 26-OCT-10
    piece handle=/va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203231_6dh09jj6_.bkp tag=TAG20101026T203231 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:02
    Finished backup at 26-OCT-10
    Starting Control File and SPFILE Autobackup at 26-OCT-10
    piece handle=/va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp comment=NONE
    Finished Control File and SPFILE Autobackup at 26-OCT-10This completed the RMAN
    Now i listed the backup with RMAN
    RMAN> list backup
    2> ;
    List of Backup Sets
    ===================
    BS Key  Size       Device Type Elapsed Time Completion Time
    9       1.99M      DISK        00:00:02     26-OCT-10     
            BP Key: 9   Status: AVAILABLE  Compressed: NO  Tag: TAG20101026T203122
            Piece Name: /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203122_6dh07d2o_.bkp
      List of Archived Logs in backup set 9
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      1    14      545557     26-OCT-10 545610     26-OCT-10
      1    15      545610     26-OCT-10 546080     26-OCT-10
      1    16      546080     26-OCT-10 546083     26-OCT-10
      1    17      546083     26-OCT-10 546086     26-OCT-10
      1    18      546086     26-OCT-10 546088     26-OCT-10
      1    19      546088     26-OCT-10 546114     26-OCT-10
      1    20      546114     26-OCT-10 546116     26-OCT-10
      1    21      546116     26-OCT-10 546119     26-OCT-10
      1    22      546119     26-OCT-10 546121     26-OCT-10
      1    23      546121     26-OCT-10 567862     26-OCT-10
      1    24      567862     26-OCT-10 568231     26-OCT-10
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    10      Full    515.82M    DISK        00:01:04     26-OCT-10     
            BP Key: 10   Status: AVAILABLE  Compressed: NO  Tag: TAG20101026T203125
            Piece Name: /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_nnndf_TAG20101026T203125_6dh07g07_.bkp
      List of Datafiles in backup set 10
      File LV Type Ckp SCN    Ckp Time  Name
      1       Full 568235     26-OCT-10 /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf
      2       Full 568235     26-OCT-10 /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf
      3       Full 568235     26-OCT-10 /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf
      4       Full 568235     26-OCT-10 /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf
      5       Full 568235     26-OCT-10 /va02/oracle/oradata/mytest/company_tab_01.dbf
      6       Full 568235     26-OCT-10 /va03/oracle/oradata/mytest/company_idx_01.dbf
    BS Key  Size       Device Type Elapsed Time Completion Time
    11      17.50K     DISK        00:00:01     26-OCT-10     
            BP Key: 11   Status: AVAILABLE  Compressed: NO  Tag: TAG20101026T203231
            Piece Name: /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203231_6dh09jj6_.bkp
      List of Archived Logs in backup set 11
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      1    25      568231     26-OCT-10 568267     26-OCT-10
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    12      Full    6.80M      DISK        00:00:00     26-OCT-10     
            BP Key: 12   Status: AVAILABLE  Compressed: NO  Tag: TAG20101026T203234
            Piece Name: /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp
      Control File Included: Ckp SCN: 568273       Ckp time: 26-OCT-10
      SPFILE Included: Modification time: 26-OCT-10
    RMAN> Then i reported obsolete, and as we can see my datafile is not listed here which is good.
    RMAN> report obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 1
    Report of obsolete backups and copies
    Type                 Key    Completion Time    Filename/Handle
    Archive Log          12     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_14_6dgotdvb_.arc
    Archive Log          13     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_15_6dgp5nyg_.arc
    Archive Log          14     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_16_6dgp5tz4_.arc
    Archive Log          15     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_17_6dgp610j_.arc
    Archive Log          16     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_18_6dgp612w_.arc
    Archive Log          17     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_19_6dgp7q9b_.arc
    Archive Log          18     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_20_6dgp7rrq_.arc
    Archive Log          19     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_21_6dgp7x5d_.arc
    Archive Log          20     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_22_6dgp7yln_.arc
    Archive Log          21     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_23_6dgztytj_.arc
    Archive Log          22     26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/archivelog/2010_10_26/o1_mf_1_24_6dh07bff_.arc
    Backup Set           9      26-OCT-10        
    Backup Piece       9      26-OCT-10          /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203122_6dh07d2o_.bkpI transferred complete RMAN folder to 2nd machine & switched to second Machine i..e DR-TARGET MACHINE
    [oracle@localhost ~]$ export ORACLE_SID=mytest
    [oracle@localhost ~]$ rman target /
    Recovery Manager: Release 10.2.0.1.0 - Production on Tue Oct 26 20:48:49 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    connected to target database (not started)
    RMAN> set dbid=2432458060;
    executing command: SET DBID
    RMAN> startup nomount;   
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file '/va00/oracle/product/10.2.0/db_1/dbs/initmytest.ora'
    starting Oracle instance without parameter file for retrival of spfile
    Oracle instance started
    Total System Global Area     159383552 bytes
    Fixed Size                     1218268 bytes
    Variable Size                 54528292 bytes
    Database Buffers             100663296 bytes
    Redo Buffers                   2973696 bytes
    RMAN> restore spfile from '/tmp/rman_backups_third_set/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp';
    Starting restore at 26-OCT-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: autobackup found: /tmp/rman_backups_third_set/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp
    channel ORA_DISK_1: SPFILE restore from autobackup complete
    Finished restore at 26-OCT-10
    RMAN> shutdown immediate
    Oracle instance shut down
    RMAN> startup nomount;
    connected to target database (not started)
    Oracle instance started
    Total System Global Area     285212672 bytes
    Fixed Size                     1218992 bytes
    Variable Size                 83887696 bytes
    Database Buffers             197132288 bytes
    Redo Buffers                   2973696 bytes
    RMAN> restore controlfile from '/tmp/rman_backups_third_set/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp';
    Starting restore at 26-OCT-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=156 devtype=DISK
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:02
    output filename=/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/controlfile/o1_mf_6dh1d2o5_.ctl
    output filename=/va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/controlfile/o1_mf_6dh1d31n_.ctl
    Finished restore at 26-OCT-10
    RMAN> shutdown immediate
    Oracle instance shut down
    RMAN> startup force mount;
    Oracle instance started
    database mounted
    Total System Global Area     285212672 bytes
    Fixed Size                     1218992 bytes
    Variable Size                 83887696 bytes
    Database Buffers             197132288 bytes
    Redo Buffers                   2973696 bytes
    RMAN> catalog start with '/tmp/rman_backups_third_set/';
    searching for all files that match the pattern /tmp/rman_backups_third_set/
    List of Files Unknown to the Database
    =====================================
    File Name: /tmp/rman_backups_third_set/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp
    File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203231_6dh09jj6_.bkp
    File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_nnndf_TAG20101026T203125_6dh07g07_.bkp
    File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203122_6dh07d2o_.bkp
    File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_1_6dcg8yw6_.log
    File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_3_6dcg92d5_.log
    File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_2_6dcg90tg_.log
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_18_6dgp612w_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_24_6dh07bff_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_21_6dgp7x5d_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_28_6dh0dpsb_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_14_6dgotdvb_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_22_6dgp7yln_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_29_6dh0dqoy_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_26_6dh0df44_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_16_6dgp5tz4_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_23_6dgztytj_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_19_6dgp7q9b_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_17_6dgp610j_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_20_6dgp7rrq_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_15_6dgp5nyg_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_27_6dh0djqt_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_25_6dh09h1c_.arc
    Do you really want to catalog the above files (enter YES or NO)? YES
    cataloging files...
    cataloging done
    List of Cataloged Files
    =======================
    File Name: /tmp/rman_backups_third_set/autobackup/2010_10_26/o1_mf_s_733437154_6dh09lhr_.bkp
    File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203231_6dh09jj6_.bkp
    File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_nnndf_TAG20101026T203125_6dh07g07_.bkp
    File Name: /tmp/rman_backups_third_set/backupset/2010_10_26/o1_mf_annnn_TAG20101026T203122_6dh07d2o_.bkp
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_18_6dgp612w_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_24_6dh07bff_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_21_6dgp7x5d_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_28_6dh0dpsb_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_14_6dgotdvb_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_22_6dgp7yln_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_29_6dh0dqoy_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_26_6dh0df44_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_16_6dgp5tz4_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_23_6dgztytj_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_19_6dgp7q9b_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_17_6dgp610j_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_20_6dgp7rrq_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_15_6dgp5nyg_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_27_6dh0djqt_.arc
    File Name: /tmp/rman_backups_third_set/archivelog/2010_10_26/o1_mf_1_25_6dh09h1c_.arc
    List of Files Which Where Not Cataloged
    =======================================
    File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_1_6dcg8yw6_.log
      RMAN-07529: Reason: catalog is not supported for this file type
    File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_3_6dcg92d5_.log
      RMAN-07529: Reason: catalog is not supported for this file type
    File Name: /tmp/rman_backups_third_set/onlinelog/o1_mf_2_6dcg90tg_.log
      RMAN-07529: Reason: catalog is not supported for this file type
    Here comes the issue ...when i try to restore the db
    RMAN> restore database;
    Starting restore at 26-OCT-10
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of restore command at 10/26/2010 20:53:13
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restoreSO MY QUESTION OR DOUBT IS WHY AT THE END IT FAILS THAT THERE IS NO BACKUP FOR DATAFILE 1,2,3,4 ??? AS WE CAN SEE ABOVE IT IS PRESENT IN MY BACKUPSET ??
    ANY IDEA /HINTS/TIPS ?
    I searched on google and somebody mentioned to a similar case that it could be a problem with 'CONFIGURE CONTROLFILE AUTOBACKUP OFF' where as in my case i have set it to 'CONFIGURE CONTROLFILE AUTOBACKUP ON'
    Somehow looks like that the control file is not having latest backup info ... :-( I already took a fresh backup 2 times and landed up in same issue.. not sure where i am doing a mistake.
    Regards
    Learner

    No replies ... :-(
    Meanwhile i also looked in the trace file folder to see if there are any clues. here goes the content of alert_log.file
    Tue Oct 26 23:28:59 2010
    Shutting down instance: further logons disabled
    Tue Oct 26 23:28:59 2010
    Stopping background process CJQ0
    Tue Oct 26 23:28:59 2010
    Stopping background process MMNL
    Tue Oct 26 23:28:59 2010
    Stopping background process MMON
    Tue Oct 26 23:28:59 2010
    Shutting down instance (immediate)
    License high water mark = 5
    Tue Oct 26 23:29:00 2010
    Stopping Job queue slave processes
    Tue Oct 26 23:29:00 2010
    Job queue slave processes stopped
    Waiting for dispatcher 'D000' to shutdown
    All dispatchers and shared servers shutdown
    Tue Oct 26 23:29:05 2010
    PMON failed to acquire latch, see PMON dump
    PMON failed to acquire latch, see PMON dump
    PMON failed to acquire latch, see PMON dump
    PMON failed to acquire latch, see PMON dump
    Tue Oct 26 23:29:16 2010
    alter database close
    Tue Oct 26 23:29:16 2010
    ORA-1109 signalled during: alter database close...
    Tue Oct 26 23:29:16 2010
    alter database dismount
    Completed: alter database dismount
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Tue Oct 26 23:29:36 2010
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
      processes                = 150
      __shared_pool_size       = 75497472
      __large_pool_size        = 4194304
      __java_pool_size         = 4194304
      __streams_pool_size      = 0
      sga_target               = 285212672
      control_files            = /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/controlfile/o1_mf_6dh49dgy_.ctl, /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/controlfile/o1_mf_6dh49dkr_.ctl
      db_block_size            = 8192
      __db_cache_size          = 197132288
      compatible               = 10.2.0.1.0
      db_file_multiblock_read_count= 16
      db_create_file_dest      = /va00/oracle/product/10.2.0/db_1/oradata
      db_recovery_file_dest    = /va00/oracle/product/10.2.0/db_1/flash_recovery_area
      db_recovery_file_dest_size= 1572864000
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS1
      remote_login_passwordfile= EXCLUSIVE
      db_domain                =
      dispatchers              = (PROTOCOL=TCP) (SERVICE=mytestXDB)
      job_queue_processes      = 10
      background_dump_dest     = /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump
      user_dump_dest           = /va00/oracle/product/10.2.0/db_1/admin/mytest/udump
      core_dump_dest           = /va00/oracle/product/10.2.0/db_1/admin/mytest/cdump
      audit_file_dest          = /va00/oracle/product/10.2.0/db_1/admin/mytest/adump
      db_name                  = mytest
      open_cursors             = 300
      pga_aggregate_target     = 94371840
    PMON started with pid=2, OS id=4483
    PSP0 started with pid=3, OS id=4485
    MMAN started with pid=4, OS id=4487
    DBW0 started with pid=5, OS id=4489
    LGWR started with pid=6, OS id=4491
    CKPT started with pid=7, OS id=4493
    SMON started with pid=8, OS id=4495
    RECO started with pid=9, OS id=4497
    CJQ0 started with pid=10, OS id=4499
    MMON started with pid=11, OS id=4501
    Tue Oct 26 23:29:38 2010
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    MMNL started with pid=12, OS id=4503
    Tue Oct 26 23:29:38 2010
    starting up 1 shared server(s) ...
    Tue Oct 26 23:29:39 2010
    alter database mount
    Tue Oct 26 23:29:43 2010
    Setting recovery target incarnation to 3
    Tue Oct 26 23:29:43 2010
    Successful mount of redo thread 1, with mount id 2432571107
    Tue Oct 26 23:29:43 2010
    Database mounted in Exclusive Mode
    Completed: alter database mount
    Tue Oct 26 23:30:00 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:30:00 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
    ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
    ORA-01110: data file 2: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:30:00 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
    ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
    ORA-01110: data file 3: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:30:00 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:30:00 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
    ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
    ORA-01110: data file 5: '/va02/oracle/oradata/mytest/company_tab_01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:30:00 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4489.trc:
    ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
    ORA-01110: data file 6: '/va03/oracle/oradata/mytest/company_idx_01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:32:16 2010
    Shutting down instance: further logons disabled
    Tue Oct 26 23:32:16 2010
    Stopping background process MMNL
    Tue Oct 26 23:32:16 2010
    Stopping background process CJQ0
    Tue Oct 26 23:32:17 2010
    Stopping background process MMON
    Tue Oct 26 23:32:17 2010
    Shutting down instance (immediate)
    License high water mark = 5
    Tue Oct 26 23:32:17 2010
    Stopping Job queue slave processes
    Tue Oct 26 23:32:17 2010
    Job queue slave processes stopped
    Waiting for dispatcher 'D000' to shutdown
    All dispatchers and shared servers shutdown
    Tue Oct 26 23:32:23 2010
    PMON failed to acquire latch, see PMON dump
    PMON failed to acquire latch, see PMON dump
    PMON failed to acquire latch, see PMON dump
    PMON failed to acquire latch, see PMON dump
    Tue Oct 26 23:32:33 2010
    PMON failed to acquire latch, see PMON dump
    PMON failed to acquire latch, see PMON dump
    Tue Oct 26 23:32:38 2010
    Process OS id : 4514 alive after kill
    Errors in file
    Tue Oct 26 23:32:39 2010
    PMON failed to acquire latch, see PMON dump
    Tue Oct 26 23:32:40 2010
    alter database close
    Tue Oct 26 23:32:40 2010
    ORA-1109 signalled during: alter database close...
    Tue Oct 26 23:32:40 2010
    alter database dismount
    Completed: alter database dismount
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Tue Oct 26 23:36:35 2010
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
      processes                = 150
      __shared_pool_size       = 75497472
      __large_pool_size        = 4194304
      __java_pool_size         = 4194304
      __streams_pool_size      = 0
      sga_target               = 285212672
      control_files            = /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/controlfile/o1_mf_6dcg8wco_.ctl, /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/controlfile/o1_mf_6dcg8wps_.ctl
      db_block_size            = 8192
      __db_cache_size          = 197132288
      compatible               = 10.2.0.1.0
      db_file_multiblock_read_count= 16
      db_create_file_dest      = /va00/oracle/product/10.2.0/db_1/oradata
      db_recovery_file_dest    = /va00/oracle/product/10.2.0/db_1/flash_recovery_area
      db_recovery_file_dest_size= 1572864000
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS1
      remote_login_passwordfile= EXCLUSIVE
      db_domain                =
      dispatchers              = (PROTOCOL=TCP) (SERVICE=mytestXDB)
      job_queue_processes      = 10
      background_dump_dest     = /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump
      user_dump_dest           = /va00/oracle/product/10.2.0/db_1/admin/mytest/udump
      core_dump_dest           = /va00/oracle/product/10.2.0/db_1/admin/mytest/cdump
      audit_file_dest          = /va00/oracle/product/10.2.0/db_1/admin/mytest/adump
      db_name                  = mytest
      open_cursors             = 300
      pga_aggregate_target     = 94371840
    PMON started with pid=2, OS id=4622
    PSP0 started with pid=3, OS id=4624
    MMAN started with pid=4, OS id=4626
    DBW0 started with pid=5, OS id=4628
    LGWR started with pid=6, OS id=4630
    CKPT started with pid=7, OS id=4632
    SMON started with pid=8, OS id=4634
    RECO started with pid=9, OS id=4636
    CJQ0 started with pid=10, OS id=4638
    MMON started with pid=11, OS id=4640
    MMNL started with pid=12, OS id=4642
    Tue Oct 26 23:36:36 2010
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    Tue Oct 26 23:36:47 2010
    Deleted Oracle managed file /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/controlfile/o1_mf_6dcg8wco_.ctl
    Deleted Oracle managed file /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/controlfile/o1_mf_6dcg8wps_.ctl
    Tue Oct 26 23:36:58 2010
    Shutting down instance: further logons disabled
    Tue Oct 26 23:36:58 2010
    Stopping background process CJQ0
    Tue Oct 26 23:36:58 2010
    Stopping background process MMNL
    Tue Oct 26 23:36:58 2010
    Stopping background process MMON
    Tue Oct 26 23:36:58 2010
    Shutting down instance (immediate)
    License high water mark = 3
    Tue Oct 26 23:36:58 2010
    Stopping Job queue slave processes
    Tue Oct 26 23:36:58 2010
    Job queue slave processes stopped
    Waiting for dispatcher 'D000' to shutdown
    All dispatchers and shared servers shutdown
    Tue Oct 26 23:37:00 2010
    alter database close
    ORA-1507 signalled during: alter database close...
    Tue Oct 26 23:37:00 2010
    alter database dismount
    ORA-1507 signalled during: alter database dismount...
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Tue Oct 26 23:37:10 2010
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.1.0.
    System parameters with non-default values:
      processes                = 150
      __shared_pool_size       = 75497472
      __large_pool_size        = 4194304
      __java_pool_size         = 4194304
      __streams_pool_size      = 0
      sga_target               = 285212672
      control_files            = /va00/oracle/product/10.2.0/db_1/oradata/MYTEST/controlfile/o1_mf_6dhc2ymb_.ctl, /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/controlfile/o1_mf_6dhc2yp5_.ctl
      db_block_size            = 8192
      __db_cache_size          = 197132288
      compatible               = 10.2.0.1.0
      db_file_multiblock_read_count= 16
      db_create_file_dest      = /va00/oracle/product/10.2.0/db_1/oradata
      db_recovery_file_dest    = /va00/oracle/product/10.2.0/db_1/flash_recovery_area
      db_recovery_file_dest_size= 1572864000
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS1
      remote_login_passwordfile= EXCLUSIVE
      db_domain                =
      dispatchers              = (PROTOCOL=TCP) (SERVICE=mytestXDB)
      job_queue_processes      = 10
      background_dump_dest     = /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump
      user_dump_dest           = /va00/oracle/product/10.2.0/db_1/admin/mytest/udump
      core_dump_dest           = /va00/oracle/product/10.2.0/db_1/admin/mytest/cdump
      audit_file_dest          = /va00/oracle/product/10.2.0/db_1/admin/mytest/adump
      db_name                  = mytest
      open_cursors             = 300
      pga_aggregate_target     = 94371840
    PMON started with pid=2, OS id=4654
    PSP0 started with pid=3, OS id=4656
    MMAN started with pid=4, OS id=4658
    DBW0 started with pid=5, OS id=4660
    LGWR started with pid=6, OS id=4662
    CKPT started with pid=7, OS id=4664
    SMON started with pid=8, OS id=4666
    RECO started with pid=9, OS id=4668
    CJQ0 started with pid=10, OS id=4670
    MMON started with pid=11, OS id=4672
    Tue Oct 26 23:37:11 2010
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    MMNL started with pid=12, OS id=4674
    Tue Oct 26 23:37:11 2010
    starting up 1 shared server(s) ...
    Tue Oct 26 23:37:11 2010
    alter database mount
    Tue Oct 26 23:37:15 2010
    Setting recovery target incarnation to 2
    Tue Oct 26 23:37:15 2010
    Successful mount of redo thread 1, with mount id 2432596903
    Tue Oct 26 23:37:15 2010
    Database mounted in Exclusive Mode
    Completed: alter database mount
    New incarnation branch detected in Backup, filename /va00/oracle/product/10.2.0/db_1/flash_recovery_area/MYTEST/autobackup/2010_10_26/some_o1_mf_s_733420244_6dghs7pn_.bkp
    Inspection of file changed rdi from 2 to 3
    Setting recovery target incarnation to 3
    Tue Oct 26 23:37:23 2010
    Setting recovery target incarnation to 3
    Tue Oct 26 23:37:23 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:23 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
    ORA-01110: data file 2: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:23 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
    ORA-01110: data file 3: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:23 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:23 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
    ORA-01110: data file 5: '/va02/oracle/oradata/mytest/company_tab_01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:23 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
    ORA-01110: data file 6: '/va03/oracle/oradata/mytest/company_idx_01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:31 2010
    WARNING: catalog online log file /tmp/rman_backups_third_set/onlinelog/o1_mf_1_6dcg8yw6_.log is not supported
    WARNING: catalog online log file /tmp/rman_backups_third_set/onlinelog/o1_mf_3_6dcg92d5_.log is not supported
    WARNING: catalog online log file /tmp/rman_backups_third_set/onlinelog/o1_mf_2_6dcg90tg_.log is not supported
    Expanded controlfile section 11 from 28 to 144 records
    Requested to grow by 116 records; added 5 blocks of records
    Tue Oct 26 23:37:46 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:46 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
    ORA-01110: data file 2: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:46 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
    ORA-01110: data file 3: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:46 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:46 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
    ORA-01110: data file 5: '/va02/oracle/oradata/mytest/company_tab_01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    Tue Oct 26 23:37:46 2010
    Errors in file /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc:
    ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
    ORA-01110: data file 6: '/va03/oracle/oradata/mytest/company_idx_01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3Not sure why does it says that it was unable to obtain file status .. is it because the dbf files could not be restored that's why ??
    Also here goes the content of DBW trace file
    [oracle@localhost bdump]$ cat mytest_dbw0_4660.trc
    /va00/oracle/product/10.2.0/db_1/admin/mytest/bdump/mytest_dbw0_4660.trc
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORACLE_HOME = /va00/oracle/product/10.2.0/db_1
    System name:    Linux
    Node name:      localhost.localdomain
    Release:        2.6.18-194.el5
    Version:        #1 SMP Mon Mar 29 20:06:41 EDT 2010
    Machine:        i686
    Instance name: mytest
    Redo thread mounted by this instance: 1
    Oracle process number: 5
    Unix process pid: 4660, image: [email protected] (DBW0)
    *** 2010-10-26 23:37:23.741
    *** SERVICE NAME:() 2010-10-26 23:37:23.740
    *** SESSION ID:(167.1) 2010-10-26 23:37:23.740
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
    ORA-01110: data file 2: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
    ORA-01110: data file 3: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
    ORA-01110: data file 5: '/va02/oracle/oradata/mytest/company_tab_01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
    ORA-01110: data file 6: '/va03/oracle/oradata/mytest/company_idx_01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
    ORA-01110: data file 1: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_system_6dcg5mfo_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-01157: cannot identify/lock data file 2 - see DBWR trace file
    ORA-01110: data file 2: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_undotbs1_6dcg5mnx_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-01157: cannot identify/lock data file 3 - see DBWR trace file
    ORA-01110: data file 3: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_sysaux_6dcg5mgg_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
    ORA-01110: data file 4: '/va00/oracle/product/10.2.0/db_1/oradata/MYTEST/datafile/o1_mf_users_6dcg5moq_.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    *** 2010-10-26 23:37:46.274
    ORA-01157: cannot identify/lock data file 5 - see DBWR trace file
    ORA-01110: data file 5: '/va02/oracle/oradata/mytest/company_tab_01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
    ORA-01110: data file 6: '/va03/oracle/oradata/mytest/company_idx_01.dbf'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3

  • Taking the datafile offline when the database is in NOARCHIVELOG mode

    My question is when the database is in No Archive log mode i'm not able to take the datafile offline.
    When i tried in my computer i have noticed fallowing.
    case1:
    SYS>alter database datafile 5 offline;
    ERROR at line1;
    ORA-01145:offline immediate disallowed unless media recovery enabled.
    case 2:
    SYS>alter database datafile 5 offline immediate;
    ERROR at line 1;
    ORA-00933:SQL command not properly ended
    case3:
    I have tried the command alter database datafile 6 offline drop; (in NOARCHIVELOG mode) and it is showing the same effect as alter database datafile 6 offline; ( in ARCHIVELOG mode).
    *In the NOARCHIVELOG mode are we really dropping the datafile to take the datafile offline? Will you please tell me the effect of keyword drop.

    JohnWatson wrote:
    You've marked your question answered - was that a mistake?
    The answer is that you cannot directly take a datafile offline in noarchivelog mode. You must take the tablespace offline:
    Hmm, are you certain about that? Perhaps I'm missing something.
    SQL> select file_id, file_name, online_status, status from dba_data_files where tablespace_name = 'USERS';
       FILE_ID FILE_NAME                                          ONLINE_ STATUS
             4 /u01/app/oracle/oradata/TEST/users01.dbf           ONLINE  AVAILABLE
    SQL> select log_mode from v$database;
    LOG_MODE
    NOARCHIVELOG
    SQL> alter database datafile 4 offline drop;
    Database altered.
    SQL> select file_id, file_name, online_status, status from dba_data_files where tablespace_name = 'USERS';
       FILE_ID FILE_NAME                                          ONLINE_ STATUS
             4 /u01/app/oracle/oradata/TEST/users01.dbf           RECOVER AVAILABLE
    SQL>  ALTER SYSTEM FLUSH BUFFER_CACHE;  <-- may not have been necessary
    System altered.
    SQL> select count(*) from scott.emp;
    select count(*) from scott.emp
    ERROR at line 1:
    ORA-00376: file 4 cannot be read at this time
    ORA-01110: data file 4: '/u01/app/oracle/oradata/TEST/users01.dbf'
    SQL> recover datafile 4;
    Media recovery complete.
    SQL> select file_id, file_name, online_status, status from dba_data_files where tablespace_name = 'USERS';
       FILE_ID FILE_NAME                                          ONLINE_ STATUS
             4 /u01/app/oracle/oradata/TEST/users01.dbf           OFFLINE AVAILABLE
    SQL> alter database datafile 4 online;
    Database altered.
    SQL> select file_id, file_name, online_status, status from dba_data_files where tablespace_name = 'USERS';
       FILE_ID FILE_NAME                                          ONLINE_ STATUS
             4 /u01/app/oracle/oradata/TEST/users01.dbf           ONLINE  AVAILABLE
    SQL> select count(*) from scott.emp;
      COUNT(*)
            14
    Also, please see the following link from the manual which discusses altering data file availability in noarchivelog mode.
    Altering Datafile Availability

  • How can I find which datafile a row in a huge partitioned table belongs to?

    Hello guys.
    We have a bunch of potentially corrupt LOB data in a 15TB partitioned table. I have run a query to find out what rows may be corrupt. Is it possible to find out if these belong to a common datafile (the are 450 datafiles in this tablespace)?
    Oracle 10.2.0.4 single instance on HP-UX
    Any help appreciated
    Sandy

    The Flaz wrote:
    Hello guys.
    We have a bunch of potentially corrupt LOB data in a 15TB partitioned table. I have run a query to find out what rows may be corrupt. Is it possible to find out if these belong to a common datafile (the are 450 datafiles in this tablespace)?
    Oracle 10.2.0.4 single instance on HP-UX
    Any help appreciated
    SandyTo checking corruption datafile level you can use dbv utility.But to fixing(marking) corruption you have to use dbms_repair package.Please refer below links
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/repair.htm#sthref3170
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/repair.htm#sthref3192

  • How does oracle write to datafiles in a tablespace?

    hi all
    Suppose I have a tablespace consisting of two datafiles. When I need to wirte data onto it,how does ORACLE
    write ? Does it initially write to the first datafile and then write to the second datafile when the first datafile getting full or write to two datafiles in an random manner?
    Thanks for your reply.

    hi all
    I have read reply in reponse to thread "tablespaces or datafile " and testcase in that thread shows that ORACLE will write to datafiles in round-robin manner.
    But my test show totally different result:
    SQL>
    SQL> create tablespace ts_maoxl
    2 datafile '/crash/oradata/TESTDB/datafile/1.bdf' size 5m,
    3 '/crash/oradata/TESTDB/datafile/2.bdf' size 5m
    4 EXTENT MANAGEMENT LOCAL;
    Tablespace created
    SQL>
    SQL> create table maoxl(id char(2000),id3 char(2000),id2 char(2000)) tablespace ts_maoxl;
    Table created
    SQL>
    SQL> declare
    2 begin
    3 for i in 0..99 loop
    4 insert into maoxl values('x','y','z');
    5 end loop;
    6 commit;
    7 end;
    8 /
    PL/SQL procedure successfully completed
    SQL> select count(*) from maoxl;
    COUNT(*)
    100
    SQL> select t.file_id,t.extent_id,bytes from dba_extents t where tablespace_name='TS_MAOXL';
    FILE_ID EXTENT_ID BYTES
    5 0 65536
    5 1 65536
    5 2 65536
    5 3 65536
    5 4 65536
    5 5 65536
    5 6 65536
    5 7 65536
    5 8 65536
    5 9 65536
    5 10 65536
    5 11 65536
    5 12 65536
    5 13 65536
    14 rows selectedAll extents are allocated from datafile 5,none from datafile 6. My result is different from yours.
    BTW,The result of my testcase was from a 10.2.0.4 database running on HP-UNIX
    What could be the problem?
    thanks

  • Empty datafile with special characters in name

    Hello all
    I'm having an issue with an empty datafile that is in recover mode.
    Previously the following has been successful :
    alter database create datafile 'fully_qualified_file_name' as 'fully_qualified_file_name' ;
    recover datafile 'fully_qualified_file_name' ;
    alter database datafile 'fully_qualified_file_name' online;
    However this time it doesnt work as I get errors :
    ORA-01516: nonexistent log file, data file, or temporary file
    Using the file id doesnt work either.
    When I created a control file trace I can see the datafile has special characters in the name :
    '/oracle/PRD/112_64/dbs/PSPR3I ^?;^?'
    As it is empty, would it be possible to create anothr empty datafile
    using :
    alter database create datafile '/oracle/PRD/112_64/dbs/PSPR3I ^?;^?'
    as '/oracle/PRD/spdata2/r3i_8/r3i.data8';
    then recover datafile 'fully_qualified_file_name' ;
    alter database datafile 'fully_qualified_file_name' online;
    How do oracle commands cope with special characters?
    Thanks for your advice

    user6737818 wrote:
    Hello all
    I'm having an issue with an empty datafile that is in recover mode.
    Previously the following has been successful :
    alter database create datafile 'fully_qualified_file_name' as 'fully_qualified_file_name' ;
    recover datafile 'fully_qualified_file_name' ;
    alter database datafile 'fully_qualified_file_name' online;
    However this time it doesnt work as I get errors :
    ORA-01516: nonexistent log file, data file, or temporary file
    Using the file id doesnt work either.
    When I created a control file trace I can see the datafile has special characters in the name :
    '/oracle/PRD/112_64/dbs/PSPR3I ^?;^?'
    It should work using a file number as the source file definition and a new name for the new file. Works for me:orcl> alter database create datafile 7 as 'c:\tmp\newname.dbf';
    Database altered.
    orcl>

  • Is it posisble to use DB_FILE_NAME_CONVERT to rename datafile names

    Hi,
    I want to clone a database on the same server.
    My datafiles start with the name of the SID, for examplel: /u04/oradata/ORACP/ORACP_applic_data_01.dbf'
    I want to use "duplicate fom active database", but with the parameter DB_FILE_NAME_CONVERT i can only change the directory to clone the datafile to, but the datafile itself is not renamed.
    I am correct?
    Is the only way to solve this, to use SET NEWNAME for all the datafiles to clone?
    Any help is appreciated.
    Reagrds,
    Harry

    Harry;
    Turns out I have a better document :
    http://www.visi.com/~mseberg/rman/create_a_duplicate_database_on_the_same_host.html
    I understand your concern, as far as suggestions double check everything. Thinking RMAN won't overwrite a MOUNTED file.
    *"To restore a datafile, either mount the database, or keep it open and take the datafile to be restored offline."*
    Source - Database Backup and Recovery Advanced User's Guide.
    When NOFILENAMECHECK is used with the DUPLICATE command, RMAN does not validate the filenames during restoration. Last I heard you don't use NOFILENAMECHECK when using the same host.
    See - Restoring and Recovering Database Files - Database Backup and Recovery User's Guide 11g Release 2 (11.2) E10642-03
    Best Regards
    mseberg
    Edited by: mseberg on Jan 9, 2013 12:38 PM

  • Unable to resize asm datafile even though I resized the (logical) datafile

    I have a bigfile that went above 16tb - this is causing me grief in a restore to a netapp filer that has a 16tb limit.
    So we went thru the hassles of moving data around. I issued the
    Mon Dec 10 21:15:06 2012
    alter database datafile '+DATA/pcinf/datafile/users1.303.777062961' resize 15900000000000
    Completed: alter database datafile '+DATA/pcinf/datafile/users1.303.777062961' resize 15900000000000
    Mon Dec 10 21:40:10 2012
    The datafile itself from v$datafile shows 15tb - BUT the asm file is still 18tb in size.
    Should it not be the same - is this something others have faced where the asm file doesnt match?
    Name     USERS1.303.777062961
    Type     DATAFILE
    Redundancy     MIRROR
    Block Size (Bytes)     8192
    Blocks     2281701377
    Logical Size (KB)     18253611016
    Linux, Exadata, 11.2.0.2 + psu
    SR Created but not getting anywhere - Why such a large file, are you sure its really not 18tb, etc .etc
    Daryl

    So I just ran another test of my real datafile issue and it appears to have corrected itself..
    OEM Shows this: (Correct)
    Block Size (Bytes)     8192
    Blocks     1934814455
    Logical Size (KB)     15478515640
    select file_id, bytes from dba_data_files where tablespace_name = 'USERS1';
    select file#, bytes from v$datafile where file# = (select file_id from dba_data_files where tablespace_name = 'USERS1');
    select file#, trunc(bytes/1024/1024/1024) G from v$datafile where file# = (select file_id from dba_data_files where tablespace_name = 'USERS1');
    alter database datafile '+DATA/pcinf/datafile/users1.303.777062961' resize 15850000000000;
    select file_id, bytes from dba_data_files where tablespace_name = 'USERS1';
    select file#, bytes from v$datafile where file# = (select file_id from dba_data_files where tablespace_name = 'USERS1');
    select file#, trunc(bytes/1024/1024/1024) G from v$datafile where file# = (select file_id from dba_data_files where tablespace_name = 'USERS1');
       FILE_ID                BYTES
            12   15,900,000,002,048
    1 row selected.
         FILE#                BYTES
            12   18,691,697,672,192    <<<< CAUSING ME MUCH MUCH GRIEF!!
    1 row selected.
         FILE#          G
            12      17408
    1 row selected.
    Database altered.
       FILE_ID                BYTES
            12   15,850,000,007,168
    1 row selected.
         FILE#                BYTES
            12   15,850,000,007,168
    1 row selected.
         FILE#          G
            12      14761
    1 row selected.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • JFXPanel: Attempt to call defer when toolkit not running

    Occaisionally receiving exception - java.lang.IllegalStateException: Attempt to call defer when toolkit not running      at com.sun.javafx.tk.quantum.QuantumToolkit.defer(Unknown Source)      at com.sun.webpane.sg.prism.InvokerImpl.invokeOnEventThrea

  • Report not displaying all the rows

    Hi Experts, We are having a report which when ran for a year as a filter criteria gives me 6725 rows and i also observe that there are more rows which are not getting displayed. Is there any restriction with the no of rows getting displayed. I am als

  • APP-WT tax issue

    Dear all we are in process of running APP 1st time. can u clarify how TDS is deducted on advance payment  when payment processing is done by APP. If tax is deducted on advance how it is adjusted while posting invoice. Points will be awarded thanks s

  • Trying to install Photosmart C4680 on Mac 10.7.5

    I have tried several times to install this "gifted" printer on my Mac, but keep getting an error message when I click install.

  • Howto add group service packages to organizations

    please, ignore this message. i've opened another post with most specific information about the real problem. hi! im sure this is pretty trivial but i can't find it in any documentation. in the "Sun Java System Communications Services 6 2005Q4 Delegat