How to use parallelism in RMAN script having multiple lines

Gurus,
Need your advice on using parallelism in 'BACKUP AS COPY DATAFILE' script having multiple lines.
I have a script like below:
CONFIGURE DEVICE TYPE DISK PARALLELISM 10;
backup as copy datafile '/data1/oradata/PROD/data01.dbf' format '+DATA';
backup as copy datafile '/data2/oradata/PROD/data02.dbf' format '+DATA';
backup as copy datafile '/data3/oradata/PROD/data03.dbf' format '+DATA';
backup as copy datafile '/data4/oradata/PROD/data04.dbf' format '+DATA'; and so on ......
If I run this script, it runs sequentially. How can I parallely copy the required data files ?
I have to selectively copy few files in ASM.
I want to use a single script.
Please advise.
Best regards,
Santosh
Edited by: 966454 on Oct 18, 2012 11:59 PM
Edited by: 966454 on Oct 18, 2012 11:59 PM

Unfortunately, this will not help my case. It may not always be '+DATA'
I want to know if there is any way to parallelise the multiple statements.
Script may have :
CONFIGURE DEVICE TYPE DISK PARALLELISM 10;
backup as copy datafile '/data1/oradata/PROD/data01.dbf' format '+DATA1';
backup as copy datafile '/data2/oradata/PROD/data02.dbf' format '+DATA2';
backup as copy datafile '/data3/oradata/PROD/data03.dbf' format '+DATA3';
backup as copy datafile '/data4/oradata/PROD/data04.dbf' format '+DATA4'; ........
or
backup as copy datafile 1 as '/data1/oradata/PROD/data01.dbf' ;
backup as copy datafile 2 as '/data2/oradata/PROD/data02.dbf' ;
backup as copy datafile 3 as '/data3/oradata/PROD/data03.dbf' ; ........
Regards,
Santosh
Edited by: 966454 on Oct 19, 2012 12:33 AM

Similar Messages

  • How to use dreamweaver to check scripts.

    I am both new to scripting and in using dreamweaver, I n
    eed to be able to copy an asp code and paste in dreamweaver and c
    ontinue with it, can anyone please help me on how to do this? , I a
    m testing dream weaver cs4

    I don't understand your subject line, "How to use dreamweaver to check scripts".  Can you explain what you mean by this?
    >I need to be able to copy an asp code and paste in dreamweaver and
    >continue with it, can anyone please help me on how to do this?
    You just copy the code from one page and paste into another. If you are having problems, you need to be more specific about what is not working.

  • How to use views in sql script report?

    All all
    Can any one tell how to use views in sql script report?

    Most of the views are based on tables (or other views which are based on tables).
    The view typically shows one org at a time based on the context that is set.
    If you need records for all orgs, you need to use the underlying tables. Oracle typically names the tables with a _all suffix.
    e.g. PO_HEADERS will show records for one org at a time. PO_HEADERS_ALL will show records for all orgs.
    Hope this answers your question,
    Sandeep Gandhi

  • How to use parallel flowed subforms begining at the same position.

    How to use parallel flowed subforms begining at the same position in my form.
    Ex
    Subform1
    Subform2
    Subform3
    DropDownList1
    DropDownList1
    DropDownList1
    I would like to repeat  with a button the 3 subforms in parallel
    Subform1
    Subform2
    Subform3
    DropDownList1
    DropDownList1
    DropDownList1
    Subform1
    Subform2
    Subform3
    DropDownList1
    DropDownList1
    DropDownList1

    Post your question in the LiveCycle Designer forum.

  • How to use parallel

    Hi
    Any body help me to how to use parallel and add window8

    Follow the instructions from the Parallels User Guide here.

  • How to use the same POWL query for multiple users

    Hello,
    I have defined a POWL query which executes properly. But if I map the same POWL query to 2 portal users and the 2 portal users try to access the same page simultaneously then it gives an error message to one of the users that
    "Query 'ABC' is already open in another session."
    where 'ABC' is the query name.
    Can you please tell me how to use the same POWL query for multiple users ?
    A fast reply would be highly appreciated.
    Thanks and Regards,
    Sandhya

    Batch processing usually involves using actions you have recorded.  In Action you can insert Path that can be used during processing documents.  Path have some size so you may want to only process document that have the same size.  Look in the Actions Palette fly-out menu for insert path.  It inserts|records the current document work path into the action being worked on and when the action is played it inserts the path into the document as the current work path..

  • MM: PO Not Picking up PR Having Multiple Line Items

    Hi All,
    When Creating PO with Reference to PR Having multiple line items, not picking up the line items and also the vendor and also the where in we  have to select  input tax code.
    CASE1: Created PR 760001340 with single line item and also could able to create PO.
    Case2: Created PR 760001341 with multiple line items, When creating PO with reference to PR the line items and Vendor are not picking Up.
    Plz. Advise a solution.
    Thanks in Advance.....
    Regards
    Sudheer

    HI SHWN,
    Thanks for prompt response.
    ERROR Message: When referencing a requisition, please also enter a requisition item no.
    Regards
    Sudheer

  • How Can I Create One Entry Sheet For Multiple Line Items of A PO

    Please Tell Me How Can I Create One Entry Sheet For Multiple Line Items of A PO

    hi,
    It is not possible to create single Service Entry sheet for multiple PO line items. It is 1 to 1 relation.
    you have to make different service entry sheets for different item of service master.
    regards
    Manish Joshi

  • Using SYSDATE in RMAN script

    Hi
    Each night I move an RMAN backup from a PROD server to a test server.
    Then using RMAN script with NOCATALOG, I restore/recover the database on the test server as show below:
    RUN{
    ALLOCATE CHANNEL dev1 DEVICE TYPE DISK;
    STARTUP NOMOUNT;
    RESTORE CONTROLFILE from AUTOBACKUP;
    SHUTDOWN;
    STARTUP FORCE MOUNT;
    RESTORE DATABASE;
    RECOVER DATABASE;
    ALTER DATABASE OPEN RESETLOGS;
    Of course the script fails at the "RECOVER DATABASE" command because it runs out of ARCH logs to apply at some point and therefore never gets to the final command of DATABASE OPEN. I would like to change that line to something like:
    RECOVER DATABASE UNTIL TIME 'SYSDATE:02:45:00';
    The above fails with an RMAN error of "expected number".
    Of course I could use SET UNTIL TIME "to_date('SYSDATE 02:45:00','DD-MON-YYYY HH24:MI:SS')"; although I have the same problem, i.e., getting RMAN to accept SYSDATE as the date portion of the point in time recovery.
    Oddly, from an RMAN prompt and within brackets, I can issue the following command successfully:
    RMAN {
    set until time "to_date('SYSDATE 02:45:00','DD-MON-YYYY HH24:MI:SS')";
    command completed successfully
    So my question is, how can I use SYSDATE in an RMAN point in time recovery and have sysdate represent the current date, either in the RECOVER DATABASE line or the SET UNTIL TIME line?
    Thanks.

    user522620 wrote:
    Hi
    Each night I move an RMAN backup from a PROD server to a test server.
    Then using RMAN script with NOCATALOG, I restore/recover the database on the test server as show below:
    RUN{
    ALLOCATE CHANNEL dev1 DEVICE TYPE DISK;
    STARTUP NOMOUNT;
    RESTORE CONTROLFILE from AUTOBACKUP;
    SHUTDOWN;
    STARTUP FORCE MOUNT;
    RESTORE DATABASE;
    RECOVER DATABASE;
    ALTER DATABASE OPEN RESETLOGS;
    So my question is, how can I use SYSDATE in an RMAN point in time recovery and have sysdate represent the current date, either in the RECOVER DATABASE line or the SET UNTIL TIME line?
    Thanks.
    Given:
    SQL> alter session set NLS_DATE_FORMAT='DD-MON-YYYY HH24:MI:SS';
    SQL> select to_char(trunc(sysdate)+(2/24)+(45/1440),'dd-mon-yyyy hh24:mi') from
    dual;
    TO_CHAR(TRUNC(SYS
    25-JUN-2012 02:45:00
    Use this (uses to_date)
    RUN{
    set until time "to_date(trunc(sysdate)+(2/24)+(45/1440),'DD-MON-YYYY HH24:MI:SS')";
    ALLOCATE CHANNEL dev1 DEVICE TYPE DISK;
    STARTUP NOMOUNT;
    RESTORE CONTROLFILE from AUTOBACKUP;
    SHUTDOWN;
    STARTUP FORCE MOUNT;
    RESTORE DATABASE;
    RECOVER DATABASE;
    ALTER DATABASE OPEN RESETLOGS;
    ## if that command fails, it will fall to the next command as the run blocks are autonomous.
    RUN{
    ALTER DATABASE OPEN RESETLOGS;
    }

  • How to use Parallel Compilation -j using sun make?

    Hello,
    My c++ project have lots of cpp files and it takes around 5 - 5.5 hours to build the application which is definitely a lot of time. Little bit of googling landed me to the following sun link to reduce the build time.
    http://developers.sun.com/solaris/articles/parallel_make.html
    By using parallel make option of -j as it should reduce the build time considerably as i was using Solaris 9 on Sparc Sun-Fire-V440 which is having 4 CPU.
    But on invoking make with a -j option i.e "make all -j 4" I get the following error :
    make: Warning: Ignoring DistributedMake -j option
    I even tried to use gcc make instead of sun(/usr/ccs/bin/make) make but none of them is actually helping me to reduce my build time.
    Can some please guide me how should i go ahead withe usage of -j option on solaris.

    You should be aware that amount of parallelism that dmake can exploit depends fully on your Makefiles.
    Unnecessary dependencies can significantly reduce amount of parallelism.
    Recursive makefiles (make rules in turn calling makes) will hamper parallelism as well.
    Hidden dependencies (those not directly specified in rules) will lead to spontaneous build failures.
    It will take some discipline to write makefiles properly, but in a long term it will pay off.
    regards,
    __Fedor.

  • How to use parallel sequence for split the operation qty. urgent or other o

    PP guru
    My scenario is as follows.
    I ve one material suppose…xyz.
    For that material I' ve created bom, routing.
    In routing I' ve mention only one operation. 0010.
    Now I' ve the production order of 1000 kg.
    I want to use two work centers to run this production order. ( e.g.work center a and b)
    In routing I used work center a.
    In short I want split that operation.
    So what I ve to do or use parallel sequence and how???
    or else is there any other option to split the order to two or more machines/work center?
    Pls explain me in brief.
    Regards,
    Ram

    Hi,
      If you want to carry the production with two different work centers , first you need to split the operation qty.
    For this in the order type dependent parameters OPL8
    in the controlling tab page enable the indicator Cost collector
    and set the default rule as PP2.
      Create a Product cost collector with KKF6N.
       Now in the production order , select the operation and choose functions--->>> split.
       Now enter the operation split quantity and execute.
       Now in MD04 you can see two production order.
       In the second production order change the work center in the operation overview as desired and save.
      Regards,
    nandha

  • How to use parallel sequence in capacity planning.

    How we can use parallel seq in capacity planning?we have two machines which can be run parallel for production ,now how  to distribute capacity load? suppose for the production of 100 km,we required 1000 min when it is produced through only one machine.Now if 2 machines are used simultaneously we required 500 min.How to see this in capacity planning?

    Dear,
    For calculating Available capacity you have options like minimum capacity, normal capacity and maximum capacity. You can select this option in work center-capacity tab for individual capacity category.
    With parallel sequence and with both machines you can select maximum capacity option and plan your capacity.
    Hope this is helpful.
    Regards,
    Prasad

  • How to use Array in Calc script.

    Hi, <BR> I want to use Array in Calc scripts. Can anyone provide me some examples. <BR><BR>Thanks<BR>Murali

    For information on the ARRAY command, check out <a target=_blank class=ftalternatingbarlinklarge href="http://dev.hyperion.com/techdocs/essbase/essbase_712/Docs/techref/techref.htm">this hyperlink</a>.<BR><BR>Click on <b>Calculation Commands</b>, then choose <b>ARRAY</b>.<BR><BR>Can you give me some information explaining why you want to use ARRAY? It's use is pretty rare and I would like to understand what you're trying to do.

  • How to use parallels??????

    My MBP originally has a windows system, I can press option to chose whether start Mac or Windows, But now, I'm using parallels, when i'm using it, i'v messed up, I'm wondering if i need to install windows again, can't I implement the windows I've installed

    Yes, I realized that I formulated a wrong question...and probably in the wrong place.  Pardon me for that. I humbly recognize that computers are not my strong, specially Macs.  I was just looking for a little help because I bought a new Macbook Pro with Parallels and I'm able to print ok from the Mac's Lion but not from Windows; even though I did all the control panel normal procedures to install my printer.
    Two short thoughts that have helped me alot in life and I would like to share today:  "Not everyone that knows lives but everyones that lives knows" and "The tongue that heals is a tree of life but a devious tongue breaks the spirit".  We should always be conscious that all acts of bigotry only leads us to death and try to prevent it to be part of our ways.
    I appreciate for both for taking time to write.  Wish you peace, well being and holly hapiness today and always.
    Best regards;
    Greatfultime

  • Creation of Blanket PO having Multiple Line items using Bapi_po_create1

    Hi
    How to create a Blanket Purchase ordetrs using Bapi BAPI_PO_CREATE1. The PO has multiple line items.
    Regards
    Lakshman

    Maybe this will help:
    [blanket purchase order (MM)|http://help.sap.com/saphelp_srm30/helpdata/en/35/26c019afab52b9e10000009b38f974/content.htm]
    Rob

Maybe you are looking for

  • Iphoto hid my pictures when i opened a CD of pictures in iphoto

    I put in my sisters wedding picture cd and iphoto asked me for an update, i clicked yes, now all 5,000 of my pictures are no longer in iPhoto, but they slide thru on my desktop pictures. They only pictures in iphoto are the 382 from her CD......I am

  • When we are going to use flag variables

    could u plz explain clearly regarding "flag " variables in which situation we can go for "flag" variables with step by step and comment ,example

  • Audition CS6 Help menu not working

    I have downloaded Audition CS6. When I go to 'Help' i get error 10. Is there no help file with the trial?

  • Passing Checkbox values

    Hello all! I have a WF which calls a Form with a table and two buttons. The first column of this table consists of checboxes. <Field name='accounts_table'>                 <Display class='FormTable'>                     <Property name='Columns'>     

  • Art Brushes appear grey, and not Rich Black.

    Art brushes are showing a grey version of what should be a Rich Black RGB 0, 0, 0,. Furthermore, expanding the art brush stroke and sampling the color shows the strokes "Black" is actually: 32,32,32, pre-expansion the RGB sample shows the stroke is 0