What is a Parallelized statement....

In the topic of Restrictions on Functions...
it provides.... when called from a SELECT statement or parallelized UPDATE or DELETE statement, the function cannot query or modify any database tables.
What is meant by Parallelized UPDATE or DELETE Statement?
Please explain it with an example.
Thanks
Ankur R
http://ankurraheja.tripod.com

There is a section in the Application Developer's Guide on parallel query http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96590/adg10pck.htm#20844.
One way of creating a parallelized statement is to use the PARALLEL hint, though the link above goes into others.
UPDATE /*+ PARALLEL */ <<myTable>>
  SET <<column name>>=<<value>>Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • What is largest solid state drive I can install in MacBook Pro 8,2?  I want to perform a clean install of Mavricks and dump my old hard drive.

    What is largest solid state drive I can install in MacBook Pro 8,2?  I want to perform a clean install of Mavricks and dump my old hard drive.

    If the bank account permits, I suggest getting a 1 TB SSD anyway.  One cannot have too much storage. 
    Unless you are having issues with your current installation, a 'clean' install is not necessary.  It would be more efficient to clone your current drive to the new SSD, test it, and then do the swap.  The installation of Mavericks over Snow Leopard can be done either before or after the cloning process.
    Ciao.

  • Where and what type of solid state drive should I buy for my early 2008 Mac Pro Desktop??

    where can I buy and what type of solid state drive should I use to upgrade my early 2008 Mac Pro Desktop??

    Rick,
    When you get a chance.... DSLReports is off line: their SQL server decided to take its indexes and access to data. Power. Not enough of the right kind of UPS. Same happened to StorageReview's "Drive Reliability Database" about 8-9 yrs ago.
    dslreports.com is offline
    Fri Apr 20 09:05:55 EDT 2012
    SSD: Loading CS5 plus other little monsters might matter.
    Lots of small I/Os
    latency of 1/100th where nanoseconds replace those "long" milliseconds
    System: Small and fast.
    DLLoyd even goes for short-stroking drives to get and maintain highest I/O
    The new 10k VRs hit 200MB/sec - I still use them and still find them useful, long lasting, feel responsive with whatever I ask of them. I know they get criticized and "cost too much"
    Just bought a new WD Black and yes it is better than the 2008 model I was using.
    600GB 10K $200 vs $150-220 for WD Black. your choice
    I can destroy a 7.2k drive, I have brought ever 10K drive back after a simple WD Extended Test in Lifeguard.
    I don't really care about $$/GB or I wouldn't have just bought Intel 128GB $149
    Database: the pros put the index in memory and page fix (virtual volumes in memory; cache; hold disk drive index in memory). Caching storage has been around for almost 40 yrs.
    Today you can use SSDs as front end cache to hold DB indexes and frequent data for web servers and such adn use slower secondary storage.
    SSD + SAS + 4TB storage
    Separating the system from data: #1 must
    Having data on array: been what I use
    I put a large photo library on 2 x 10K VRs vs SSD and couldn't tell much difference (SSD is soundless of course) But my WD Blacks make as much noise and run 15*C hotter than those 10K (not what you expect?)
    While 10K and 7.2K are in the 140-180MB/sec range, they are in 3.0 to 12.0 ms seeks, not  0.01 ms.
    People wonnder why shrink a drive to 2.5" (or why not go down to 1.8".
    How long does it take to reposition a disk head? how often? the 10K VR travels on outer tracks at 70 MPH. Really trying to fly off into space.
    It uses one step to find the "zip code" and then another DSP to find the "house."
    True of any high density perpendicular recording mechanism.
    And of course while the Raptor-X tried to find a home with famers, Cheetah buyers, the WD 10K line has more of a home where servers and small form factor drives - and 100s of them - can fit in a rackmount server I imagine.
    Anyway.... if SR and DSLReports can drop out of site due to power and hardware failure and loss... we can learn some and hope to protect our own data and investments.

  • Please explain on what does these select statements get from these tables..

    Hello Experts,
    What does these select statements get?and what are these tables CDHDR and CDPOS used for?
    The program that I am currently modifying lets users post documents and the ones that are not posted
    are saved in a custom table. Now, we had a scenario in PROD server wherein certain items are not being
    fetched as bypassed but we saved it in the bypassed table. Anyway, below is the select statements:
    get all change document header within the selected dates
      SELECT * INTO CORRESPONDING FIELDS OF TABLE it_cdhdr
        FROM cdhdr
       WHERE udate IN s_udate
         AND objectclas EQ 'CHARGE'
         AND tcode IN (lc_tcode_msc1,
                       lc_tcode_msc2,
                       lc_tcode_msc1n,
                       lc_tcode_msc2n,
                       lv_tcode_vl33n,
                       'SE38',
                       'ZGENE').
    IF NOT it_cdhdr[] IS INITIAL.
    SELECT objectid changenr value_new
          FROM cdpos
          INTO TABLE it_cdpos
          FOR ALL ENTRIES IN it_cdhdr
         WHERE objectclas EQ it_cdhdr-objectclas
           AND objectid   = it_cdhdr-objectid
           AND changenr   = it_cdhdr-changenr
           AND tabname    = lc_tabname_mcha
           AND fname     IN (lc_fname_zustd,'LWEDT').
    DELETE it_cdpos WHERE value_new+00(01) = 'X'.
      LOOP AT it_cdpos ASSIGNING <fs_cdpos>.
        l_matnr = <fs_cdpos>-objectid+00(18).
        l_charg = <fs_cdpos>-objectid+22(10).
        l_zustd = <fs_cdpos>-value_new+00(01).
        READ TABLE it_batch INTO wa_batch
             WITH KEY matnr = l_matnr
                      charg = l_charg.
        IF sy-subrc EQ 0.
          l_tabix = sy-tabix.
          wa_batch-zustd = l_zustd.
          MODIFY it_batch FROM wa_batch INDEX l_tabix
                 TRANSPORTING zustd.
        ELSE.
          wa_batch-matnr = l_matnr.
          wa_batch-charg = l_charg.
          wa_batch-zustd = l_zustd.
          wa_batch-code  = 'A'.              "selected within period
          APPEND wa_batch TO it_batch.
        ENDIF.
      ENDLOOP.
      ENDIF.

    Hi,
                            The first select statement is for Change document header.CDHDR table contains this object class in your case if you change any batch number for any material number  from the transaction for example (MB01) you can trace this .
    From CDPOS you can trace which tables affected (EX : MCHA) and the new value(l_zustd ).
    Regds,
    Vinsa.R

  • What is the request state value to shutdown VM using hyper-v?

    As we know request state value 3 is used to turnoff VM , what is the request state value to shutdown hyper-v VM ? Is there any different ways to shutdown hyper v VM using C# wmi?
    Regards
    Venki

    This forum is for Windows Embedded Standard 8. Please post to the hyper-V forum is here:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverhyperv
    www.annabooks.com / www.seanliming.com / Book Author - Pro Guide to WE8S, Pro Guide to WES 7, Pro Guide to POS for .NET

  • What is a customer statement and when do we use it?

    Hi,
    What is a customer statement and when do we use it? An example in terms of business scenario would surely help me.

    Hi,
    In business sense Customer statment is the list of  transactions that were executed over a period of time.
    When ever customer buys the material from the company bill is generated and the same is debited to his account.
    whenever customer pays the amount to the company, the amount will be credited to his account.
    So the Customer statment will have the list of DEBIT and CREDIT entries.
    There will be Reconciliation for every quarter with the customer by the company sales executive and related price, discounts, freight which might be excess or less will be settled

  • How check what kind od SQL statement procedure do

    I would like to check what kind of sql statement type (DML, DDL , Retrive) procedure do on objects.
    is it possible?

    You could try to parse the SQL in DBA_SOURCE for the procedure in question, but that probably doesn't help much...
    Note as well that procedures cannot do DDL unless they resort to dynamic SQL, in which case Oracle itself doesn't know what objects you're working with and what you're doing with them until runtime.
    Justin

  • Parallel Statement Queueing

    I know that parallel statement queueing is enabled when you use automatic degree of parallelism. I am trying to identify if it is possible to use parallel statement queueing without using auto DOP. My current environment does not use auto DOP and I was looking to use queueing to solve a performance variance issue I am seeing. I will submit a request to support as well but I wanted to see if anyone had any experience with doing this or if it was even possible. Thanks for your time.

    According to Oracle documentation advanced features of parallel execution such as automatic DOP, statement queuing and in-memory parallel execution depend on the value of PARALLEL_DEGREE_POLICY parameter. Statement queuing is only available if the parameter set to AUTO.
    Here is the [url http://docs.oracle.com/cd/E11882_01/server.112/e25523/parallel002.htm#CIHEFJGC]document.
    Since automatic DOP itself depends on many other factors to work (such as DEFAULT degree set for the objects) it's theoretically possible to use queuing and still explicitly specify DOP for majority of the objects through either hints of parallel degree property.
    Hope it helps.

  • I have a Mac desktop OSX Version 10.7.4  upgraded to Lion to use iCloud.  Now my Parallels Desktop 5 for Mac/Build 5.0.9376 using Windows 7 does not open.  What upgrade of Parallels do I need to make this work?

    I have a Mac desktop OSX Version 10.7.4  upgraded to Lion to use iCloud.  Now my Parallels Desktop 5 for Mac/Build 5.0.9376 using Windows 7 does not open.  What upgrade of Parallels do I need to make this work?  Or what do I need to do at this point?

    Thank you Shootist007.  I appreciate it!

  • How to find what  are the select  statements fired on a particular schema

    Hi Guys,
    I have a development box schema whose username and the password is shared across many users who are doing the developement.
    I wnat to know what are the select statement fired on it during a particular time interval.
    Thanks,
    Prafulla

    with dba user
    BEGIN
    DBMS_FGA.ADD_POLICY(object_schema => 'schemaname',
    object_name => 'CALLS',
    policy_name => 'CALLS_AUDIT',
    statement_types => 'SELECT'
    …enable => TRUE);
    END;
    then all select are viewed on table dba_fga_audit_trail
    Edited by: Adigozalov Gurban on Dec 3, 2010 11:05 AM

  • Proper using of index for parallel statement execution

    Hi all,
    I've created index for my table
    CREATE INDEX ZOO.rep184_med_arcdate ON ZOO.rep184_mediate(arcdate);It was before I started to think about parallel statement execution. As far as I've heard I should alter my index for proper using with parallel hint. Could you please suggest the way to go?

    marco wrote:
    Hi all,
    I've created index for my table
    CREATE INDEX ZOO.rep184_med_arcdate ON ZOO.rep184_mediate(arcdate);It was before I started to think about parallel statement execution. As far as I've heard I should alter my index for proper using with parallel hint. Could you please suggest the way to go?when all else fails Read The Fine Manual
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/sql_elements006.htm#autoId63

  • What exactly continue & return statement does

    Hi All,
    Here i what to know what exactly continue & return statement does?Pls. do explain with an example for each.
    Thanx,
    M.Ananthu

    In this example, break would do the same thing that return does.
    import java.awt.*;
    import javax.swing.*;
    public class demo {
      static String[] strings = {
        "", "Mary", "had", "", "a", "test", "little", "lamb"
      public static void main(String[] args) {
        for(int j = 0; j < strings.length; j++) {
          if(strings[j].equals(""))
            continue;
          System.out.println(strings[j] + " ");
          if(strings[j].equals("test"))
            return;
    }

  • What is the Extract statement? Please give me some sample code.?

    What is the Extract statement? Please give me some sample code.?

    Hello ,
    Once you have declared the possible record types as field groups and defined their structure, you can fill the extract dataset using the following statements: EXTRACT . When the first EXTRACT statement occurs in a program, the system creates the extract dataset and adds the first extract record to it. In each subsequent EXTRACT statement, the new extract record is added to the dataset EXTRACT HEADER. When you extract the data, the record is filled with the current values of the corresponding fields. As soon as the system has processed the first EXTRACT statement for a field group , the structure of the corresponding extract record in the extract dataset is fixed. You can no longer insert new fields into the field groups and HEADER. If you try to modify one of the field groups afterwards and use it in another EXTRACT statement, a runtime error occurs. By processing EXTRACT statements several times using different field groups, you fill the extract dataset with records of different length and structure. Since you can modify field groups dynamically up to their first usage in an EXTRACT statement, extract datasets provide the advantage that you need not determine the structure at the beginning of the program.
    Sample program:
    REPORT  ZSPFLI  LINE-SIZE 132 LINE-COUNT 65(3)
                                                 NO STANDARD PAGE HEADING.
    TABLES:SPFLI,SCARR, SFLIGHT, SBOOK.
    SELECT-OPTIONS: MYCARRID FOR SPFLI-CARRID.
    FIELD-GROUPS: HEADER, SPFLI_FG, SFLIGHT_FG, SBOOK_FG.
    INSERT:
            SPFLI-CARRID
            SPFLI-CONNID
            SFLIGHT-FLDATE
            SBOOK-BOOKID
           INTO HEADER,
            SPFLI-CARRID
            SPFLI-CONNID
            SPFLI-CITYFROM
            SPFLI-AIRPFROM
            SPFLI-CITYTO
            SPFLI-AIRPTO
            SPFLI-DEPTIME
            SCARR-CARRNAME
          INTO SPFLI_FG,
            SFLIGHT-FLDATE
            SFLIGHT-SEATSMAX
            SFLIGHT-SEATSOCC
            SFLIGHT-PRICE
          INTO SFLIGHT_FG,
            SBOOK-BOOKID
            SBOOK-CUSTOMID
            SBOOK-CUSTTYPE
            SBOOK-SMOKER
           INTO SBOOK_FG.
    SELECT * FROM SPFLI WHERE CARRID IN MYCARRID.
      SELECT SINGLE * FROM SCARR WHERE CARRID = SPFLI-CARRID.
      EXTRACT SPFLI_FG.
      SELECT * FROM SFLIGHT
       WHERE CARRID = SPFLI-CARRID AND  CONNID = SPFLI-CONNID.
        EXTRACT SFLIGHT_FG.
        SELECT * FROM SBOOK
               WHERE CARRID = SFLIGHT-CARRID AND
               CONNID = SFLIGHT-CONNID AND FLDATE = SFLIGHT-FLDATE.
          EXTRACT SBOOK_FG.
          CLEAR SBOOK.
        ENDSELECT.
        CLEAR SFLIGHT.
      ENDSELECT.
      CLEAR SPFLI.
    ENDSELECT.
    SORT.
    LOOP.
      AT SPFLI_FG.
        FORMAT COLOR COL_HEADING.
        WRITE: / SCARR-CARRNAME,
                 SPFLI-CONNID, SPFLI-CITYFROM,
                 SPFLI-AIRPFROM, SPFLI-CITYTO, SPFLI-AIRPTO, SPFLI-DEPTIME.
        FORMAT COLOR OFF.
      ENDAT.
      AT SFLIGHT_FG.
        WRITE: /15 SFLIGHT-FLDATE, SFLIGHT-PRICE, SFLIGHT-SEATSMAX,
                   SFLIGHT-SEATSOCC.
      ENDAT.
      AT SBOOK_FG.
        WRITE: /30 SBOOK-BOOKID, SBOOK-CUSTOMID,
                     SBOOK-CUSTTYPE, SBOOK-SMOKER.
      ENDAT.
    ENDLOOP.

  • What is IMPORT/EXORT statements ?please give some example code?

    What is IMPORT/EXORT statements ?please give some example code?

    EXPORT :-To read data objects from an ABAP program into ABAP memory, use the following statement:
    Syntax
    EXPORT <f1> [FROM <g 1>] <f 2> [FROM <g 2>] ... TO MEMORY ID <key>.
    This statement stores the data objects specified in the list as a cluster in memory. If you do not use the option FROM <f i >, the data object <f i > is saved under its own name. If you use the FROM <g i > option, the data objet <g i > is saved under the name <f i >. The name <key> identifies the cluster in memory. It may be up to 32 characters long.
    The EXPORT statement always completely overwrites the contents of any existing data cluster with the same name <key>.
    IMPORT :-To read data objects from ABAP memory into an ABAP program, use the following statement:
    Syntax
    IMPORT <f1> [TO <g 1>] <f 2> [TO <g 2>] ... FROM MEMORY ID <key>.
    This statement reads the data objects specified in the list from a cluster in memory. If you do not use the TO <g i > option, the data object <f i > in memory is assigned to the data object in the program with the same name. If you do use the option, the data object <f i > is read from memory into the field <g i >. The name <key> identifies the cluster in memory. It may be up to 32 characters long.
    You do not have to read all of the objects stored under a particular name <key>. You can restrict the number of objects by specifying their names. If the memory does not contain any objects under the name <key>, SY-SUBRC is set to 4. If, on the other hand, there is a data cluster in memory with the name <key>, SY-SUBRC is always 0, regardless of whether it contained the data object <f i >. If the cluster does not contain the data object <f i >, the target field remains unchanged.
    they are used to save and reterive data in ABAP memory.
    here is an example to clear about them.
    <b>REPORT ZWA_TEST2 .
    data: it_bkpf type table of bkpf with header line.
    SELECT * FROM bkpf into table it_bkpf.
    EXPORT it_bkpf TO MEMORY ID 'MID'.
    refresh it_bkpf.
    IMPORT it_bkpf FROM MEMORY ID 'MID'.
    LOOP AT It_bkpf.
    write:/ it_bkpf-belnr.
    ENDLOOP.</b>
    Reward points if it is useful.......

  • What is the 'U' state in process listings from 'ps'

    Argh argh argh argh argh.
    Right.
    So I am using two Mac OS X Server 10.3.9 boxes (xServes) as backup machines, one for an office and one for a colo site. Work great with some custom scripts to do the heavy lifting, and it all calls rsync, which works like a champ. Except twice now, the backups have finished copying all the files, and then the last rsync (the big one) hasn't exited properly. Or, rather, it hasn't exited at all. If I do a 'ps', it appears in the process listing with a status of 'U', which isn't even listed in the manual page for ps.
    rsync 1 has a parent of my backup script
    rsync 2 has a parent of rsync 1
    rsync 3 has a parent of rsync 2
    If I kill rsync 1, nothing happens. If I kill -HUP rsync 1, nothing happens. If I kill -9 rsync 1, NOTHING HAPPENS.
    If I kill rsync 2, rsync 3 dies. If I kill -HUP rsync 2 (after rsync 3 is gone), nothing happens. If I kill -9 rsync 2, it turns into a zombie process.
    I don't know what happens if I kill rsync 3.
    If I kill the parent process to rsync 1, I don't get any of the useful information about what went wrong and what didn't in my backups. The frustrating thing is, before it got into this wedged position, it FINISHED EVERYTHING. So I'm getting notifications that my backup didn't work, when it did, and not getting notifications of the two (minor) errors that DID occur.
    Sometimes I hate computers.

    Adam,
    it mean that the process is in the kernel, and waiting on some event. And is ignoring any interruptions like signals. Which is the kill command isn't getting the processes attention. It's possible that the process may resume at some point or not. if the process doesn't switch back to a user context, then the only way to get rid of the it, and thus free the resources that it's using, would be a system reboot.
    Andy
    from the ps(1) manpage.
    state The state is given by a sequence of letters, for example,
    ``RWNA''. The first letter indicates the run state of the
    process:
    I Marks a process that is idle (sleeping for longer than
    about 20 seconds).
    R Marks a runnable process.
    S Marks a process that is sleeping for less than about 20
    seconds.
    T Marks a stopped process.
    U Marks a process in uninterruptible wait.
    Z Marks a dead process (a ``zombie'').

Maybe you are looking for

  • ASA 5505 switch from Mode: access Port to Trunk on the fly via CSM ?

                       Hi Can I configure the Port at the ASA 5050 from Mode: access Port to trunk during the FW is running in a production area without console access ? As I know at the 5505 ist should work sincerley Alfred

  • Short cut for copying a cd or dvd data disk?

    Is there a keyboard shortcut for copying a data disk, CD or DVD? I know I can create a folder, then copy all the data off a CD or DVD into that folder and effectively get the same thing, but I was wondering if there was a one keyboard keyboard shortc

  • Convert U16 to scaled data

    Hello, I'm using DAQmx Read  (Analog 2D U16 NChan NSamp) to read from USB 6009. However, i need to scale the voltage values and calculate the RMS values on each interation. I must write it in I16. I've tried a lot of things but none worked! Thanks At

  • Invalid WSDL - Certificate not trusted - Exception while publishing WSDL in OSR from HTTPS Server

    Hi, I am publishing a Web Service in OSR from an HTTPS Server. I am getting exception as Error message: WSDLException: faultCode=INVALID_WSDL: java.io.IOException: java.security.cert.CertificateException: Server certificate ....... is not trusted! To

  • Images not showing on my own domain.

    Hi, I have started building a site with Muse for the first time. I have only made a very simple page to learn and test with. I have noticed that whenever I upload the site to my own domain (www.dalegoodridge.com), that I cant see the images. I have u