Files in FRA

Hi oracle's guru!
I need some advices and directions to learn.
I'm going to use FRA.
1. can i specific file formats for database backup files and control files? I run backup database plus archivelogs and there are 5 files with random names (rman generates itself). Can i add any tag for them?
2. Why i have 4 files instead 2? my database is not big enough. XE with default schemas.
regards,
rustam

Hi Jörg,
that depends on several settings. Thanks, i got it now.
For example: If you use filesperset 1 than only 1 file will be included in a backupset.If you have 4 tablespaces it will > create 4 backupsets. XE per default has system, sysaux, undo, users - 4 tablespaces. In addition if you open > channels then 4 backupsets are generated.I didnt change this value so i think default value is 3, coz created new tablespace and even add new datafiles and always got 3 backupsets. I read in oracle document that:
Specifies the maximum number of input files in each backup set. If you set FILESPERSET = n, then RMAN never includes more than n files in a backup set. The default for FILESPERSET is the lesser of these two values: 64, number of input files divided by the number of channels. For example, if you back up 100 datafiles by using two channels, RMAN sets FILESPERSET to 50.
RMAN always attempts to create enough backup sets so that all allocated channels have work to do. An exception to the rule occurs when there are more channels than files to back up. For example, if RMAN backs up two datafiles+ when three channels are allocated and FILESPERSET = 1, then one channel is necessarily idle.+
So i can manage the number of backupsets, right? How much should i have? many files with min sizes or some files with big size?
Hi Hemant K Chitale,
Ok, thanks a lot. I didnt know that i can create controlfile in FRA. What is the benefit of this strategy?
controlfile backups / autobackups would be in BACKUPPIECE.but in another folder and not with backupsets folder, right? coz my database backupsets are in ...\FRA\XE\BACKUPSET\ and backupset of controlfiles are in ...\FRA\XE\AUTOBACKUP\
regards and thanks,
rustam

Similar Messages

  • Automatic Deletion of Files in FRA

    Ok, I am about fired up right now. I have read over and over how Oracle will reclaim space in the FRA if it is running low yet I can't reproduce this behavior to save my life.
    - I have archive logging enabled.
    - I am using the FRA.
    - I have a recovery window of 1 day set.
    - I have full incremental (level 0) backups for the past three days.
    - I am also backing up archivelogs and have "all not backed up" specified as well.
    "report obsolete" does indeed report the backups that fall outside of my recovery window correctly. When I run another backup I receive the following:
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 9163505664 bytes disk space from 16106127360 limit
    All I have at this moment is a strong desire to repeat the word "derp" over and over. Can someone explain what I am missing (or perhaps misconstruing) or point me at some docs that clearly spell this out for me?
    Or is it simply that what is being stated implies that I run the following to cause Oracle to "automatically delete files" to create space for new FRA additions:
    allocate channel for maintenance type disk;
    delete noprompt obsolete device type disk;
    release channel;
    Cheers!
    Edited by: 909736 on Feb 14, 2013 11:10 AM

    Alrighty then... I think this paints the appropriate picture:
    select file_type, space_used*percent_space_used/100/1024/1024 used, space_reclaimable*percent_space_reclaimable/10 /1024/1024 reclaimable, frau.number_of_files from v$recovery_file_dest rfd, v$flash_recovery_area_usage frau;
    FILE_TYPE                  USED RECLAIMABLE NUMBER_OF_FILES
    CONTROL FILE                  0           0               0
    REDO LOG                      0           0               0
    ARCHIVED LOG          8277.5077           0              36
    BACKUP PIECE           3864.931    2938.875              13
    IMAGE COPY                    0           0               0
    FLASHBACK LOG                 0           0               0
    FOREIGN ARCHIVED LOG          0           0               0
    7 rows selected.So it appears that I cannot create new backups due to the Archived Logs being ineligible for space reclamation and NOT the backupsets.
    Edit: I shall now work on recreating my test scenario (appropriately).

  • Browse N70 (files etc) fra mac

    Hi!
    Just got my new N70. Great phone, and after some tip following I was happy to see that the phone synchronized ok with iSync.
    However, I'm not able to browse and copy files to it from my iBook using BT.
    Has anyone managed to do so? One method is to transfer files using BT, but then you're just filling up the phones inbox, and not copying files to ie to memory card.
    brgds

    No such sw for use with a Mac, as far as I'm aware. You could use an USB card reader as a workaround.

  • Backup file getting generated on FRA insted of format path

    Hi,
    I have below script to generate RMAN full backup on given path in FORMAT directory, still RMAN genarate one .bkp file on FRA.
    We require to generate all backup files on given format path only.
    below file was generated on FRA
    o1_mf_nnndf_TAG20100804T043926_65l9t06h_.bkpBelow is the code for generating full backup.
    backup database plus archivelog FORMAT '/export/home/nfs_bak/lims/backup/ndb/backup_%d_DB_%D%M%Y_%U_%s'  delete all input;
    resync catalog;
    report schema;
    list backup;
    CROSSCHECK BACKUP;
    CROSSCHECK BACKUPSET;
    DELETE NOPROMPT EXPIRED BACKUP;
    DELETE NOPROMPT OBSOLETE DEVICE TYPE DISK;
    CROSSCHECK  ARCHIVELOG ALL;
    DELETE NOPROMPT EXPIRED ARCHIVELOG ALL;Oracle : 11gR2
    OS:Solaris

    Output for old command:
    RMAN> backup database plus archivelog FORMAT '/export/home/nfs_bak/lims/backup/ndb/backup_%d_DB_%D%M%Y_%U_%s'  delete all input;
    Starting backup at 05-AUG-10
    current log archived
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=194 device type=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: SID=225 device type=DISK
    channel ORA_DISK_1: starting archived log backup set
    channel ORA_DISK_1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=26 RECID=24 STAMP=726199910
    channel ORA_DISK_1: starting piece 1 at 05-AUG-10
    channel ORA_DISK_1: finished piece 1 at 05-AUG-10
    piece handle=/export/home/nfs_bak/lims/backup/ndb/backup_NDB_DB_05082010_16lkhrj8_1_1_38 tag=TAG20100805T021152 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    channel ORA_DISK_1: deleting archived log(s)
    archived log file name=/export/home/nfs_bak/lims/backup/ndb/NDB/archivelog/2010_08_05/o1_mf_1_26_65nok6fb_.arc RECID=24 STAMP=726199910
    Finished backup at 05-AUG-10
    Starting backup at 05-AUG-10
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    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=+DATA/lims/ndb/system01.dbf
    input datafile file number=00002 name=+DATA/lims/ndb/sysaux01.dbf
    input datafile file number=00006 name=+DATA/lims/ndb/datafile/ndb_cellmap_idx_tbs_01.dbf
    input datafile file number=00008 name=+DATA/lims/ndb/datafile/ndb_fingerprint_tbs_idx_01.dbf
    input datafile file number=00010 name=+DATA/lims/ndb/datafile/ndb_sys_idx_tbs_01.dbf
    channel ORA_DISK_1: starting piece 1 at 05-AUG-10
    channel ORA_DISK_2: starting full datafile backup set
    channel ORA_DISK_2: specifying datafile(s) in backup set
    input datafile file number=00005 name=+DATA/lims/ndb/datafile/ndb_cellmap_tbs_01.dbf
    input datafile file number=00007 name=+DATA/lims/ndb/datafile/ndb_fingerprint_tbs_01.dbf
    input datafile file number=00009 name=+DATA/lims/ndb/datafile/ndb_sys_tbs_01.dbf
    input datafile file number=00003 name=+DATA/lims/ndb/undotbs01.dbf
    input datafile file number=00004 name=+DATA/lims/ndb/users01.dbf
    channel ORA_DISK_2: starting piece 1 at 05-AUG-10
    channel ORA_DISK_1: finished piece 1 at 05-AUG-10
    piece handle=/export/home/nfs_bak/lims/backup/ndb/backup_NDB_DB_05082010_17lkhrj9_1_1_39 tag=TAG20100805T021153 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:06:46
    channel ORA_DISK_2: finished piece 1 at 05-AUG-10
    piece handle=/export/home/nfs_bak/lims/backup/ndb/NDB/backupset/2010_08_05/o1_mf_nnndf_TAG20100805T021153_65nokdyo_.bkp tag=TAG20100805T021153 comment=NONE
    channel ORA_DISK_2: backup set complete, elapsed time: 00:06:56
    Finished backup at 05-AUG-10
    Starting backup at 05-AUG-10
    current log archived
    using channel ORA_DISK_1
    using channel ORA_DISK_2
    channel ORA_DISK_1: starting archived log backup set
    channel ORA_DISK_1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=27 RECID=25 STAMP=726200330
    channel ORA_DISK_1: starting piece 1 at 05-AUG-10
    channel ORA_DISK_1: finished piece 1 at 05-AUG-10
    piece handle=/export/home/nfs_bak/lims/backup/ndb/backup_NDB_DB_05082010_19lkhs0b_1_1_41 tag=TAG20100805T021851 comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    channel ORA_DISK_1: deleting archived log(s)
    archived log file name=/export/home/nfs_bak/lims/backup/ndb/NDB/archivelog/2010_08_05/o1_mf_1_27_65noyb7m_.arc RECID=25 STAMP=726200330
    Finished backup at 05-AUG-10
    Starting Control File and SPFILE Autobackup at 05-AUG-10
    piece handle=/export/home/nfs_bak/lims/backup/ndb/db11g_c-1074407344-20100805-01 comment=NONE
    Finished Control File and SPFILE Autobackup at 05-AUG-10output for updated command:
    RMAN> RUN
    2> {
    3>  allocate channel channel1 device type disk format '/export/home/nfs_bak/lims/backup/ndb/backup_%d_DB_%D%M%Y_%U_%s';
    4>  backup database plus archivelog delete all input;
    5> release channel channel1;
    6> }
    7> resync catalog;
    8> report schema;
    9> list backup;
    10> crosscheck backup;
    11> crosscheck backupset;
    12> delete noprompt expired backup;
    13> delete noprompt obsolete;
    14> crosscheck archivelog all;
    15> DELETE NOPROMPT EXPIRED ARCHIVELOG ALL;
    16>
    starting full resync of recovery catalog
    full resync complete
    allocated channel: channel1
    channel channel1: SID=98 device type=DISK
    Starting backup at 05-AUG-10
    current log archived
    channel channel1: starting archived log backup set
    channel channel1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=20 RECID=18 STAMP=726148869
    input archived log thread=1 sequence=21 RECID=19 STAMP=726175480
    input archived log thread=1 sequence=22 RECID=20 STAMP=726185922
    input archived log thread=1 sequence=23 RECID=21 STAMP=726195156
    input archived log thread=1 sequence=24 RECID=22 STAMP=726197409
    channel channel1: starting piece 1 at 05-AUG-10
    channel channel1: finished piece 1 at 05-AUG-10
    piece handle=/export/home/nfs_bak/lims/backup/ndb/backup_NDB_DB_05082010_12lkhp52_1_1_34 tag=TAG20100805T013010 comment=NONE
    channel channel1: backup set complete, elapsed time: 00:00:07
    channel channel1: deleting archived log(s)
    archived log file name=/export/home/nfs_bak/lims/backup/ndb/NDB/archivelog/2010_08_04/o1_mf_1_20_65m3p0rz_.arc RECID=18 STAMP=726148869
    archived log file name=/export/home/nfs_bak/lims/backup/ndb/NDB/archivelog/2010_08_04/o1_mf_1_21_65mxonbz_.arc RECID=19 STAMP=726175480
    archived log file name=/export/home/nfs_bak/lims/backup/ndb/NDB/archivelog/2010_08_04/o1_mf_1_22_65n7vtog_.arc RECID=20 STAMP=726185922
    archived log file name=/export/home/nfs_bak/lims/backup/ndb/NDB/archivelog/2010_08_05/o1_mf_1_23_65njwhld_.arc RECID=21 STAMP=726195156
    archived log file name=/export/home/nfs_bak/lims/backup/ndb/NDB/archivelog/2010_08_05/o1_mf_1_24_65nm31ko_.arc RECID=22 STAMP=726197409
    Finished backup at 05-AUG-10
    Starting backup at 05-AUG-10
    channel channel1: starting full datafile backup set
    channel channel1: specifying datafile(s) in backup set
    input datafile file number=00005 name=+DATA/lims/ndb/datafile/ndb_cellmap_tbs_01.dbf
    input datafile file number=00001 name=+DATA/lims/ndb/system01.dbf
    input datafile file number=00002 name=+DATA/lims/ndb/sysaux01.dbf
    input datafile file number=00007 name=+DATA/lims/ndb/datafile/ndb_fingerprint_tbs_01.dbf
    input datafile file number=00006 name=+DATA/lims/ndb/datafile/ndb_cellmap_idx_tbs_01.dbf
    input datafile file number=00008 name=+DATA/lims/ndb/datafile/ndb_fingerprint_tbs_idx_01.dbf
    input datafile file number=00009 name=+DATA/lims/ndb/datafile/ndb_sys_tbs_01.dbf
    input datafile file number=00003 name=+DATA/lims/ndb/undotbs01.dbf
    input datafile file number=00010 name=+DATA/lims/ndb/datafile/ndb_sys_idx_tbs_01.dbf
    input datafile file number=00004 name=+DATA/lims/ndb/users01.dbf
    channel channel1: starting piece 1 at 05-AUG-10
    channel channel1: finished piece 1 at 05-AUG-10
    piece handle=/export/home/nfs_bak/lims/backup/ndb/backup_NDB_DB_05082010_13lkhp5a_1_1_35 tag=TAG20100805T013018 comment=NONE
    channel channel1: backup set complete, elapsed time: 00:06:55
    Finished backup at 05-AUG-10
    Starting backup at 05-AUG-10
    current log archived
    channel channel1: starting archived log backup set
    channel channel1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=25 RECID=23 STAMP=726197834
    channel channel1: starting piece 1 at 05-AUG-10
    channel channel1: finished piece 1 at 05-AUG-10
    piece handle=/export/home/nfs_bak/lims/backup/ndb/backup_NDB_DB_05082010_14lkhpia_1_1_36 tag=TAG20100805T013714 comment=NONE
    channel channel1: backup set complete, elapsed time: 00:00:01
    channel channel1: deleting archived log(s)
    archived log file name=/export/home/nfs_bak/lims/backup/ndb/NDB/archivelog/2010_08_05/o1_mf_1_25_65nmj9y9_.arc RECID=23 STAMP=726197834
    Finished backup at 05-AUG-10
    Starting Control File and SPFILE Autobackup at 05-AUG-10
    piece handle=/export/home/nfs_bak/lims/backup/ndb/db11g_c-1074407344-20100805-00 comment=NONE
    Finished Control File and SPFILE Autobackup at 05-AUG-10
    released channel: channel1

  • Difference between ASM Disk Group, ADVM Volume and ACFS File system

    Q1. What is the difference between an ASM Disk Group and an ADVM Volume ?
    To my mind, an ASM Disk Group is effectively a logical volume for Database files ( including FRA files ).
    11gR2 seems to have introduced the concepts of ADVM volumes and ACFS File Systems.
    An 11gR2 ASM Disk Group can contain :
    ASM Disks
    ADVM volumes
    ACFS file systems
    Q2. ADVM volumes appear to be dynamic volumes.
    However is this therefore not effectively layering a logical volume ( the ADVM volume ) beneath an ASM Disk Group ( conceptually a logical volume as well ) ?
    Worse still if you have left ASM Disk Group Redundancy to the hardware RAID / SAN level ( as Oracle recommend ), you could effectively have 3 layers of logical disk ? ( ASM on top of ADVM on top of RAID/SAN ) ?
    Q3. if it is 2 layers of logical disk ( i.e. ASM on top of ADVM ), what makes this better than 2 layers using a 3rd party volume manager ( eg ASM on top of 3rd party LVM ) - something Oracle encourages against ?
    Q4. ACFS File systems, seem to be clustered file systems for non database files including ORACLE_HOMEs, application exe's etc ( but NOT GRID_HOME, OS root, OCR's or Voting disks )
    Can you create / modify ACFS file systems using ASM.
    The oracle toplogy diagram for ASM in the 11gR2 ASM Admin guide, shows ACFS as part of ASM. I am not sure from this if ACFS is part of ASM or ASM sits on top of ACFS ?
    Q5. Connected to Q4. there seems to be a number of different ways, ACFS file systems can be created ? Which of the below are valid methods ?
    through ASM ?
    through native OS file system creation ?
    through OEM ?
    through acfsutil ?
    my head is exploding
    Any help and clarification greatly appreciated
    Jim

    Q1 - ADVM volume is a type of special file created in the ASM DG.  Once created, it creates a block device on the OS itself that can be used just like any other block device.  http://docs.oracle.com/cd/E16655_01/server.121/e17612/asmfilesystem.htm#OSTMG30000
    Q2 - the asm disk group is a disk group, not really a logical volume.  It combines attributes of both when used for database purposes, as the database and certain other applications know how to talk "ASM" protocol.  However, you won't find any general purpose applications that can do so.  In addition, some customers prefer to deal directly with file systems and volume devices, which ADVM is made to do.  In your way of thinking, you could have 3 layers of logical disk, but each of them provides different attributes and characteristics.  This is not a bad thing though, as each has a slightly different focus - os file system\device, database specific, and storage centric.
    Q3 - ADVM is specifically developed to extend the characteristics of ASM for use by general OS applications.  It understands the database performance characteristics and is tuned to work well in that situation.  Because it is developed in house, it takes advantage of the ASM design model.  Additionally, rather than having to contact multiple vendors for support, your support is limited to calling Oracle, a one-stop shop.
    Q4 - You can create and modify ACFS file systems using command line tools and ASMCA.  Creating and modifying logical volumes happens through SQL(ASM), asmcmd, and ASMCA.  EM can also be used for both items.  ACFS sits on top of ADVM, which is a file in an ASM disk group.  ACFS is aware of the characteristics of ASM\ADVM volumes, and tunes it's IO to make best use of those characteristics. 
    Q5 - several ways:
    1) Connect to ASM with SQL, use 'alter diskgroup add volume' as Mihael points out.  This creates an ADVM volume.  Then, format the volume using 'mkfs' (*nix) or acfsformat (windows).
    2) Use ASMCA - A gui to create a volume and format a file system.  Probably the easiest if your head is exploding.
    3) Use 'asmcmd' to create a volume, and 'mkfs' to format the ACFS file system.
    Here is information on ASMCA, with examples:
    http://docs.oracle.com/cd/E16655_01/server.121/e17612/asmca_acfs.htm#OSTMG94348
    Information on command line tools, with examples:
    Basic Steps to Manage Oracle ACFS Systems

  • DNG conv. 8.2 /Panasonic DMC-GX 7/RW 2 files ?

    Ver. 8.2 do not recognize RW 2 files from GX7. ( I use Elements 11 and Windows 7 )

    Thank you for your answer, but I am even more confused!
    I develop Raw files in Elements 11.
    The DNG converter is located under  : program files(x86)/ Adobe (where also Elements 11 is stored )
    With my former camera ( Panasonic DMC-GX 1 ) the development of Raw-files was performing without problems in Elements editing program.
    The download of ver.8.2 is o.k. and was placed automatically in the same place as the former version. ( I re-downloaded a couple of times to be sure)
    But  the converter do not read the files !
    Fra: JimHess [email protected]
    Sendt: 4. desember 2013 17:54
    Til: ilangmoe
    Emne: DNG conv. 8.2 /Panasonic DMC-GX 7/RW 2 files ?
    Re: DNG conv. 8.2 /Panasonic DMC-GX 7/RW 2 files ?
    created by JimHess <http://forums.adobe.com/people/JimHess>  in Digital Negative (DNG) - View the full discussion <http://forums.adobe.com/message/5899943#5899943

  • After renaming data file it failes during database open

    Hi,
    I took RMAN full back.
    Then i renamed datafile then restored and recovered. It goes fine.
    But during the daabase open it fails with
    ORA-01113: file 6 needs media recovery
    ORA-01110: data file 6: '+OBTDG1/qa112asm/datafile/users02.dbf'
    Any specific reason for that?
    =======================================================
    Recovery Manager: Release 11.2.0.1.0 - Production on Thu Jul 22 01:19:30 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    RMAN> backup database;
    connected to target database: QA112ASM (DBID=3746246770)
    RMAN>
    Starting backup at 22-JUL-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=145 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=+OBTDG1/qa112asm/datafile/system01.dbf
    input datafile file number=00003 name=+OBTDG1/qa112asm/datafile/rbs01.dbf
    input datafile file number=00002 name=+OBTDG1/qa112asm/datafile/sysaux01.dbf
    input datafile file number=00004 name=+OBTDG1/qa112asm/datafile/temp01.dbf
    input datafile file number=00005 name=+OBTDG1/qa112asm/datafile/tools01.dbf
    input datafile file number=00006 name=+OBTDG1/qa112asm/datafile/users01.dbf
    input datafile file number=00007 name=+OBTDG1/qa112asm/datafile/vindx.dbf
    channel ORA_DISK_1: starting piece 1 at 22-JUL-10
    channel ORA_DISK_1: finished piece 1 at 22-JUL-10
    piece handle=/qa/obj/oracle/obt/output/QA112ASM/obt_standby_03_protection_tui/dttmp/back08ljcr97_1_1 tag=TAG20100722T011934 co
    mment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:25
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    including current control file in backup set
    including current SPFILE in backup set
    channel ORA_DISK_1: starting piece 1 at 22-JUL-10
    channel ORA_DISK_1: finished piece 1 at 22-JUL-10
    piece handle=/qa/obj/oracle/obt/output/QA112ASM/obt_standby_03_protection_tui/dttmp/back09ljcra0_1_1 tag=TAG20100722T011934 co
    mment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
    Finished backup at 22-JUL-10
    RMAN> shutdown immediate
    Oracle instance shut down
    RMAN> startup mount
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area 275615744 bytes
    Fixed Size 2168944 bytes
    Variable Size 184551312 bytes
    Database Buffers 83886080 bytes
    Redo Buffers 5009408 bytes
    RMAN>run(
    *run {*
    set newname for datafile '+OBTDG1/QA112ASM/users01.dbf' to '+OBTDG1/QA112ASM/users02.dbf' ;
    restore datafile '+OBTDG1/QA112ASM/users01.dbf';
    recover datafile '+OBTDG1/QA112ASM/users01.dbf' noredo;
    switch datafile '+OBTDG1/QA112ASM/users02.dbf' ;
    RMAN>
    2> 3> 4> 5> 6>
    executing command: SET NEWNAME
    Starting restore at 22-JUL-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=137 device type=DISK
    channel ORA_DISK_1: starting datafile backup set restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_DISK_1: restoring datafile 00006 to +OBTDG1/QA112ASM/datafile/users02.dbf
    channel ORA_DISK_1: reading from backup piece /qa/obj/oracle/obt/output/QA112ASM/obt_standby_03_protection_tui/dttmp/back08ljc
    r97_1_1
    channel ORA_DISK_1: piece handle=/qa/obj/oracle/obt/output/QA112ASM/obt_standby_03_protection_tui/dttmp/back08ljcr97_1_1 tag=T
    AG20100722T011934
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    Finished restore at 22-JUL-10
    Starting recover at 22-JUL-10
    using channel ORA_DISK_1
    Finished recover at 22-JUL-10
    datafile 6 switched to datafile copy
    input datafile copy RECID=2 STAMP=724987222 file name=+OBTDG1/qa112asm/datafile/users02.dbf
    RMAN> alter database open;
    RMAN>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 07/22/2010 01:20:23
    ORA-01113: file 6 needs media recovery
    ORA-01110: data file 6: '+OBTDG1/qa112asm/datafile/users02.dbf'
    =======================================================
    Edited by: user13310502 on Jul 23, 2010 4:49 AM

    as you can see..
    RMAN> sql "alter tablespace andreas offline";
    sql statement: alter tablespace andreas offline
    RMAN> run
    2> {
    3> set newname for datafile 8 to '+FRA';
    4> restore datafile 8;
    5> recover datafile 8;
    6> switch datafile 8;
    7> }
    executing command: SET NEWNAME
    Starting restore at 23-JUL-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00008 to +FRA
    channel ORA_DISK_1: reading from backup piece +FRA/remtest/backupset/2010_07_23/nnndf0_tag20100723t135242_0.3112.725118763
    channel ORA_DISK_1: restored backup piece 1
    piece handle=+FRA/remtest/backupset/2010_07_23/nnndf0_tag20100723t135242_0.3112.725118763 tag=TAG20100723T135242
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    Finished restore at 23-JUL-10
    Starting recover at 23-JUL-10
    using channel ORA_DISK_1
    starting media recovery
    media recovery complete, elapsed time: 00:00:00
    Finished recover at 23-JUL-10
    datafile 8 switched to datafile copy
    input datafile copy recid=7 stamp=725118807 filename=+FRA/remtest/datafile/andreas.3113.725118805
    RMAN> sql "alter tablespace andreas online";
    sql statement: alter tablespace andreas online
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of sql command on default channel at 07/23/2010 13:53:33
    RMAN-11003: failure during parse/execution of SQL statement: alter tablespace andreas online
    ORA-01113: file 8 needs media recovery
    ORA-01110: data file 8: '+FRA/remtest/datafile/andreas.3113.725118805'
    RMAN> run
    2> {
    3> set newname for datafile 8 to '+FRA';
    4> restore datafile 8;
    5> switch datafile 8;
    6> recover datafile 8;
    7> }
    executing command: SET NEWNAME
    Starting restore at 23-JUL-10
    using channel ORA_DISK_1
    channel ORA_DISK_1: restoring datafile 00008
    input datafile copy recid=8 stamp=725118807 filename=+DATA/remtest/datafile/andreas.349.725036143
    destination for restore of datafile 00008: +FRA
    channel ORA_DISK_1: copied datafile copy of datafile 00008
    output filename=+FRA/remtest/datafile/andreas.3114.725118849 recid=9 stamp=725118849
    Finished restore at 23-JUL-10
    datafile 8 switched to datafile copy
    input datafile copy recid=10 stamp=725118850 filename=+FRA/remtest/datafile/andreas.3114.725118849
    Starting recover at 23-JUL-10
    using channel ORA_DISK_1
    starting media recovery
    media recovery complete, elapsed time: 00:00:01
    Finished recover at 23-JUL-10
    RMAN> sql "alter tablespace andreas online";
    sql statement: alter tablespace andreas online

  • Multiplexing Online redo logs, archive logs, and control files.

    Currently I am only multiplexing my control files and online redo logs, My archive logs are only going to the FRA and then being backed up to tape.
    We have to replace disks that hold the FRA data. HP says there is a chance we will have to rebuild the FRA.
    As my archive logs are going to the FRA now, can I multiplex them to another disk group? And if all of the control files, online redo logs and archive logs are multiplexed to another disk group, when ASM dismounts the FRA disk group due to insufficient number of disks, will the database remain open and on line.
    If so then I will just need to rebuild the ASM volumes, and the FRA disk group and bring it to the mount state, correct?
    Thanks!

    You can save your online redo logs and archive logs anywhere you want by making use of of init params create_online_log_dest and log_archive_dest_n. You will have to create new redo log groups in the new location and drop the ones in the FRA. The archive logs will simply land wherever you designate with log_archive_dest_n parameters. Moving the control files off FRA is a little trickier because you will need to restore your controlfile to a non-FRA destination and then shutdown your instance, edit the control file param to reflect changes and restart.
    I think you will be happier if you move everything off the FRA diskgroup before dismounting it, and not expecting the db to automagically recover from the loss of files on the FRA.

  • Need explanation .pl file

    Hi,
    I have the .pl file it is not calling any where by the program,but it is transfering the oracle viewoutput file to another data_top.
    how is it possible.
    can any body explain me the below file how it is working.
    Thanks in advance.
    this is the code in the .pl file:
    #!/usr/bin/perl
    # Author: Stian H. Larssen (Indal Haugseth)
    # Created: 2008-06-25
    # Description: Removes newline characters when line ends with given string.
    # Changelog
    # 16.11.2008 Stian Indal Haugseth
    # - Write to temp file while processing. Move/rename temp file to
    # destination file when finished.
    # 16.11.2008 Stian Indal Haugseth
    # - Moved init of temp file variable to remove errormassege when not having
    # any arguments.
    use strict;
    use warnings;
    use Getopt::Std;
    my %option = ();
    getopts("dp:", \%option);
    my $line = '';
    my $in_file_arg = $ARGV[0];
    my $out_file_arg = $ARGV[1];
    my $replace_string = "¤#¤";
    my $time_start = time();
    my $temp_dir_name = 'temp';
    my $out_dir;
    my $out_file_name;
    my @system_args;
    if ($option{p}) {
    $replace_string = $option{p};
    if ((!$in_file_arg) || (!$out_file_arg)) {
    print STDERR "Syntaks: $0 -dp <mønster> <kildefil> <utfil>\n";
    print STDERR "Parameter -d vil slette kildefil etter kjøring.\n";
    print STDERR "Parameter -p <mønster> lar endre søkemønster.\n";
    exit 1;
    print "Script startet : ". localtime($time_start) ."\n";
    # If $out_file_arg contains any slash, split file name and directory name.
    if ($out_file_arg =~ m/\//) {
    ($out_dir, $out_file_name) = $out_file_arg =~ m/(.*\/)(.*)$/; # split dir and filename
    if ((!$out_dir) || (!$out_file_name)) {
    print STDERR "Klarte ikke splitte fil/mappe fra $out_file_arg, script stoppet\n";
    exit 1;
    } else {
    # File name does not contain any slashes, set default directory to ./ and use $out_file_arg as file name.
    $out_dir = './';
    $out_file_name = $out_file_arg;
    # Create temp file variable after parameter check to remove errormessage when $out_file_arg not initialized
    my $out_tmp_file = $out_file_name.'_tmp_'.$$; # Adding tmpPID to temp file
    my $out_tmp_dir = $out_dir.$temp_dir_name; # Concatenate temp dir name to out dir
    if (!-e $in_file_arg) {
    print STDERR "Fant ikke filen $in_file_arg, script stoppet\n";
    exit 1;
    if (!-r $in_file_arg) {
    print STDERR "Har ikke rettigheter til å lese filen $in_file_arg, script stoppet\n";
    exit 1;
    # Create temp dir.
    if (-d $out_tmp_dir) {
    if (!-W $out_tmp_dir) {
    print STDERR "Har ikke skriverettigheter til midlertidig mappe $out_tmp_dir, script stoppet\n";
    exit 1;
    } else {
    # Mode removed from mkdir command due bug in old perl version 5.005_03.
    mkdir $out_tmp_dir or die "Kunne ikke opprette midlertidig mappe $out_tmp_dir, script stoppet";
    open (INFILE, "<"Kunne ikke åpne kildefilen $in_file_arg, script stoppet";
    # create or replace file with +>
    open (OUTFILE, "+>", $out_tmp_dir.'/'.$out_tmp_file) or die "Kunne ikke åpne midlertidig målfil ".$out_dir.$out_tmp_file.", script stoppet";
    print 'Skriver midlertidig fil '.$out_tmp_dir.'/'.$out_tmp_file.".\n";
    while (<INFILE>) {
    $line = $_;
    $line =~ s/$replace_string\n//;
    print OUTFILE $line;
    close (INFILE);
    close (OUTFILE);
    @system_args = ("/bin/mv", $out_tmp_dir.'/'.$out_tmp_file, $out_file_arg);
    system(@system_args) == 0 or die 'Klarer ikke flytte '.$out_tmp_dir.'/'.$out_tmp_file.' til '.$out_file_arg.', returkode '.$?.', script stoppet';
    print "MÃ¥lfil $out_file_arg opprettet.\n";
    if ($option{d}) {
    unlink($in_file_arg) or die "Klarer ikke slette kildefilen $in_file_arg, script stoppet";
    print "Kildefil $in_file_arg slettet!\n";
    print "Script utført : ". localtime(time()) . "\n";
    print "Script kjøretid: ". (time - $time_start) . " sekunder.\n";

    i found..
    [http://www.koders.com/cpp/fidB6E67F2C1853CEA7457A9152C7F65CC3543B536B.aspx|http://www.koders.com/cpp/fidB6E67F2C1853CEA7457A9152C7F65CC3543B536B.aspx]
    That file is not jni.h. It has nothing to do with the question and comes from a source which is very dubious when it comes to Java programming.

  • ASM and FRA

    Installed Oracle 11g R2. Configured ASM +DATA (for data files)  and FRA (for backups).
    If the FRA diskgroup (which is non-raided) stops working due to the disk failure, assume all other disks (OS and DATA) are still operating normally, will the Oracle database can still be used/accessed by the user?

    MORE INFO to add:
    Ideally, the FRA should be on RAID 1. But due to the configuration limitation, I can only use one disk for FRA and the spare one for holding the multiplexing files such as REDO, CONTROL, and ARCHIVE.
    By this way, DATA (Two ASM disks + raid 1), FRA (One ASM disk, non-raid), and Multiplexing (one regular disk, non-raid).
    DATA (redo log + control + others) --> multiplexes to --> Multiplex Disk (mentioned above to hold redo log + control)
    FRA (archive + all other backups) --> multiplexes to --> Multiplex Disk (mentioned above to hold archive)
    Like to hear your opinion and comments.
    P.S. The FRA will hold the backups only, nothing else. And DATA (Two ASM disks + raid 1) will hold the regular oracle data files + redo, control and other related files, nothing else.
    Edited by: scottjhn on Aug 27, 2012 3:18 PM

  • Never have files in I:\oracle\flash_recovery_area\dbname\ARCHIVELOG?

    Hello,
    My flash recovery area I:\oracle\flash_recovery_area\dbname\ARCHIVELOG for archivelogs never has any files in it? However, there are always files in I:\oracle\flash_recovery_area\dbname\AUTOBACKUP and I:\oracle\flash_recovery_area\dbname\BACKUPSET.
    fyi. I see new files like ARC27946_0704276183.001 created in the folder i:\oracle\product\11.1.0\db_1\RDBMS. Not sure why these files are never written to the flash recovery area?
    thanks for any help.
    server setup
    11g 11.1.0.6.0 on windows 2003 server
    rman settings
    RMAN configuration parameters for database with db_unique_name DBNAME are:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 3 DAYS;
    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 COMPRESSION ALGORITHM 'BZIP2'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'I:\ORACLE\ORA11G\DATABASE\SNCFDBNAME.ORA'; # default
    Output from daily backup
    C:\Scheduled Batches>RMAN NOCATALOG TARGET SYS/DBNAME @'FULLBACKUPDATABASE.TXT'
    Recovery Manager: Release 11.1.0.6.0 - Production on Fri Mar 25 02:00:00 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: DBNAME (DBID=1451743730)
    using target database control file instead of recovery catalog
    RMAN> run
    2> {
    3> backup database tag=database_full_backup;
    4> backup archivelog all delete input tag=achivelog_backup;
    5> crosscheck backup;
    6> delete expired backup;
    7> delete noprompt obsolete;
    8> }
    9> exit;
    Starting backup at 25-MAR-11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=134 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=00005 name=I:\ORACLE\DATABASE\DBNAME\PWRPLANT.DBF
    input datafile file number=00004 name=I:\ORACLE\DATABASE\DBNAME\USERS01.DBF
    input datafile file number=00006 name=I:\ORACLE\DATABASE\DBNAME\PWRPLANT_IDX.DBF
    input datafile file number=00003 name=I:\ORACLE\DATABASE\DBNAME\UNDOTBS01.DBF
    input datafile file number=00001 name=I:\ORACLE\DATABASE\DBNAME\SYSTEM01.DBF
    input datafile file number=00002 name=I:\ORACLE\DATABASE\DBNAME\SYSAUX01.DBF
    channel ORA_DISK_1: starting piece 1 at 25-MAR-11
    channel ORA_DISK_1: finished piece 1 at 25-MAR-11
    piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\BACKUPSET\2011_03_25\O1_MF_NNNDF_DATABASE_FULL_BACKUP_6RRPF24V_.BKP tag=DATABASE_FULL_BACKUP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:12:26
    Finished backup at 25-MAR-11
    Starting backup at 25-MAR-11
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archived log backup set
    channel ORA_DISK_1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=900 RECID=11736 STAMP=746618219
    input archived log thread=1 sequence=901 RECID=11737 STAMP=746635454
    input archived log thread=1 sequence=902 RECID=11738 STAMP=746646971
    input archived log thread=1 sequence=903 RECID=11739 STAMP=746662367
    input archived log thread=1 sequence=904 RECID=11740 STAMP=746662655
    input archived log thread=1 sequence=905 RECID=11741 STAMP=746662661
    input archived log thread=1 sequence=906 RECID=11742 STAMP=746662669
    input archived log thread=1 sequence=907 RECID=11743 STAMP=746662673
    input archived log thread=1 sequence=908 RECID=11744 STAMP=746662675
    input archived log thread=1 sequence=909 RECID=11745 STAMP=746662678
    input archived log thread=1 sequence=910 RECID=11746 STAMP=746662679
    input archived log thread=1 sequence=911 RECID=11747 STAMP=746662681
    input archived log thread=1 sequence=912 RECID=11748 STAMP=746662692
    input archived log thread=1 sequence=913 RECID=11749 STAMP=746662698
    input archived log thread=1 sequence=914 RECID=11750 STAMP=746662706
    input archived log thread=1 sequence=915 RECID=11751 STAMP=746662903
    input archived log thread=1 sequence=916 RECID=11752 STAMP=746662943
    input archived log thread=1 sequence=917 RECID=11753 STAMP=746672536
    input archived log thread=1 sequence=918 RECID=11754 STAMP=746676769
    channel ORA_DISK_1: starting piece 1 at 25-MAR-11
    channel ORA_DISK_1: finished piece 1 at 25-MAR-11
    piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\BACKUPSET\2011_03_25\O1_MF_ANNNN_ACHIVELOG_BACKUP_6RRQ51QL_.BKP tag=ACHIVELOG_BACKUP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:26
    channel ORA_DISK_1: deleting archived log(s)
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00900_0744612227.001 RECID=11736 STAMP=746618219
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00901_0744612227.001 RECID=11737 STAMP=746635454
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00902_0744612227.001 RECID=11738 STAMP=746646971
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00903_0744612227.001 RECID=11739 STAMP=746662367
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00904_0744612227.001 RECID=11740 STAMP=746662655
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00905_0744612227.001 RECID=11741 STAMP=746662661
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00906_0744612227.001 RECID=11742 STAMP=746662669
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00907_0744612227.001 RECID=11743 STAMP=746662673
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00908_0744612227.001 RECID=11744 STAMP=746662675
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00909_0744612227.001 RECID=11745 STAMP=746662678
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00910_0744612227.001 RECID=11746 STAMP=746662679
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00911_0744612227.001 RECID=11747 STAMP=746662681
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00912_0744612227.001 RECID=11748 STAMP=746662692
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00913_0744612227.001 RECID=11749 STAMP=746662698
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00914_0744612227.001 RECID=11750 STAMP=746662706
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00915_0744612227.001 RECID=11751 STAMP=746662903
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00916_0744612227.001 RECID=11752 STAMP=746662943
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00917_0744612227.001 RECID=11753 STAMP=746672536
    archived log file name=I:\ORACLE\DATABASE\DBNAME\ARC00918_0744612227.001 RECID=11754 STAMP=746676769
    Finished backup at 25-MAR-11
    Starting Control File and SPFILE Autobackup at 25-MAR-11
    piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\AUTOBACKUP\2011_03_25\O1_MF_S_746676812_6RRQ6C33_.BKP comment=NONE
    Finished Control File and SPFILE Autobackup at 25-MAR-11
    using channel ORA_DISK_1
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\BACKUPSET\2011_03_24\O1_MF_NNNDF_DATABASE_FULL_BACKUP_6RP21SC6_.BKP RECID=692 STAMP=746589641
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\AUTOBACKUP\2011_03_24\O1_MF_S_746591286_6RP3OQPF_.BKP RECID=693 STAMP=746591303
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\BACKUPSET\2011_03_24\O1_MF_ANNNN_ACHIVE_BAK_6RP3Q7YQ_.BKP RECID=694 STAMP=746591351
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\AUTOBACKUP\2011_03_24\O1_MF_S_746591438_6RP3TH79_.BKP RECID=695 STAMP=746591455
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\BACKUPSET\2011_03_24\O1_MF_NNNDF_DATABASE_FULL_BACKUP_6RQHZJDS_.BKP RECID=696 STAMP=746636672
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\BACKUPSET\2011_03_25\O1_MF_NNNDF_DATABASE_FULL_BACKUP_6RRPF24V_.BKP RECID=697 STAMP=746676018
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\BACKUPSET\2011_03_25\O1_MF_ANNNN_ACHIVELOG_BACKUP_6RRQ51QL_.BKP RECID=698 STAMP=746676785
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\DBNAME\AUTOBACKUP\2011_03_25\O1_MF_S_746676812_6RRQ6C33_.BKP RECID=699 STAMP=746676827
    Crosschecked 8 objects
    using channel ORA_DISK_1
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to recovery window of 3 days
    using channel ORA_DISK_1
    no obsolete backups found
    Recovery Manager complete.
    C:\Scheduled Batches>REM SEND AN EMAIL TO DBAs
    SQL*Plus: Release 11.1.0.6.0 - Production on Fri Mar 25 02:14:15 2011
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Release 11.1.0.6.0 - Production

    when I run the command "RMAN> backup archivelog all delete input tag=achivelog_backup;". I get different results in different databases.
    problem database only puts files in FRA/backupset
    Starting backup at 25-MAR-11
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archived log backup set
    channel ORA_DISK_1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=919 RECID=11755 STAMP=746704813
    input archived log thread=1 sequence=920 RECID=11756 STAMP=746722527
    channel ORA_DISK_1: starting piece 1 at 25-MAR-11
    channel ORA_DISK_1: finished piece 1 at 25-MAR-11
    piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\PWRPROD\BACKUPSET\2011_03_25\O1_MF_ANNNN_ACHIVELOG_BACKUP_6RT3VO50_.BKP tag=A
    CHIVELOG_BACKUP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:07
    channel ORA_DISK_1: deleting archived log(s)
    archived log file name=I:\ORACLE\DATABASE\PWRPROD\ARC00919_0744612227.001 RECID=11755 STAMP=746704813
    archived log file name=I:\ORACLE\DATABASE\PWRPROD\ARC00920_0744612227.001 RECID=11756 STAMP=746722527
    Finished backup at 25-MAR-11
    Starting Control File and SPFILE Autobackup at 25-MAR-11
    piece handle=I:\ORACLE\FLASH_RECOVERY_AREA\PWRPROD\AUTOBACKUP\2011_03_25\O1_MF_S_746722572_6RT3W9XF_.BKP comment=NONE
    Finished Control File and SPFILE Autobackup at 25-MAR-11"
    *good database puts files in FRA/ARCHIVELOG and FRA/BACKUPSET with the same RMAN config?*
    Starting backup at 25-MAR-11
    current log archived
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting archived log backup set
    channel ORA_DISK_1: specifying archived log(s) in backup set
    input archived log thread=1 sequence=27943 RECID=53801 STAMP=746647205
    input archived log thread=1 sequence=27944 RECID=53803 STAMP=746651004
    input archived log thread=1 sequence=27945 RECID=53805 STAMP=746661637
    input archived log thread=1 sequence=27946 RECID=53807 STAMP=746664032
    input archived log thread=1 sequence=27947 RECID=53809 STAMP=746679433
    input archived log thread=1 sequence=27948 RECID=53811 STAMP=746690613
    input archived log thread=1 sequence=27949 RECID=53814 STAMP=746690737
    input archived log thread=1 sequence=27950 RECID=53816 STAMP=746698415
    input archived log thread=1 sequence=27951 RECID=53818 STAMP=746703697
    input archived log thread=1 sequence=27952 RECID=53820 STAMP=746709013
    input archived log thread=1 sequence=27953 RECID=53822 STAMP=746722121
    input archived log thread=1 sequence=27954 RECID=53824 STAMP=746723124
    channel ORA_DISK_1: starting piece 1 at 25-MAR-11
    channel ORA_DISK_1: finished piece 1 at 25-MAR-11
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\MWFPROD\BACKUPSET\2011_03_25\O1_MF_AN
    NNN_ACHIVELOG_BACKUP_6RT4F956_.BKP tag=ACHIVELOG_BACKUP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:15
    channel ORA_DISK_1: deleting archived log(s)
    archived log file name=C:\ORACLE\PRODUCT\11.1.0\DB_1\RDBMS\ARC27943_0704276183.0
    01 RECID=53801 STAMP=746647205
    archived log file name=C:\ORACLE\PRODUCT\11.1.0\DB_1\RDBMS\ARC27944_0704276183.0
    01 RECID=53803 STAMP=746651004
    archived log file name=C:\ORACLE\PRODUCT\11.1.0\DB_1\RDBMS\ARC27945_0704276183.0
    01 RECID=53805 STAMP=746661637
    archived log file name=C:\ORACLE\PRODUCT\11.1.0\DB_1\RDBMS\ARC27946_0704276183.0
    01 RECID=53807 STAMP=746664032
    archived log file name=C:\ORACLE\PRODUCT\11.1.0\DB_1\RDBMS\ARC27947_0704276183.0
    01 RECID=53809 STAMP=746679433
    archived log file name=C:\ORACLE\PRODUCT\11.1.0\DB_1\RDBMS\ARC27948_0704276183.0
    01 RECID=53811 STAMP=746690613
    archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\MWFPROD\ARCHIVELOG\2011_03_
    25\O1_MF_1_27949_6RS4S01O_.ARC RECID=53814 STAMP=746690737
    archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\MWFPROD\ARCHIVELOG\2011_03_
    25\O1_MF_1_27950_6RSD8X5B_.ARC RECID=53816 STAMP=746698415
    archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\MWFPROD\ARCHIVELOG\2011_03_
    25\O1_MF_1_27951_6RSKFZMB_.ARC RECID=53818 STAMP=746703697
    archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\MWFPROD\ARCHIVELOG\2011_03_
    25\O1_MF_1_27952_6RSPN313_.ARC RECID=53820 STAMP=746709013
    archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\MWFPROD\ARCHIVELOG\2011_03_
    25\O1_MF_1_27953_6RT3FQV3_.ARC RECID=53822 STAMP=746722121
    archived log file name=C:\ORACLE\FLASH_RECOVERY_AREA\MWFPROD\ARCHIVELOG\2011_03_
    25\O1_MF_1_27954_6RT4F456_.ARC RECID=53824 STAMP=746723124
    Finished backup at 25-MAR-11
    Starting Control File and SPFILE Autobackup at 25-MAR-11
    piece handle=C:\ORACLE\FLASH_RECOVERY_AREA\MWFPROD\AUTOBACKUP\2011_03_25\O1_MF_S
    _746723145_6RT4FWOB_.BKP comment=NONE
    Finished Control File and SPFILE Autobackup at 25-MAR-11

  • How to copy the ASM files on host filesystem.

    Hello All,
    There is a question come up in my mind that can we perform the copy/delete/move of ASM files to the host filesystem while the ASM instance is down.
    For instance... To copy the file ASM file through AMCMD utility when the ASM instance is running.
    ASMCMD> cp spfilenode.ora /u01
    copying +DATA/NODE/spfilenode.ora -> /u01/spfilenode.ora
    Now my question is, Can I copy/delete/move that file on OS filesystems when the ASM instance is down.
    regards,
    rohit

    Hi,
    1- Copy from ASM to FileSystem using cp command.
    2- Copy from ASM to FileSystem using DBMS_FILE_TRANSFER.
    1) In the first method, when I copy one file, I took more than 1 minute, so the following script would take me more than 1 days (I guess so).
    #!/bin/ksh
    # This script copies files from FRA on ASM to local disk
    ORACLE_SID=+ASM2
    ASMLS=/vasgatedb/app/vsgbkp/asm_ls.txt ##{ASM files list}
    BKP=+data/vsgdb/vsgbkp/`date +%Y_%m_%d` ##{source location of files}
    LOCALBACKUPDIR=/vasgatedb/app/vsgbkp  ##{destination filesystem}
    LOG=/vasgatedb/app/vsgbkp/asm_log.txt ##{log file}
    # Get the list of files
    $ORACLE_HOME/bin/asmcmd > $ASMLS <<EOF
    ls $BKP
    exit
    EOF
    # Clean the list by removing "ASMCMD>"
    sed -i 's/ASMCMD> //g' $ASMLS
    ##cat $ASMLS
    echo `date` > $LOG
    # Copy files one by one
    for FILENAME in `cat $ASMLS`
    do
    if [[ ! -f $LOCALBACKUPDIR/${FILENAME} ]]
    then
    $ORACLE_HOME/bin/asmcmd >> $LOG <<EOF
    cp $BKP/$FILENAME $LOCALBACKUPDIR
    EOF
    fi
    done
    echo `date` >> $LOG
    2) The second method, DBMS_FILE_TRANSFER took me less than 1 second to copy one file completely.
    sys@VSGDB> set timing on
    sys@VSGDB> exec dbms_file_transfer.COPY_FILE('asm_dir','level_0_vsgdb_9998_813844797.bkp','fs_dir','level_0_vsgdb_9998_813844797.bkp');
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.38

  • TSPITR - Recover a Dropped Tablespace aborting due dependency over XDB.

    I found an issue using TSPITR to Recover a Dropped Tablespace when XML DB (XDB) is installed on a different tablespace from "SYSAUX".
    During execution of TSPITR RMAN use Data Pump to export/import Tablespace Metadata as Data Pump has dependency over XDB views and related objects and XDB is installed on a set of tablespace not included on dummy database then EXPDP fails.
    Errors raised ORA-39123, ORA-00376, ORA-01110.
    I didn't found any limitation about XDB location on documentation or MoS.
    This looks like a Oracle Bug.
    See this:
    XDB installed on TABLESPACE XDB.
    SQL> select owner,tablespace_name
        from dba_segments
        where owner='XDB'
         GROUP BY owner,tablespace_name ;
    OWNER                          TABLESPACE_NAME
    XDB                            XDBDropping Tablespace SOE.
    SQL> select to_char(sysdate,'dd-mm-yyyy hh24:mi:ss') actual_date from dual;
    ACTUAL_DATE
    17-12-2012 11:57:44
    SQL> drop tablespace SOE including contents and datafiles;
    Tablespace dropped.Restoring Dropped Tablespace.
    RMAN> list backup tag TAG20121217T112226;
    List of Backup Sets
    ===================
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    69      Full    995.61M    DISK        00:02:41     17-12-2012 11:25:07
            BP Key: 69   Status: AVAILABLE  Compressed: YES  Tag: TAG20121217T112226
            Piece Name: +DG_16M/prod/backupset/2012_12_17/nnndf0_tag20121217t112226_0.286.802264947
      List of Datafiles in backup set 69
      File LV Type Ckp SCN    Ckp Time            Name
      1       Full 1628648    17-12-2012 11:22:26 +DS8000_DG/prod/datafile/system.349.799325249
      2       Full 1628648    17-12-2012 11:22:26 +DS8000_DG/prod/datafile/sysaux.348.799325249
      3       Full 1628648    17-12-2012 11:22:26 +DS8000_DG/prod/datafile/undotbs1.347.799325251
      4       Full 1628648    17-12-2012 11:22:26 +DS8000_DG/prod/datafile/users.335.799325251
      5       Full 1628648    17-12-2012 11:22:26 +DS8000_DG/prod/datafile/audit_aux.287.799330083
      6       Full 1628648    17-12-2012 11:22:26
      7       Full 1628648    17-12-2012 11:22:26 +DS8000_DG/prod/datafile/xdb.311.801410833
    RMAN>
    run{
    SET NEWNAME FOR DATAFILE 6 TO "+DS8000_DG";
    RECOVER TABLESPACE SOE
    UNTIL TIME "to_date('17-12-2012 11:55:00','dd/mm/yyyy hh24:mi:ss')"
    AUXILIARY DESTINATION '/u01/app/oracle/flash_recovery_area01/stage_area_tspitr';
    executing command: SET NEWNAME
    Starting recover at 17-12-2012 12:01:29
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=18 device type=DISK
    RMAN-05026: WARNING: presuming following set of tablespaces applies to specified point-in-time
    List of tablespaces expected to have UNDO segments
    Tablespace SYSTEM
    Tablespace UNDOTBS1
    Creating automatic instance, with SID='FCox'
    initialization parameters used for automatic instance:
    db_name=PROD
    db_unique_name=FCox_tspitr_PROD
    compatible=11.2.0.0.0
    db_block_size=8192
    db_files=200
    sga_target=280M
    processes=50
    db_create_file_dest=/u01/app/oracle/flash_recovery_area01/stage_area_tspitr
    log_archive_dest_1='location=/u01/app/oracle/flash_recovery_area01/stage_area_tspitr'
    #No auxiliary parameter file used
    starting up automatic instance PROD
    Oracle instance started
    Total System Global Area     292278272 bytes
    Fixed Size                     2220880 bytes
    Variable Size                109055152 bytes
    Database Buffers             176160768 bytes
    Redo Buffers                   4841472 bytes
    Automatic instance created
    List of tablespaces that have been dropped from the target database:
    Tablespace SOE
    contents of Memory Script:
    # set requested point in time
    set until  time "to_date('17-12-2012 11:55:00','dd/mm/yyyy hh24:mi:ss')";
    # restore the controlfile
    restore clone controlfile;
    # mount the controlfile
    sql clone 'alter database mount clone database';
    # archive current online log
    sql 'alter system archive log current';
    # avoid unnecessary autobackups for structural changes during TSPITR
    sql 'begin dbms_backup_restore.AutoBackupFlag(FALSE); end;';
    executing Memory Script
    executing command: SET until clause
    Starting restore at 17-12-2012 12:01:46
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=16 device type=DISK
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece +DG_16M/prod/autobackup/2012_12_17/s_802265113.276.802265115
    channel ORA_AUX_DISK_1: piece handle=+DG_16M/prod/autobackup/2012_12_17/s_802265113.276.802265115 tag=TAG20121217T112513
    channel ORA_AUX_DISK_1: restored backup piece 1
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:05
    output file name=/u01/app/oracle/flash_recovery_area01/stage_area_tspitr/PROD/controlfile/o1_mf_8dy9ghpz_.ctl
    Finished restore at 17-12-2012 12:01:52
    sql statement: alter database mount clone database
    sql statement: alter system archive log current
    sql statement: begin dbms_backup_restore.AutoBackupFlag(FALSE); end;
    contents of Memory Script:
    # set requested point in time
    set until  time "to_date('17-12-2012 11:55:00','dd/mm/yyyy hh24:mi:ss')";
    # set destinations for recovery set and auxiliary set datafiles
    set newname for clone datafile  1 to new;
    set newname for clone datafile  3 to new;
    set newname for clone datafile  2 to new;
    set newname for clone tempfile  1 to new;
    set newname for datafile  6 to
    "+DS8000_DG";
    # switch all tempfiles
    switch clone tempfile all;
    # restore the tablespaces in the recovery set and the auxiliary set
    restore clone datafile  1, 3, 2, 6;
    switch clone datafile all;
    executing Memory Script
    executing command: SET until clause
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    renamed tempfile 1 to /u01/app/oracle/flash_recovery_area01/stage_area_tspitr/PROD/datafile/o1_mf_temp_%u_.tmp in control file
    Starting restore at 17-12-2012 12:01:58
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_AUX_DISK_1: restoring datafile 00001 to /u01/app/oracle/flash_recovery_area01/stage_area_tspitr/PROD/datafile/o1_mf_system_%u_.dbf
    channel ORA_AUX_DISK_1: restoring datafile 00003 to /u01/app/oracle/flash_recovery_area01/stage_area_tspitr/PROD/datafile/o1_mf_undotbs1_%u_.dbf
    channel ORA_AUX_DISK_1: restoring datafile 00002 to /u01/app/oracle/flash_recovery_area01/stage_area_tspitr/PROD/datafile/o1_mf_sysaux_%u_.dbf
    channel ORA_AUX_DISK_1: restoring datafile 00006 to +DS8000_DG
    channel ORA_AUX_DISK_1: reading from backup piece +DG_16M/prod/backupset/2012_12_17/nnndf0_tag20121217t112226_0.286.802264947
    channel ORA_AUX_DISK_1: piece handle=+DG_16M/prod/backupset/2012_12_17/nnndf0_tag20121217t112226_0.286.802264947 tag=TAG20121217T112226
    channel ORA_AUX_DISK_1: restored backup piece 1
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:09:15
    Finished restore at 17-12-2012 12:11:13
    datafile 6 switched to datafile copy
    input datafile copy RECID=5 STAMP=802267873 file name=+DS8000_DG/prod/datafile/soe.487.802267321
    datafile 1 switched to datafile copy
    input datafile copy RECID=6 STAMP=802267873 file name=/u01/app/oracle/flash_recovery_area01/stage_area_tspitr/PROD/datafile/o1_mf_system_8dy9gs09_.dbf
    datafile 3 switched to datafile copy
    input datafile copy RECID=7 STAMP=802267873 file name=/u01/app/oracle/flash_recovery_area01/stage_area_tspitr/PROD/datafile/o1_mf_undotbs1_8dy9ov17_.dbf
    datafile 2 switched to datafile copy
    input datafile copy RECID=8 STAMP=802267873 file name=/u01/app/oracle/flash_recovery_area01/stage_area_tspitr/PROD/datafile/o1_mf_sysaux_8dy9hxsc_.dbf
    contents of Memory Script:
    # set requested point in time
    set until  time "to_date('17-12-2012 11:55:00','dd/mm/yyyy hh24:mi:ss')";
    # online the datafiles restored or switched
    sql clone "alter database datafile  1 online";
    sql clone "alter database datafile  3 online";
    sql clone "alter database datafile  2 online";
    sql clone "alter database datafile  6 online";
    # recover and open resetlogs
    recover clone database tablespace  "SOE", "SYSTEM", "UNDOTBS1", "SYSAUX" delete archivelog;
    alter clone database open resetlogs;
    executing Memory Script
    executing command: SET until clause
    sql statement: alter database datafile  1 online
    sql statement: alter database datafile  3 online
    sql statement: alter database datafile  2 online
    sql statement: alter database datafile  6 online
    Starting recover at 17-12-2012 12:11:14
    using channel ORA_AUX_DISK_1
    starting media recovery
    archived log for thread 1 with sequence 15 is already on disk as file +DG_16M/prod/archivelog/2012_12_17/thread_1_seq_15.277.802267317
    channel ORA_AUX_DISK_1: starting archived log restore to default destination
    channel ORA_AUX_DISK_1: restoring archived log
    archived log thread=1 sequence=14
    channel ORA_AUX_DISK_1: reading from backup piece +DG_16M/prod/backupset/2012_12_17/annnf0_tag20121217t112512_0.264.802265113
    channel ORA_AUX_DISK_1: piece handle=+DG_16M/prod/backupset/2012_12_17/annnf0_tag20121217t112512_0.264.802265113 tag=TAG20121217T112512
    channel ORA_AUX_DISK_1: restored backup piece 1
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
    archived log file name=/u01/app/oracle/flash_recovery_area01/stage_area_tspitr/1_14_801941068.dbf thread=1 sequence=14
    channel clone_default: deleting archived log(s)
    archived log file name=/u01/app/oracle/flash_recovery_area01/stage_area_tspitr/1_14_801941068.dbf RECID=141 STAMP=802267877
    archived log file name=+DG_16M/prod/archivelog/2012_12_17/thread_1_seq_15.277.802267317 thread=1 sequence=15
    media recovery complete, elapsed time: 00:00:01
    Finished recover at 17-12-2012 12:11:19
    database opened
    contents of Memory Script:
    # make read only the tablespace that will be exported
    sql clone 'alter tablespace  SOE read only';
    # create directory for datapump import
    sql "create or replace directory TSPITR_DIROBJ_DPDIR as ''
    /u01/app/oracle/flash_recovery_area01/stage_area_tspitr''";
    # create directory for datapump export
    sql clone "create or replace directory TSPITR_DIROBJ_DPDIR as ''
    /u01/app/oracle/flash_recovery_area01/stage_area_tspitr''";
    executing Memory Script
    sql statement: alter tablespace  SOE read only
    sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/u01/app/oracle/flash_recovery_area01/stage_area_tspitr''
    sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/u01/app/oracle/flash_recovery_area01/stage_area_tspitr''
    Performing export of metadata...
       EXPDP> Starting "SYS"."TSPITR_EXP_FCox":
       EXPDP> ORA-39123: Data Pump transportable tablespace job aborted
    ORA-00376: file 7 cannot be read at this time
    ORA-01110: data file 7: '+DS8000_DG/prod/datafile/xdb.311.801410833'
    Removing automatic instance
    shutting down automatic instance
    database closed
    database dismounted
    Oracle instance shut down
    Automatic instance removed
    auxiliary instance file /u01/app/oracle/flash_recovery_area01/stage_area_tspitr/PROD/datafile/o1_mf_temp_8dyb0qok_.tmp deleted
    auxiliary instance file /u01/app/oracle/flash_recovery_area01/stage_area_tspitr/PROD/onlinelog/o1_mf_3_8dyb0kfp_.log deleted
    auxiliary instance file /u01/app/oracle/flash_recovery_area01/stage_area_tspitr/PROD/onlinelog/o1_mf_2_8dyb0fm9_.log deleted
    auxiliary instance file /u01/app/oracle/flash_recovery_area01/stage_area_tspitr/PROD/onlinelog/o1_mf_1_8dyb07xv_.log deleted
    auxiliary instance file /u01/app/oracle/flash_recovery_area01/stage_area_tspitr/PROD/datafile/o1_mf_sysaux_8dy9hxsc_.dbf deleted
    auxiliary instance file /u01/app/oracle/flash_recovery_area01/stage_area_tspitr/PROD/datafile/o1_mf_undotbs1_8dy9ov17_.dbf deleted
    auxiliary instance file /u01/app/oracle/flash_recovery_area01/stage_area_tspitr/PROD/datafile/o1_mf_system_8dy9gs09_.dbf deleted
    auxiliary instance file /u01/app/oracle/flash_recovery_area01/stage_area_tspitr/PROD/controlfile/o1_mf_8dy9ghpz_.ctl deleted
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 12/17/2012 12:12:19
    RMAN-06962: Error received during export of metadata
    RMAN-06965: Datapump job has stopped
    RMAN-06960:    EXPDP> Job "SYS"."TSPITR_EXP_FCox" stopped due to fatal error at 12:12:02
    RMAN>If I drop tablespace SOE and XDB on Target database and try to restore both (SOE,XDB) export will succeeds but during IMPORT Metadata RMAN will faill due XDB dependency.
    In my view, they (mean Oracle) need find way to include XDB Tablespace at DUMMY database only to export (EXPDP) Metadata purposes.
    If someone get a workaround for this error will be grateful.
    P.S: This is not a Production environment and will soon open a SR on Oracle Support.

    Hi Michael,
    I did not find solution to use TSPITR to recover dropped tablespace if XML DB is installed in a non-default tablespace (i.e outside of SYSAUX).
    As far I could understand, the only way to perform this RESTORE is using the old fashion. By creating clone database excluding all unnecessary tablespace, exporting and importing metadata from desired tablespace manually.
    Since Oracle has not solved the issue I created my own workaround.
    @All
    If someone is able to use TSPITR to restore dropped tablespace when XDB is installed in a non-default tablespace, please let me know!!!
    The procedure below is supported on All Oracle Version since 10.1 until 11.2.
    I DON'T RECOMMEND to create AUXILIARY (clone) database using the same server from TARGET because you can damage the TARGET database.
    On this example I'm using same server.
    See this example:
    ### ON TARGET DATABASE
    SQL> select count(1) SEG_COUNT from dba_segments where tablespace_name='SOE';
      SEG_COUNT
            32
    SQL> ! date
    Wed Dec 19 15:08:11 GMT-02:00 2012
    SQL> drop tablespace soe including contents and datafiles;
    Tablespace dropped.
    ### CHECK TABLESPACE TO BE EXCLUDED FROM RESTORE
    SQL> select tablespace_name
        from dba_tablespaces
         where tablespace_name not in ('SYSTEM','SYSAUX','UNDOTBS1','SOE','XDB','TEMP');
    TABLESPACE_NAME
    USERS
    AUDIT_AUX
    ### CHECK BACKUP ON TARGET DATABASE
    RMAN> list backup completed between "sysdate-1" and "sysdate";
    List of Backup Sets
    ===================
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    95      Full    986.56M    DISK        00:03:18     19-12-2012 14:41:59
            BP Key: 95   Status: AVAILABLE  Compressed: YES  Tag: TAG20121219T143840
            Piece Name: /fra/PROD/backupset/2012_12_19/o1_mf_nnndf_TAG20121219T143840_8f3vdn3q_.bkp
      List of Datafiles in backup set 95
      File LV Type Ckp SCN    Ckp Time            Name
      1       Full 1675258    19-12-2012 14:38:42 +DS8000_DG/prod/datafile/system.349.799325249
      2       Full 1675258    19-12-2012 14:38:42 +DS8000_DG/prod/datafile/sysaux.348.799325249
      3       Full 1675258    19-12-2012 14:38:42 +DS8000_DG/prod/datafile/undotbs1.347.799325251
      4       Full 1675258    19-12-2012 14:38:42 +DS8000_DG/prod/datafile/users.335.799325251
      5       Full 1675258    19-12-2012 14:38:42 +DS8000_DG/prod/datafile/audit_aux.287.799330083
      6       Full 1675258    19-12-2012 14:38:42
      7       Full 1675258    19-12-2012 14:38:42 +DS8000_DG/prod/datafile/xdb.311.801410833
    BS Key  Size       Device Type Elapsed Time Completion Time
    96      1.16M      DISK        00:00:00     19-12-2012 14:42:08
            BP Key: 96   Status: AVAILABLE  Compressed: YES  Tag: TAG20121219T144208
            Piece Name: /fra/PROD/backupset/2012_12_19/o1_mf_annnn_TAG20121219T144208_8f3vm0k3_.bkp
      List of Archived Logs in backup set 96
      Thrd Seq     Low SCN    Low Time            Next SCN   Next Time
      1    8       1675198    19-12-2012 14:38:25 1675365    19-12-2012 14:42:07
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    97      Full    7.52M      DISK        00:00:02     19-12-2012 14:42:11
            BP Key: 97   Status: AVAILABLE  Compressed: NO  Tag: TAG20121219T144209
            Piece Name: /fra/PROD/autobackup/2012_12_19/o1_mf_s_802449729_8f3vm2cc_.bkp
      SPFILE Included: Modification time: 19-12-2012 14:36:30
      SPFILE db_unique_name: PROD
      Control File Included: Ckp SCN: 1675376      Ckp time: 19-12-2012 14:42:09
    RMAN>
    ### PREPARING ENV
    cp $ORACLE_HOME/dbs/orapwprod $ORACLE_HOME/dbs/orapwtspitr
    cd $ORACLE_HOME/dbs
    ## Creating INIT from TSPITR Instance
    vi inittspitr.ora
    DB_NAME=prod
    DB_UNIQUE_NAME=tspitr
    CONTROL_FILES=/stage_area_tspitr/PROD/controlfile/control01.ctl
    REMOTE_LOGIN_PASSWORDFILE=exclusive
    COMPATIBLE =11.2.0
    DB_BLOCK_SIZE=8192
    memory_target=700M
    streams_pool_size=100M
    ### creating stage area to deploy database
    mkdir -p  /fra/stage_area_tspitr/PROD
    cd /fra/stage_area_tspitr/PROD
    mkdir controlfile datafile onlinelog
    #### RESTORING DATABASE TSPITR
    export ORACLE_SID=tspitr
    $ rman target /
    RMAN> startup nomount
    Oracle instance started
    Total System Global Area     730714112 bytes
    Fixed Size                     2225088 bytes
    Variable Size                553651264 bytes
    Database Buffers             167772160 bytes
    Redo Buffers                   7065600 bytes
    RMAN> restore controlfile from '/fra/PROD/autobackup/2012_12_19/o1_mf_s_802449729_8f3vm2cc_.bkp';
    Starting restore at 19-12-2012 15:16:27
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=146 device type=DISK
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
    output file name=/fra/stage_area_tspitr/PROD/controlfile/control01.ctl
    Finished restore at 19-12-2012 15:16:31
    RMAN> startup mount
    database is already started
    database mounted
    released channel: ORA_DISK_1
    ### REPORT SCHEMA TO GET DATAFILE NUMBER TO BE RESTORED
    RMAN> report schema;
    RMAN-06139: WARNING: control file is not current for REPORT SCHEMA
    Report of database schema for database with db_unique_name TSPITR
    List of Permanent Datafiles
    ===========================
    File Size(MB) Tablespace           RB segs Datafile Name
    1    700      SYSTEM               ***     +DS8000_DG/prod/datafile/system.349.799325249
    2    600      SYSAUX               ***     +DS8000_DG/prod/datafile/sysaux.348.799325249
    3    200      UNDOTBS1             ***     +DS8000_DG/prod/datafile/undotbs1.347.799325251
    4    5        USERS                ***     +DS8000_DG/prod/datafile/users.335.799325251
    5    100      AUDIT_AUX            ***     +DS8000_DG/prod/datafile/audit_aux.287.799330083
    6    0        SOE                  ***     +DS8000_DG/tspitr/datafile/soe.368.802445265
    7    100      XDB                  ***     +DS8000_DG/prod/datafile/xdb.311.801410833
    List of Temporary Files
    =======================
    File Size(MB) Tablespace           Maxsize(MB) Tempfile Name
    1    385      TEMP                 32767       +DS8000_DG/prod/tempfile/temp.300.799325437
    RMAN>
    ### GET LOGFILE NAME to RENAME to new location.
    $ sqlplus / as sysdba
    SQL> select member from v$logfile;
    MEMBER
    +DS8000_DG/prod/onlinelog/group_1.330.802352807
    +DS8000_DG/prod/onlinelog/group_2.331.802352815
    +DS8000_DG/prod/onlinelog/group_3.321.802352821
    run {
    set newname for datafile 1 to '/fra/stage_area_tspitr/PROD/datafile/datafiles_%U';
    set newname for datafile 2 to '/fra/stage_area_tspitr/PROD/datafile/datafiles_%U';
    set newname for datafile 3 to '/fra/stage_area_tspitr/PROD/datafile/datafiles_%U';
    set newname for datafile 7 to '/fra/stage_area_tspitr/PROD/datafile/datafiles_%U';
    set newname for datafile 6 to "+DS8000_DG";
    restore datafile 1,2,3,7,6 from tag 'TAG20121219T143840' ;
    switch datafile 1;
    switch datafile 2;
    switch datafile 3;
    switch datafile 7;
    switch datafile 6;
    switch tempfile all;
    set until time "to_date('19-12-2012 14:42:00','dd-mm-yyyy hh24:mi:ss')";
    recover database SKIP TABLESPACE  "USERS", "AUDIT_AUX" delete archivelog;
    ## Renaming ONLINELOG
    sql "alter database rename file ''+DS8000_DG/prod/onlinelog/group_1.330.802352807'' to ''/fra/stage_area_tspitr/PROD/onlinelog/group1.rdo''";
    sql "alter database rename file ''+DS8000_DG/prod/onlinelog/group_2.331.802352815'' to ''/fra/stage_area_tspitr/PROD/onlinelog/group2.rdo''";
    sql "alter database rename file ''+DS8000_DG/prod/onlinelog/group_3.321.802352821'' to ''/fra/stage_area_tspitr/PROD/onlinelog/group3.rdo''";
    alter database open resetlogs;
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 19-12-2012 15:32:13
    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 /fra/stage_area_tspitr/PROD/datafile/datafiles_data_D-PROD_TS-SYSTEM_FNO-1
    channel ORA_DISK_1: restoring datafile 00002 to /fra/stage_area_tspitr/PROD/datafile/datafiles_data_D-PROD_TS-SYSAUX_FNO-2
    channel ORA_DISK_1: restoring datafile 00003 to /fra/stage_area_tspitr/PROD/datafile/datafiles_data_D-PROD_TS-UNDOTBS1_FNO-3
    channel ORA_DISK_1: restoring datafile 00007 to /fra/stage_area_tspitr/PROD/datafile/datafiles_data_D-PROD_TS-XDB_FNO-7
    channel ORA_DISK_1: restoring datafile 00006 to +DS8000_DG
    channel ORA_DISK_1: reading from backup piece /fra/PROD/backupset/2012_12_19/o1_mf_nnndf_TAG20121219T143840_8f3vdn3q_.bkp
    channel ORA_DISK_1: piece handle=/fra/PROD/backupset/2012_12_19/o1_mf_nnndf_TAG20121219T143840_8f3vdn3q_.bkp tag=TAG20121219T143840
    channel ORA_DISK_1: restored backup piece 1
    channel ORA_DISK_1: restore complete, elapsed time: 00:12:35
    Finished restore at 19-12-2012 15:44:48
    datafile 1 switched to datafile copy
    input datafile copy RECID=6 STAMP=802453489 file name=/fra/stage_area_tspitr/PROD/datafile/datafiles_data_D-PROD_TS-SYSTEM_FNO-1
    datafile 2 switched to datafile copy
    input datafile copy RECID=8 STAMP=802453489 file name=/fra/stage_area_tspitr/PROD/datafile/datafiles_data_D-PROD_TS-SYSAUX_FNO-2
    datafile 3 switched to datafile copy
    input datafile copy RECID=10 STAMP=802453489 file name=/fra/stage_area_tspitr/PROD/datafile/datafiles_data_D-PROD_TS-UNDOTBS1_FNO-3
    datafile 7 switched to datafile copy
    input datafile copy RECID=12 STAMP=802453489 file name=/fra/stage_area_tspitr/PROD/datafile/datafiles_data_D-PROD_TS-XDB_FNO-7
    datafile 6 switched to datafile copy
    input datafile copy RECID=14 STAMP=802453489 file name=+DS8000_DG/tspitr/datafile/soe.304.802452733
    renamed tempfile 1 to /fra/stage_area_tspitr/PROD/datafile/datafiles_data_D-PROD_TS-TEMP_FNO-1 in control file
    executing command: SET until clause
    Starting recover at 19-12-2012 15:44:49
    using channel ORA_DISK_1
    Executing: alter database datafile 4 offline
    Executing: alter database datafile 5 offline
    starting media recovery
    archived log for thread 1 with sequence 8 is already on disk as file +DS8000_DG/prod/onlinelog/group_2.331.802352815
    archived log file name=+DS8000_DG/prod/onlinelog/group_2.331.802352815 thread=1 sequence=8
    media recovery complete, elapsed time: 00:00:02
    Finished recover at 19-12-2012 15:44:55
    sql statement: alter database rename file ''+DS8000_DG/prod/onlinelog/group_1.330.802352807'' to ''/fra/stage_area_tspitr/PROD/onlinelog/group1.rdo''
    sql statement: alter database rename file ''+DS8000_DG/prod/onlinelog/group_2.331.802352815'' to ''/fra/stage_area_tspitr/PROD/onlinelog/group2.rdo''
    sql statement: alter database rename file ''+DS8000_DG/prod/onlinelog/group_3.321.802352821'' to ''/fra/stage_area_tspitr/PROD/onlinelog/group3.rdo''
    database opened
    ## Exporting Tablespace Metadata
    RMAN >
    run {
    sql 'alter tablespace  SOE read only';
    # create directory for datapump export
    sql  "create or replace directory TSPITR_DIROBJ_DPDIR as ''/fra/stage_area_tspitr''";
    # grant on directory to SYSTEM
    sql "grant read,write on directory TSPITR_DIROBJ_DPDIR to system";
    # exporting metadata
    host "expdp system/oracle@localhost:1521/tspitr DIRECTORY=TSPITR_DIROBJ_DPDIR DUMPFILE=exp_transport_soe.dmp TRANSPORT_FULL_CHECK=Y TRANSPORT_TABLESPACES=SOE";
    using target database control file instead of recovery catalog
    sql statement: alter tablespace  SOE read only
    sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/fra/stage_area_tspitr''
    sql statement: grant read,write on directory TSPITR_DIROBJ_DPDIR to system
    Export: Release 11.2.0.3.0 - Production on Wed Dec 19 15:53:02 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Automatic Storage Management, Oracle Label Security, OLAP,
    Data Mining, Oracle Database Vault and Real Application Testing options
    Starting "SYSTEM"."SYS_EXPORT_TRANSPORTABLE_01":  system/********@localhost:1521/tspitr DIRECTORY=TSPITR_DIROBJ_DPDIR DUMPFILE=exp_transport_soe.dmp TRANSPORT_FULL_CHECK=Y TRANSPORT_TABLESPACES=SOE
    Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
    Processing object type TRANSPORTABLE_EXPORT/TABLE
    Processing object type TRANSPORTABLE_EXPORT/INDEX/INDEX
    Processing object type TRANSPORTABLE_EXPORT/INDEX/FUNCTIONAL_INDEX/INDEX
    Processing object type TRANSPORTABLE_EXPORT/CONSTRAINT/CONSTRAINT
    Processing object type TRANSPORTABLE_EXPORT/INDEX_STATISTICS
    Processing object type TRANSPORTABLE_EXPORT/INDEX/STATISTICS/FUNCTIONAL_INDEX/INDEX_STATISTICS
    Processing object type TRANSPORTABLE_EXPORT/CONSTRAINT/REF_CONSTRAINT
    Processing object type TRANSPORTABLE_EXPORT/TABLE_STATISTICS
    Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PLUGTS_BLK
    Master table "SYSTEM"."SYS_EXPORT_TRANSPORTABLE_01" successfully loaded/unloaded
    Dump file set for SYSTEM.SYS_EXPORT_TRANSPORTABLE_01 is:
      /fra/stage_area_tspitr/exp_transport_soe.dmp
    Datafiles required for transportable tablespace SOE:
      +DS8000_DG/tspitr/datafile/soe.304.802452733
    Job "SYSTEM"."SYS_EXPORT_TRANSPORTABLE_01" successfully completed at 15:54:28
    host command complete
    ## Stop Database and destroy it to make sure that Datafile 6 will not be used by this database;
    RMAN>
    run {
    shutdown immediate;
    ## removing controlfile and SYSTEM Tablespace to make sure that database will not be opened
    host "rm -f /fra/stage_area_tspitr/PROD/controlfile/control01.ctl /fra/stage_area_tspitr/PROD/datafile/datafiles_data_D-PROD_TS-SYSTEM_FNO-1";
    database closed
    database dismounted
    Oracle instance shut down
    host command complete
    ## TARGET Database
    ## Plugging Tablespace on TARGET database.
    $ export ORACLE_SID=prod
    $ rman target /
    run {
    # create directory for datapump import
    sql "create or replace directory TSPITR_DIROBJ_DPDIR as ''/fra/stage_area_tspitr''";
    # grant on directory to SYSTEM
    sql "grant read,write on directory TSPITR_DIROBJ_DPDIR to system";
    host "impdp system/oracle@localhost:1521/prod DIRECTORY=TSPITR_DIROBJ_DPDIR DUMPFILE=exp_transport_soe.dmp TRANSPORT_DATAFILES=''+DS8000_DG/tspitr/datafile/soe.304.802452733''";
    sql "alter tablespace soe read write";
    sql statement: create or replace directory TSPITR_DIROBJ_DPDIR as ''/fra/stage_area_tspitr''
    sql statement: grant read,write on directory TSPITR_DIROBJ_DPDIR to system
    Import: Release 11.2.0.3.0 - Production on Wed Dec 19 16:09:30 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Automatic Storage Management, Oracle Label Security, OLAP,
    Data Mining, Oracle Database Vault and Real Application Testing options
    Master table "SYSTEM"."SYS_IMPORT_TRANSPORTABLE_01" successfully loaded/unloaded
    Starting "SYSTEM"."SYS_IMPORT_TRANSPORTABLE_01":  system/********@localhost:1521/prod DIRECTORY=TSPITR_DIROBJ_DPDIR DUMPFILE=exp_transport_soe.dmp TRANSPORT_DATAFILES=+DS8000_DG/tspitr/datafile/soe.304.802452733
    Processing object type TRANSPORTABLE_EXPORT/PLUGTS_BLK
    Processing object type TRANSPORTABLE_EXPORT/TABLE
    Processing object type TRANSPORTABLE_EXPORT/INDEX/INDEX
    Processing object type TRANSPORTABLE_EXPORT/INDEX/FUNCTIONAL_INDEX/INDEX
    Processing object type TRANSPORTABLE_EXPORT/CONSTRAINT/CONSTRAINT
    Processing object type TRANSPORTABLE_EXPORT/INDEX_STATISTICS
    Processing object type TRANSPORTABLE_EXPORT/INDEX/STATISTICS/FUNCTIONAL_INDEX/INDEX_STATISTICS
    Processing object type TRANSPORTABLE_EXPORT/CONSTRAINT/REF_CONSTRAINT
    Processing object type TRANSPORTABLE_EXPORT/TABLE_STATISTICS
    Processing object type TRANSPORTABLE_EXPORT/POST_INSTANCE/PLUGTS_BLK
    Job "SYSTEM"."SYS_IMPORT_TRANSPORTABLE_01" successfully completed at 16:10:03
    host command complete
    sql statement: alter tablespace soe read write
    ### Recompiling Invalid Objects and Checking objects from  tablespace SOE
    $ sqlplus / as sysdba
    SQL>  @$ORACLE_HOME/rdbms/admin/utlrp.sql
    TIMESTAMP
    COMP_TIMESTAMP UTLRP_BGN  2012-12-19 16:10:34
    OBJECTS WITH ERRORS
                      0
    ERRORS DURING RECOMPILATION
                              0
    Function created.
    PL/SQL procedure successfully completed.
    Function dropped.
    PL/SQL procedure successfully completed.
    SQL> select count(1) SEG_COUNT from dba_segments where tablespace_name='SOE';
      SEG_COUNT
            32
    SQL> SELECT COUNT(1) OBJ_INVALID FROM DBA_OBJECTS WHERE STATUS != 'VALID';
    OBJ_INVALID
              0
    ## PERFORM A FULL BACKUP AFTER RESTORE TABLESPACE.Regards,
    Levi Pereira

  • Disk are not appearing in DBCA

    i have windows xp oracle 11g standard edition release one.
    When i use DBCA for ASM instacne it does not show me disk within 'create disk group' page, i have raw disk and stamped wth ASM.
    Initially it was showing me those raw and asm stamped disk as candidate for creating diskgroup within 'create disk group' page using DBCA , but for test purpose i have dropped those raw partion and recreat those raw partion ,stamped with ASM asmtoolg but now unable to see those candidate disk within 'create disk group' page using DBCA.
    how can i reslove that issue please let me know.

    ### If you using RAC -> Don't Create FRA on OS/file system local, Please create on Share Storage
    If you need to backup database on ASM... you have to use RMAN. You told ... you created FRA on none ASM . That's mean by default you can backup database to disk (rman) to FRA (none ASM).
    And after that ... you can use 'cp' os command to copy files on FRA to anywhere.
    By the way.... One way to copy datafiles(online) you have to use RMAN ....if offline but use ASM, you have to use RMAN too...
    If you use 11G asm you can use "asmcmd" to copy files in ASM to none ASM.
    Example:
    $ asmcmd
    ASMCMD> cp file01/txt /tmp/
    copying +Vol1/db/file01.txt -> /tmp//file01.txt
    Good Luck.

  • Database Recovery Urgent

    Dear All
    I have take (Oracle 10.2.0) complete backup using RMAN, Now i lost media (HardDisk) and cannot recover existing database.
    Please guide me how i can register and recover database on new server using two days old full RMAN backup.
    Backup on DVD is doing this script.
    RMAN> RUN { ALLOCATE CHANNEL C1 TYPE DISK;
    BACKUP DATABASE FORMAT 'F:\RMAN\SID_%d_%T_%s';
    Thanks
    Edited by: Naeem Sheeraz on Dec 20, 2008 3:04 PM

    You have to install the same version of oralce with same directory structure and with same instance name on other machine.
    You may create the old instance by OS laterz after installing the oracle.
    C:\>oradim -new -sid orcl
    Instance created.
    after instance creation ,create password file by using orapwd utility
    C:\>orapwd file=C:\oracle\product\10.1.0\Db_2\database\PWDorcl.ora password=sys
    put alls backup files from FRA which is in tape cartridge to its respected location.
    Connect to RMAN
    C:\>rman
    Recovery Manager: Release 10.1.0.2.0 - Production
    Copyright (c) 1995, 2004, Oracle.  All rights reserved.
    RMAN> connect target sys/sys
    connected to target database (not started)
    RMAN>
    RMAN> startup force nomount
    startup failed: ORA-01078: failure in processing system parameters
    LRM-00109: could not open parameter file 'C:\ORACLE\PRODUCT\10.1.0\DB_2\DATABASE
    \INITORCL.ORA'
    trying to start the Oracle instance without parameter files ...
    Oracle instance started
    Total System Global Area     113246208 bytes
    Fixed Size                      787708 bytes
    Variable Size                 61602564 bytes
    Database Buffers              50331648 bytes
    Redo Buffers                    524288 bytesput the previous backup within the same location as it was an old machine
    If you have autobackup on configuration then
    RMAN> restore spfile from 'yoursspfilebackup'
    2> ;
    Starting restore at 09-APR-08
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=29 devtype=DISK
    channel ORA_DISK_1: autobackup found: C:\oracle\product\10.1.0\flash_recovery_ar
    ea\ORCL\AUTOBACKUP\2008_04_09\O1_MF_S_651605789_3ZSG2GHX_.BKP
    channel ORA_DISK_1: SPFILE restore from autobackup complete
    Finished restore at 09-APR-08
    RMAN> shutdown immediate
    Oracle instance shut down
    C:\>rman
    Recovery Manager: Release 10.1.0.2.0 - Production
    Copyright (c) 1995, 2004, Oracle.  All rights reserved.
    RMAN> connect target sys/sys
    connected to target database (not started)
    RMAN> startup
    Oracle instance started
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 04/09/2008 18:17:41
    ORA-00205: error in identifying controlfile, check alert log for more info
    RMAN> restore controlfile from autobackup
    2> ;
    Starting restore at 09-APR-08
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=160 devtype=DISK
    recovery area destination: C:\oracle\product\10.1.0\flash_recovery_area
    database name (or lock name space) used for search: ORCL
    channel ORA_DISK_1: autobackup found in the recovery area
    channel ORA_DISK_1: autobackup found: C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AR
    EA\ORCL\AUTOBACKUP\2008_04_09\O1_MF_S_651605800_3ZSG2SLS_.BKP
    channel ORA_DISK_1: controlfile restore from autobackup complete
    output filename=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\CONTROL01.CTL
    output filename=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\CONTROL02.CTL
    output filename=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\CONTROL03.CTL
    Finished restore at 09-APR-08
    RMAN> startup mount
    database is already started
    database mounted
    RMAN> restore database;
    RMAN> recover database;Khurram

Maybe you are looking for

  • URL Rewrite Rule: HTTP to HTTPS Not Working

    Here is my problem. I cannot get HTTP to HTTPS redirect to work using the URL Rewrite module. I am using version 2, by the way, which I understand is the latest version. I've also enabled the "Proxy Server" and Application Request Routing" features.

  • Reading of Velocity and Displaceme​nt is incorrect while accelarati​on is correct (Sound Vibration toolkit)

    Hi, I'm trying to read vibration using the following system: Sensor: Accelaration sensor Device: NI Hi-speed USB carrier NI USB 9162, NI 9233 4 ch 24 bit IEPE analog input. Software: LabVIEW, NI Sound and Vibration Toolkit, DAQ assistant The VI that

  • Fatch data in ALV Reports from multiple Tables

    Respected Sir, How to fatch data in ALV Grid report from selected Field and selected Table. Please Help and My require Field and Table is : sono LIKE vbak-vbeln,        sodat LIKE vbak-erdat,        cust LIKE kna1-name1,        pono LIKE vbkd-bstkd,

  • Sometimes Business Rules disappear

    Hi. I have a probleme in Planning. I open web browser, connect to application and see my Business Rules, after 10-30 minutes (work with form etc.) they disappear. I log off, then connect to Planning and I see Business Rules again. What is it? Mike.

  • Windows 7 Boot Camp download

    I have my brand new MacBook Pro 13" 2011 that shipped with lion tripple booting OSX, Windows 7, and Ubuntu 11.04. When I got the computer I put in a new 1TB hard drive in, and installed OSX from a USB drive I created. I paritioned it using disk utili