Parallel option for DML

Hi ,
I have 8 cpus on my server .
I want to insert data from tab1 into tab2 as follows :
insert into user1.tab1 select * from user1.tab2 ;
I wanted to utilize the parallel option in above query and i tried
INSERT /*+ PARALLEL(user1.tab1,5) */ INTO user1.tab1 SELECT /*+ PARALLEL(user1.tab2,4) */ * FROM user1.tab2;
query run successfully but i when i was monitoring from OS(IBM AIX 6.1) side using NMON utility , it was not consuming/utilizing more then 1 or 2 CPUs .
Can anyone plz tell me the correct syntax....
Edited by: Santosh Pradhan on May 1, 2013 7:01 AM

You've posted enough to know you need to provide your 4 digit Oracle version.
>
I have 8 cpus on my server .
I want to insert data from tab1 into tab2 as follows :
insert into user1.tab1 select * from user1.tab2 ;
I wanted to utilize the parallel option in above query and i tried
INSERT /*+ PARALLEL(user1.tab1,5) / INTO user1.tab1 SELECT /+ PARALLEL(user1.tab2,4) */ * FROM user1.tab2;
query run successfully but i when i was monitoring from OS(IBM AIX 6.1) side using NMON utility , it was not consuming/utilizing more then 1 or 2 CPUs .
>
Please read the FAQ at the top of the thread list for how to post a tuning request and the info you need to provide. That info includes the DDL for the tables and indexes, the execution plan for the query you are running, the numbers of rows in the tables involved.
The execution plan will show if PARALLEL is being used.

Similar Messages

  • Partitioned snapshot with parallel option unable to refresh for 14 hours

    Platform: SLES 8, Oracle 9.2.0.4
    Master site - partitioned table (7G)
    Snapshot site - partitioned snapshot (2.3G)
    Creation of snapshot takes about 2 hours
    First fast refresh didn't finished even after 14 hours, so I killed the session.
    QUESTION:
    Any known issues in using partitioned snapshots, fast refresh and parallel option?
    Thanks
    Srdjan

    PS - have found other posts indicating that clips smaller than 2s or sometimes 5s, or "short files" can cause this. Modern style editing often uses short takes ! Good grief I cannot believe Apple. Well I deleted a half a dozen short sections and can export, but now of course the video is a ruined piiece of junk and I need to re-do the whole thing, the sound etc. which is basically taking as much time as the original. And each time I re-do it I risk again this lovely error -50 and again trying to figure out what thing bugs it via trial and error instead of a REASONABLE ERROR MESSAGE POINTING TO THE CLIP IT CAN'T PROCESS. What a mess. I HATE this iMovie application - full of BUGS BUGS BUGS which Apple will not fix obviously, since I had this product for a few years and see just hundreds of hits on Google about this error with disappointed users. Such junk I cannot believe I paid money for it and Apple does not support it with fixes !!!
    If anyone knows of a GOOD reasonably priced video editing program NOT from APPLE I am still looking for suggestions. I want to do more video in future, but obviously NOT with iMovie !!!

  • PARALLEL option in oracle 8i

    Hi,
    I have a problem in using the parallel hint in my sql statement.
    I have enabled the parallel dml option, also given the parallel hint in the script. This works fine with the test database which is a clone of the production database. But it behaves worse in production database. Is there any settings need to be done by the dbas in resource allocation for using this parallel option.
    Thanks
    Shiva..

    If memory serves, multiple block sizes were not supported until 9i. I believe the answer is no. Once the database standard block size is defined, you can't simply change the block size without recreating the database with new block size of any oracle version so far.
    Jaffar

  • What are the best options for running windows on a Mac Pro

    what are the best options for running windows on a Mac Pro

    For gaming and other CPU intensive stuff: Boot Camp – https://www.apple.com/support/bootcamp/
    For the rest: any virtualization software (Parallels/Vmware Fusion/VirtualBox)

  • Should I specify the Parallel parameter for an non-RAC database?

    The Oracle documatation state as the following:
    "The Oracle Database 10g Release 2 database controls and balances all parallel operations, based upon available resources, request priorities and actual system load." It show that Oracle can optimize the Parallel level automaticly.
    Should I specify the Parallel parameter for a non-RAC database? Most of the transactions are small OLTP.

    What parallel parameter are you talking about?
    Generally, you may benefit from parallelization in a very similar manner on RAC as on single instance system. And it is in both cases not sufficient to change the value of any initialization parameter to achieve parallelization of queries, DDL or DML.
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • AE 5.1 and 5.2 - Configuring parallel workflows for "Delete" Request type

    Has anyone configured parallel workflows for the "Delete" Request type?  I want to configure 1 for SAP and 1 for non-SAP applications, but have been unable to do it successfully. 
    The initiators I have created that do not work are:
    1 - SAP initiator:
    SAP application with "OR" condition
    Request Type = Delete with  "AND" condition
    2 - Non-SAP initiator:
    Non SAP application 1 with "OR" condition
    Non SAP application 2 with "OR" condition
    Non SAP application 3 with "OR" condition
    Request Type = Delete with  "AND" condition
    When I create a request to Delete a user with SAP app and Non SAP app I get the error:  "Error in creating request. Multiple Initiators, [NON SAP DELETE, SAP DELETE] Found."
    Based on what I am reading on p. 58 of the AE52ConfigGuide.pdf, this should be possible to do.  Does anyone have any suggestions?

    This is my understanding.,
    A request cannot have more than one initiator. You cannot trigger multiple initiators for one single request. In your case both attributes SAP & Non SAP application are given with OR condition which makes both the initiators alike. As mentioned in the documentation the request for deletion can be made to happen in both SAP & Non SAP application by having forked path (for this the initiator should be OR Application SAP OR Non SAP Application AND Request Type Delete). Given the other option then it should have different initiator for SAP and Non SAP applications by giving them with AND condition.

  • Parallel processing for increaing the performance

    various ways of parallel processing in oracle especially using hints
    Please let me knw if there exists any online documentation in understanding the concept

    First of all: As a rule of thumb don't use hints. Hints make programs too unflexible. A hint may be good today, but might make things worse in future.
    There are lots of documents available concerning parallel processing:
    Just go to http://www.oracle.com/pls/db102/homepage?remark=tahiti and search for parallel (processing)
    Due to my experience in 10g, enabling parallel processing might slow down processing extremely for regular tables. The reason are lots of waits in the coordination of the parallel processes.
    If, however, you are using parallel processing for partitioned tables, parallel processing works excellent. In this case, take care to choose the partitioning criterion properly to be able to distribute processing.
    If, for example, your queries / DMLs work on data corresponding to a certain time range, don't use the date field as partitioning criterion, since in this case parallel processing might work on just a single partition. Which again would result in massive waits for process coordination.
    Choose another criterion to distribute the data to be accessed to at least <number of CPUs -1> partitions (one CPU is needed for the coordination process). Additionally consider to use parallel processing only in cases where large tables are involved. Compare this situation with writing a book: If you are planning to have some people writing a (technical) book consisting of just 10 pages, it wouldn't make any sense at all concerning time reduction. If, however, the book is planned to have 10 chapters, each chapter could be written by a different author. Reducing the resulting time to about 1/10 compared to a single author writing all chapters.
    To enable parallel processing for a table use the following statement:
    alter table <table name> parallel [<integer>];If you don't use the <integer> argument, the DB will choose the degree of parallelism, otherwise it is controlled by your <integer> value. Remember that you allways need a coordinator process, so don't choose integer to be larger than <number of CPUs minus 1>.
    You can check the degree of parallelism by the degree column of user_/all_/dba_tables.
    To do some timing tests, you also can force parallel dml/ddl/query for your current session.
    ALTER SESSION FORCE PARALLEL DML/DDL/QUERY [<PARALLEL DEGREE>];

  • I cannot see the option for face time of open and close in iphone 4s

    Plzzz tell me no facetime option for on and off is nott comming in settings help me plzzz

    There is no FaceTime app for the iPhone if that's what you're asking.  FaceTime is accessible through your Contacts as one of the options in how to contact a person -- there is no standalone FaceTime app for iPhone.
    If you mean how to disable FaceTime, you can do that in Restrictions (Settings/General/Restrictions).

  • Needing a multi-month and year-in-view option for ical!

    Hello all!
    I could really use a multi-month and year-in-view format in ical... I've seen some dated posts - is anyone aware of any new developments/options for this?
    thanks and peace-
    DW

    I turn off all calendars but the birthdays. Select [Print]. Choose all the months you want to see. Deselect all calendars but birthdays. Click [Continue]. On the next menu, go to "Layout", select how many pages to print on the paper. I usually print a border around each calendar then you're good to go!
    By only printing the birthdays calenar, you won't get too many appointments to get in the way of brain storming and future planning, yet the computer still thinks its printing a useful calendar.

  • BODS : Datastore options for SAP R/3 - need clarity for use

    Hi All.
    Another request to understand the datastore optiono n BOXI 3.1 BODS existing installation.
    We are trying to pull a new table from SAP R/3 into BODS and we find that ABAP program is not getting generated as expected. And terminates. When we tested a simple workflow.
    While creating a new datastore for SAP R/3 Source :
    When we look at the datastore we find the following options for R3 Source ;
    ABAP Execution option :
    Execute preloaded
    Generate and execute
    Under data transfer method we find ;
    Shared directory
    Direct download
    FTP
    Custom transfer
    Then we have working directory on sap server
    local directory
    generated ABAP Directory
    Am testing a simple workflow of pulling data from SAP R/3 in a dev machine.
    But am not understanding.
    which option of ABAP Execution, and data transfer , path would work in co-ordination.
    Because when i say direct download and say generate and execute it throws error.
    Can anyone help me with combinations of the options to choose for a R/3 source. And the implications thereof.
    I had created a folder under local bods server D:\Bodi. And given the path for data transfer.
    But the files are not getting generated for whatsoever reasons.
    Any advise on this would be helpful.
    Also found a bit unusual, that there was no button to test the connection to be correct or not, a TEST connection button is not there. Which i felt, could be included.
    Note : on the existing production system, we have chosen execute preloaded; shared directory on sap server. and shared that folder path for the user and given full rights. But while we try to do the same on the dev machine a test before transporting on production, a simple workflow does not work.
    would like to know what settings on sap server, really affect the data store options on the BODS
    thanks
    indu
    Edited by: Indumathy Narayanan on Jul 19, 2011 4:14 PM

    Indeed, BODS <> SAP connectivity can be tricky.
    For a development environment, I suggest you select the option "Generate and execute" for your "ABAP Execution Option." What this means is that DS will create, on the fly, small-ish ABAP programs. These ABAP programs will be written, in plain text, to a local directory on the DS job server, in the folder specified in "Generated ABAP Directory".  You can see them in there after an attempted job execution, assuming the job involves the creation of an ABAP program.  The ABAP program name is specified in the properties of an ABAP data flow, under Options > ABAP Program Name.  If you can't, perhaps the DS job server process doesn't have full rights to that folder - ?  After being generated on-the-fly, they'll be transferred to SAP to execute.  The SAP user you use to connect to SAP must have sufficient rights to upload-and-execute these ABAP programs, and that's a fairly substantial set of rights. What's required is documented in the BODS supplement for SAP. Often, to get things running, your friendly local Basis admin will grant SAP_ALL to the DS user, to see what rights are being invoked.
    Once all that jazz is working, you need to get the data back. There are a number of ways to do this. The method of data transfer is specified in "Data transfer method," where, ignoring "Custom transfer," you have three choices:
    1) Direct Download: easiest and slowest.  This method tells SAP to attempt to stick data in the client-side folder specified in "Local directory." Try this first.
    2) Shared folder: This is recommended when you have SAP being hosted on a Windows box. Basically: you set "Working directory on SAP Server" and "Data Services path to the shared directory" to point to the same folder.  SAP uses the "Working directory on SAP Server" to find this folder, and DS uses the other setting. So, for instance, if you were going to use the Shared folder method, you could set "Working directory on SAP Server" to "E:\BODS_Transfer", and, assuming E:\BODS_Transfer was shared-out as "BODS_Transfer", you could set "Data Services path to the shared directory" to
    dev12.somecompany.com\BODS_Transfer .  Then, you'd need to setup all the relevant security, as both SAP and DS need rights to read and write files in this folder.
    3) FTP (this is the method I usually use): SAP writes the "transport files" you're after (i.e., the data) in the folder specified in "Working directory on SAP Server". Then, you need to establish ftp connectivity to that folder from the DS job server's perspective, which you do by entering the ftp host name and the path to that folder in "FTP host name" and "FTP relative path to the SAP working directory".  In my opinion, the "relative" business is a little confusing, and I just typically enter the full ftp path, beginning the path w/ a forward slash, like "/usr/sap/tmp/BOBJ" or something like that.  You also need to obtain a separate username and password for the ftp connectivity. Note that this name and password has NOTHING to do with the SAP username and password; you're just setting-up DS to act as an ftp client. I strongly encourage you to test ftp connectivity by using a regular ftp client from the DS job server and attempt to connect to your ftp host using the username and password you were given, and attempting to fetch some sample test file. If you can't do this, manually, then DS won't be able to do it, either.
    Best wishes,
    Jeff Prenevost

  • Can't see pricing options for Creative Cloud. :'(

    Two things, Adobe:
    1. When I try to click the "See All Plans" button on this page (Cloud-based software and services for creatives | Adobe Creative Cloud) I'm taken to a blank page (except for the unhelpful footer). The error console on my browser says there are a couple of errors, which are usually where this comes from.
    plans:237 -- ReferenceError: Can't find variable: s
    test_and_target.js:1:132 -- ReferenceError: Can't find variable: mboxDefine
    I would love to see the pricing options for this service that you've built into all of your applications, but apparently I can't.
    2. Apparently the forum is the only way to tell you guys about technical problems?

    Hi ChristofferLu,
    Please refer the knowledge base article: http://helpx.adobe.com/creative-cloud/help/cc-desktop-download-error.html.
    Regards,
    Romit Sinha

  • Error when creating index with parallel option on very large table

    I am getting a
    "7:15:52 AM ORA-00600: internal error code, arguments: [kxfqupp_bad_cvl], [7940], [6], [0], [], [], [], []"
    error when creating an index with parallel option. Which is strange because this has not been a problem until now. We just hit 60 million rows in a 45 column table, and I wonder if we've hit a bug.
    Version 10.2.0.4
    O/S Linux
    As a test I removed the parallel option and several of the indexes were created with no problem, but many still threw the same error... Strange. Do I need a patch update of some kind?

    This is most certainly a bug.
    From metalink it looks like bug 4695511 - fixed in 10.2.0.4.1

  • How do I use my iPad with Retina Display model MD514LL/A with apple tv? I see no option for airplay and I have the latest update.

    I am having trouble mirroring my ipad with my new apple tv. I don't see any options for airplay. Any suggestions would be greatly appreciated. Thanks!

    Is your apple tv also up to date?
    Are they both on the wireless network, or is the apple tv using an ethernet cable?
    Reboot your wireless router, your apple tv, and your ipad, in that order.

  • Is there a key on the MacBook Pro to toggle display options for a projector

    I have had some difficulty getting my InFocus projector to consistently work correctly with my MacBook Pro. Is there a key on the MacBook Pro that toggles the options for projector display? There was one on my last MacBook and my previous PowerBook.
    Thanks -
    Dudley Warner

    No, there is no longer a key to control external display modes (it's F7 on my 1st gen MBP, but the option was removed along with the embedded numeric keypad in the Early 2008 models). There's not a substitute keyboard shortcut (with the exception of installing a macro player like Keyboard Maestro). Your main option is System Preferences > Displays (as stated, ticking the box to show Displays in the menu bar provides a helpful shortcut).

  • Set maximum size in Text Form Field Options for a field in bi publisher RTF

    Hi All,
    How to set maximum size in Text Form Field Options for a field in bi publisher RTF.
    I have a RTF whch is having a field in that i need to add some validation condition but after adding certain condition in Add help text tab ,it is not accepting after certain length, how i can increase the length to unlimited,please help me on this
    Thnaks

    Form fields have some restrictions if your are using version lower than 11g.
    They can accommodate only 393 chars. You can add the text in both status bar and help key, which can in total consume 393 chars.
    If your code logic is more than that, it can be split into multiple form fields as Avinash suggested or you can use sub template logic and handle coding over there. Again in sub template code can be within/outside form fields.
    So there is no option for user to increase the size of form field.

Maybe you are looking for

  • Error while running sql queries..

    Hi there, We are suppose to run gather schema stats.. but while running the procedure we are getting following error.. gather_schema.sql: exec fnd_stats.gather_schema_statistics('CMWCONN'); exec fnd_stats.gather_schema_statistics('CMW'); exec fnd_sta

  • Transformer exception while transforming BEx Web templates

    Hello, when opening the web application designer or calling a web template in the browser the error Transformer exception while transforming BEx Web templates occours. I found several hints in the forum like solving the problem with the SAP NetWeaver

  • Blocking g/l accounts

    Hi, Experts can u explain the variations of these blocking levels. when we use FS00 and click on lock you have two tabs there i. Block in chart of account (a) Blocked for creation : (b) Blocked for posting: if i click this check box it will block for

  • Vendor Master Activity

    I want to clean up our Vendor Master File. I need to get a list of all Vendors with no activity over the last 3 years. It's seems this would be a standard report but I do not see one that meets this needs. How do I get  a list of Vendors that can be

  • Released Credit Value on a sales order is showing 0.00

    Hi When I create and save a sales order, the released credit value (VBAK-AMBTL) is intermittently showing up as 0.00 when I look up in VBAK table. Can someone let me know why the credit value is 0.00? Please guide me on what to look for. Regards, Vic