creation of parallel threads

Hi guys,.

I want to create a parallel thread with an inside .VI. How can I create one and how to set the priority and the time interval. This .VI checks whether a device is present alwayz. I want that this thread started after a while.

Hello

You can use a sequence of call (put the VI inside) and set up the call in the sequence to run in a separate thread (Module - implementation Option - use new Thread)

AshwiN,

Tags: NI Software

Similar Questions

  • Pass the Boolean b/t parallel threads

    Dear Board of Labview,

    I have two Labview processes running in parallel.   Entering the data and the other data output are done.   They where originally designed to operate independently of the other, but today I need them to make some modest integration.   The two processes are very complex, so I would avoid a costly reconstruction.   I am looking for a quick fix and dirty.

    I need #1 process (which is loop based) temporarily hold the execution based on a condition (Boolean flag) process #2.   I'm not familiar with the techniques of parallel processing in labview, and I wonder if I'm doing this more difficult it really is.   Can I put a wait loop in a process which refers to an indicator in another process?   What is the best way to pass Boolean data between parallel threads?

    Thank you

    Zach

    That vi is perfect.

    In your case by using a variable is probably correct. But do not use a global - use a local! I would stay again far using variables-you never know what the future holds. Maybe you end up adding a few other loop. Maybe you want to add error checking and loops to stop on error of the signal.

    There is a significant difference between Globals functional and just a simple variable. Since the FG is a vi that one instance can run at a time *. With a variable, you have no way of knowing which is written or read what or when, unless you use semaphores or structures from sequence.

    * unless you make it reentrant

  • How to use notification with parallel thread

    Hello

    I'm learning to use Notification for communication between threads. I still don't know how to use it. In my current project, I have a case to use it so I think I should implement this technique. This is my example I have a main sequence that I make a new thread. What I want, this is the new thread will make a task A when receive a notfication or out the thread when to stop the main sequence.

    I don't know if using notification is advised here? Or do I have to use a reference data?

    What if I want my son to task B if it receives another notification. Notification is always be useful?

    Kind regards

    Thang Nguyen

    That's right, you can call the Notification - game directly from the MainSequence indeed.

    Here is an example: the StopProcessA sequence is not absolutely necessary - it's just for purposes of modularity.

    Best regards

  • Execution of sequential operations to parallel groups of Threads

    I have the following scenario, which must be changed as soon as possible:
    1. a group of sequential threads runs (contains 3-wire)
    2. a sequential group of other threads is running (contains 2-wire)
    3. a group of parallel threads is running (contains 9 wires such as producers and consumers of threads applied properly)

    Why I created this scenario?
    To run a particular thread first (point-1: containing 3-wire), after their treatment is done I needed to run another 2-wire (point-2: containing 2 wires). If and only if 1 and 2 points are covered, I required to deal with-3 points.

    Initially, I required to run all threads for parallel operations, but I left this idea that parallel threads are run simultaneously.

    For the situation described above everything works smoothly until there was a problem.

    Why do I need to change the above scenario?
    Sometimes, I get an Exception that can be handled well in the case of parallel threads. While the same Exception if I get in the sequential threads that becomes unmanageable. Since then, all other sequential treatments of threads comes under condition of waiting until the end of the first.


    So, I need to take advantage of the parallel threads, but I chose this path to be easy which became difficult to handle the situation for the application.
    So, I need to create such a scenario, in which I need to run different parallel threads for a fixed order. For example:
    Order-1 = process the first 3 parallel threads
    Order-2e = process 2 parallel threads
    Order-3e = process the next 9 parallel threads

    Also, the above case is somewhat limited, although I need a generic solution for this. As if in the future, I want to add more than 2-wire command-1 or if I remove still some discussions for any order must be execution of the sequence of groups as you want.
    Is it possible in java through which we can make a group of parallel threads that can be executed to order we can specify?

    I have the code snippet following, if you can help me to change:

    Level-1

    [] Thread = Thread [list1.size (new)];
    int j = 0;
    {for (List1.Size ())}
    Object delegator1 = new Object("Level-1");
    Thread th = new Thread (delegator1);
    discussions [j] = th;
    Th.Start ();

    j ++ ;
    }
    for (thread Threading: thread) {}
    thread. Join();
    }

    Level-2

    son = new Thread [list2.size ()];
    j = 0;
    {for (List2.Size ())}
    Object delegator2 = new Object("Level-2");
    Thread th = new Thread (delegator2);
    discussions [j] = th;
    Th.Start ();

    j ++ ;
    }
    for (thread Threading: thread) {}
    thread. Join();
    }

    Level 3 & 4-> producer-consumer applied using wait-notify works very well.

    {for(list3.) Size())}
    Object delegator3 = new Object ("level 3 & 4")
    Thread th = new Thread (delegator3);
    Th.Start ();
    }

    I want these different levels to run at the same time but if first level finishes off the second level must eventually runs.

    Published by: 990484 on February 26, 2013 09:45

    If you just want to wait for a set of threads end, for example, use a CountDownLatch in the main thread, initialized to the number of threads. The main thread waits then each thread to complete and to warn the latch.

    Repeat for the next series.

  • Operator interface customized to display the results of the multi-threads

    Dear OR Comunity.

    Let me describe my problem:

    TestStand test should be tested in PARALLEL, I need to use the model based on the parallel Model.seq.

    The steps in a test run of all the discussions had to be followed in the operator, such Interface shown on the image below (in a VI).

    Thank you for any recommendations!

    Just to answer the same question this morning:

    http://forums.NI.com/T5/NI-TestStand/TestStand-UI-SequenceView-control-and-parallel-threads/TD-p/319...

  • DBMS PARALLEL EXECUTE TASK NOT VISIBLE IN DATA DICTIONARY (don't no segmentation of data)

    Hi all

    I have a standard code we use for treatment using 'dbms_parallel_execute' in typical parallel
    dbms_parallel_execute.create_Task
    dbms_parallel_execute.create_chunks_by_rowid
    dbms_parallel_execute.run_task
    Get the status of the task and retry to resume processing

    But I'm not able to do it successfully in production env well I tested the same code on stage several times.

    I am not able to view task information in dba_parallel_execute_tasks then my work being performed in the production oracle database.

    It simply goes into retry section
    WHILE (l_retry < 2 AND l_task_status! = DBMS_PARALLEL_EXECUTE.) FINISHED)
    LOOP
    l_retry: = l_retry + 1;
    DBMS_PARALLEL_EXECUTE.resume_task (l_task_name);
    l_task_status: = DBMS_PARALLEL_EXECUTE.task_status (l_task_name);
    END LOOP;

    and coming up with this exception

    * ORA-06512: at "SYS." DBMS_PARALLEL_EXECUTE', line 458 ORA-06512: at
    'SYS. DBMS_PARALLEL_EXECUTE', line 494 ORA-06512: at "pkg_name.", line 1902
    ORA-29495: invalid state for the task of CV *.
    Except it seems something went wrong with the State of the task, but I suspect that the task is itself not having created and data are not getting stored in bulk for a specific table on this.


    * Have you encountered this any time during your codes. I'm really naïve what goes wrong. Why I am not able to see the task in these data
    Dictionary and why his does not address anything I am not able to see the information stored bulk when executing my work.

    Hi all

    For this question special chunking going on some how I wasn't able to see in Toad but even got read when I ran through sqlplus. Something strange with Toad.

    But the issue I debugged and found it to be a failure after the sequencing of the work in eight parallel threads.

    I got all the info related to these jobs when I ask dba_scheduler_job_run_details and find the State of the work "In FAILURE" with certain policies of Homeland Security has failed in background process which plans jobs where they are tracking call schema os and ip address. Then triggered demand ACL for this scheme and the fixed number.

    Hope that this info will be useful.

    Thank you

    Sunil

  • remove children HBox (multi-threaded)

    Hello

    I'm trying to use the work and Service classes for multithreaded processing in my application of javafx. But im quite confused on this issue.

    Here are the steps I follow:

    (1) I click one of my GUI button.

    (2) the Manager click Start a parallel thread (task) that runs a long treatment and complex. In the meantime the javafx thread ends and the GUI is released.

    (3) when the calculations are finished on the parallel thread, he changes the children on one of my GUI hbox.

    Here's the code I did.

    click_handler:

    [CODE]

    HBox = (HBox) vboxListInput.getChildren () .get (indexHbox) hboxResultat;

    TaskProcessWord < HBox > = new task task < HBox > () {}

    Protected @Override HBox call() throws Exception {}

    try {}

    Long and complex calculations.

    } catch (Exception e) {}

    log. Error (e);

    }

    Reset hbox

    MyHbox HBox = new HBox();

    Add nodes to hbox

    addInfosToHbox (myHbox);

    Return myHbox;

    }

    };

    hboxResultat = taskProcessWord.valueProperty () .get ();

    Thread th = new Thread (taskProcessWord);

    th.setDaemon (true);

    System.out.println ("Starting background task...");

    Th.Start ();

    [/ CODE]

    the code above produces no result. Can U help me?

    Two questions:

    1. when it is finished, your task affects the value of a new instance of the HBox, filled with nodes. Just attribute that to the same variable that allows you to add a different HBox in your graphic scene does not update the scene graph; you need to actually remove the old HBox (for example) and put another in his place.

    2. you call taskProcessWord.valueProperty.get () until the task is complete (in fact, before start the same). At this point, the value will be simply void. You must call this method, once the task has been completed: to do this, use Task.setOnSucceeded (...).

    If you want something like

    taskProcessWord.setOnSucceeded(new EventHandler() {
         @Override
         public void handle(WorkerStateEvent event) {
              vboxListInput.getChildren().set(indexHbox, taskProcessWord.getValue());
         }
    });
    

    After you create the task, but before start you.

    You will need to taskProcessWord and indexHbox final to make it compile.

    You might also want to consider having your task to return a list of instead, and call

    hboxResultat.getChildren().setAll(taskProcessWork.getValue());
    

    in your handler onSucceeded.

  • Council in parallel and enable parallel dml

    Hi team,

    I found the following code in our development. And I did not understand why must be given
    ALTER TABLE < tnm > ACTIVATE PARALLEL DML and also
    Suspicion of parallel in the DML.
        EXECUTE IMMEDIATE ('alter session enable parallel dml') ;
        DELETE /*+parallel(a,4) */     FROM Temp a ;
     
    The statement above with Alter command and parallel Hint improve the performance of DML.

    Please suggest me.
    Thank you

    If we want to execute DML instructions in parallel, that we must allow the parallel DML for the session.

    The statement above with Alter command and parallel Hint improve the performance of DML.

    Yes. N ° maybe. Sometimes.

    If parallelization (dread Word) makes things run faster depends on many things. The number of cores has your server. How many other processes use the system at the same time. If there is a reasonable plan to organize the parallel threads. Into the INITRANS of the table settings.

    Parallel SQL is an important area that has a lot to understand. The best place to start is with Doug Burns paper on the subject. [url http://oracledoug.com/px_slaves.pdf] Find it here (attention: PDF)

    Cheers, APC

  • Accelerate the expdp with PARALLEL work and the size of the settings FILE

    Every day we save 6 patterns with a total area of 80 GB.
    Oracle documentation, I think the PARALLELS servers work well when we split the dump file, because each slave process can work with a separate file.
    But I don't know how many parallel processes should be generated and the number of files this dump file must be split?

    The command expdp that we plan to use
    expdp userid=\'/ as sysdba\' SCHEMAS = schema1,schema2,schema3,schema4,schema5,schema6  DUMPFILE=composite_schemas_expdp.dmp LOGFILE=composite_schemas_expdp.log  DIRECTORY=dpump_dir2 PARALLEL=3
    Related information:

    11.2.0.2

    Solaris 10 (x86_64) on HP Proliant Machine

    8 CPU with 32 GB of RAM
    SQL > show parameter parallel
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    fast_start_parallel_rollback         string      LOW
    parallel_adaptive_multi_user         boolean     TRUE
    parallel_automatic_tuning            boolean     FALSE
    parallel_degree_limit                string      CPU
    parallel_degree_policy               string      MANUAL
    parallel_execution_message_size      integer     16384
    parallel_force_local                 boolean     TRUE
    parallel_instance_group              string
    parallel_io_cap_enabled              boolean     FALSE
    parallel_max_servers                 integer     32
    parallel_min_percent                 integer     0
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    parallel_min_servers                 integer     0
    parallel_min_time_threshold          string      AUTO
    parallel_server                      boolean     TRUE
    parallel_server_instances            integer     2
    parallel_servers_target              integer     32
    parallel_threads_per_cpu             integer     2
    recovery_parallelism                 integer     0

    resistanceIsFruitful wrote:
    But I don't know how many parallel processes should be generated and the number of files this dump file must be split?

    How many parallel processes you need, it's something you can figure out to run the tests against your db, but if you have parallel set to N, then you have at least N dump files in order to use fully all parallel threads spawned. We take backups using parallel = 6 and dumpfile is normally set to dumpfile=dbname.%u.dmp where oracle expands %u necessary if you do not explicitly list individual files.

  • Error creating an instance of an executable thread with

    I'm trying to create two instances of an executable thread, but get this error message (in Eclipse):
    "No GE4000 type enclosing instance is accessible. Must qualify the allocation with an instance of the enclosing type GE4000 (for example x.new A() where x is an instance of GE4000). »

    I don't understand any of this error.

    GE4000 is GE4000.java

    The error occurs here and is a protected static Boolean method.

    for (t int = 0; t < (int) cameraCount; ++ t) {}
    streamThreads [t] = new Thread (new CaptureStream (cameraHandle [t], [t] frameBuffers, frameCount basePath));
    }

    Class CaptureStream is defined:
    / public class CaptureStream implements Runnable {}
    the constructor is:
    CaptureStream (Pv.tHandle handle, Pv.tFrame [] cameraFrames, int, String basePath frameCount) {}

    Ironically, within the run of CaptureScreen method I do a similar creation of another thread without seeing an error.

    Edited: I've not nested and it works! Thank you

    Published by: Shellback3 on December 8, 2010 13:13

    I would recommend avoiding using inner classes or at least learn to use them before you use them in fact.

    Or do you really need to have CaptureStream as a class internal?
    In any case, that you try to create one in a static method, where no instance enclosing the outer class (GE4000) is available. So at the very least, you would need to make a static nested class.

  • Find the right Partition for swap Partiton when there are PARTITION and SUBPARTITION

    Hi all

    I have a small problem:

    I want to find the right cause of partitions of the partition key.  I have a partition and a Subpartition (sample - table in annex).

    I leave the database to generate the partition (and name), the name is generated. I need to find for the exchange of partition

    the right of Partition has cause of a given value of the partition key (in this case EVOD_PART_DATE and 20141101 value).

    When I try to find the right partiton name, I would use generally not:

    SELECT DISTINCT dbms_rowid.rowid_object(ROWID) data_object_id
       FROM F_CONTRACT_EVENT
       WHERE  EVOD_PART_DATE = TO_DATE ('20141101','YYYYMMDD')
    

    Okay, I get 2 rows, I'm expecting one, but cause the result are the subpartions, I get this:

      SELECT *  FROM ALL_OBJECTS WHERE DATA_OBJECT_ID IN ( 155159,155154);
    

    I see:

    EVO_DM    F_CONTRACT_EVENT    SYS_SUBP4292    155159    155159    TABLE SUBPARTITION
    EVO_DM    F_CONTRACT_EVENT    SYS_SUBP4287    155154    155154    TABLE SUBPARTITION
    

    But I don't want the subparts, I want the PARTITON!

    The table:

    CREATE TABLE "EVO_DM"."A0_F_CONTRACT_EVENT" 
       ( "EVOD_DDATE_ID_VALID_FROM" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "EVOD_DDATE_ID_VALID_TO" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "EVOD_DTIME_ID_START" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "EVOD_DSUST_ID" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "EVOD_DCHAN_ID" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "EVOD_DARTI_ID" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "EVOD_DCAMP_ID" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "EVOD_DUSAG_ID" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "EVOD_DOPSY_ID" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "EVOD_DDEVI_ID" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "EVOD_DSHOP_ID" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "EVOD_DPLFO_ID" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "EVOD_DACCO_ID" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "EVOD_DDECL_ID" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "EVOD_DOBJT_ID" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "EVOD_DOFFR_ID" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "EVOD_DCNTR_ID" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "EVOD_DCURR_ID" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "EVOD_DCONT_ID" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "EVOD_DIVWC_ID" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "DD_SUBSCRIPTION_ID" VARCHAR2(50 BYTE) DEFAULT '~' NOT NULL ENABLE, 
        "SINGLE_ISSUE" NUMBER(8,0) DEFAULT 0, 
        "SUBSCRIPTION" NUMBER(8,0) DEFAULT 0, 
        "RENEWAL" NUMBER(8,0) DEFAULT 0, 
        "CONVERSION" NUMBER(8,0) DEFAULT 0, 
        "DOWNLOAD" NUMBER(8,0) DEFAULT 0, 
        "UPDATES" NUMBER(8,0) DEFAULT 0, 
        "NET_VALUE_IN_EUR" NUMBER(10,4) DEFAULT 0 NOT NULL ENABLE, 
        "GROSS_VALUE_IN_EUR" NUMBER(10,4) DEFAULT 0 NOT NULL ENABLE, 
        "COMMISSION_IN_EUR" NUMBER(10,4) DEFAULT 0 NOT NULL ENABLE, 
        "TAX_IN_EUR" NUMBER(10,4) DEFAULT 0 NOT NULL ENABLE, 
        "POSITION_NR" NUMBER(3,0) DEFAULT -1, 
        "DD_ORDER_NR" VARCHAR2(50 BYTE) DEFAULT '~' NOT NULL ENABLE, 
        "EVOD_SOURCE_CD" VARCHAR2(50 BYTE) DEFAULT '~' NOT NULL ENABLE, 
        "FLAG_STOCK_RELEVANT" NUMBER(1,0) DEFAULT '0' NOT NULL ENABLE, 
        "RENEWAL_NR" NUMBER(3,0) DEFAULT -1, 
        "EVOD_DDATE_ID_SUBSCRIPTION" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
        "EVOD_DPRCG_ID" NUMBER(20,0) DEFAULT -1 NOT NULL ENABLE, 
      
       EVOD_PART_DATE DATE  GENERATED ALWAYS AS ( TRUNC(TO_DATE(TO_CHAR(EVOD_DDATE_ID_VALID_FROM),'YYYYMMDD'),'MM')) VIRTUAL)
    PARTITION BY RANGE(EVOD_PART_DATE)
    interval(NUMTOYMINTERVAL (1,'MONTH'))
    SUBPARTITION BY LIST(EVOD_SOURCE_CD)
    SUBPARTITION TEMPLATE(
    SUBPARTITION "P_ITUNES"  VALUES ('ITUNES') ,
    SUBPARTITION    "P_WSP"  VALUES ('WSP'),
    SUBPARTITION   "P_GOOGLE"  VALUES ('PLAYSTORE'),
    SUBPARTITION   "P_DEFAULT"  VALUES ('~') ,
    SUBPARTITION   "P_AMAZON"  VALUES ('AMAZON_EREADER', 'AMAZON_MANUELL', 'AMAZON_TABLET') ,
    SUBPARTITION    "P_MSD"  VALUES ('MSD')
    )
    (
     PARTITION P01 VALUES LESS THAN (TO_DATE('200310','YYYYMM')) SEGMENT CREATION DEFERRED
    )
    PARALLEL 10  ;
    

    Any ideas?

    Thanks for Berlin

    First of all - the DOF you posted is INVALID - you do not specify a delayed segment creation for partitions. Specify you for the table.

    Also, you must remove the DEFAULT value - 1 for the partitioning column. The value '-1' cannot be converted to a valid date for the virtual partitioning column value.» The default value is useless and will give confusion around the year exception err when the exception should actually provide a NULL value for a column not null.

    The documentation explains how to use the EXCHANGE PARTITION and has the code example

    Maintenance of Partitions

    Exchange a Partition of a partitioned Table interval

    You can exchange of range partitions in a partitioned table interval. However, you must make sure that the partition of the interval was created before that you can swap partition. You can leave the database create the partition in the partition of the interval of locking.

    The following example shows an Exchange partition for the interval_sales table, range-partitioned using the monthly from partitions of 1 January 2004. This example shows how to add data to the table using charge Exchange partition for June 2007. Assume there is only a local index on the interval_sales table and equivalent index have been created on the interval_sales_june_2007 table.

    LOCK TABLE interval_sales  PARTITION FOR (TO_DATE('01-JUN-2007','dd-MON-yyyy'))  IN SHARE MODE;    ALTER TABLE interval_sales  EXCHANGE PARTITION FOR (TO_DATE('01-JUN-2007','dd-MON-yyyy'))  WITH TABLE interval_sales_jun_2007  INCLUDING INDEXES;
    

    Note the use of the FOR syntax to identify a partition that has been generated by the system. The name of the partition can be used by querying the *_TAB_PARTITIONS view of data dictionary to find the partition system-generated name.

    Given that the last paragraph? That's what showed Solomon.

    NOTE:-special attention to the FIRST paragraph. If you use segment carried OVER creating the partition you want to Exchange could NOT have been created yet.

    Make SURE that you lock the partition as the example shows, or you will get an exception if it has not been created.

    Also - we know NOT what PROBLEM you're trying to solve.

    If you exchange a PARTITION of a table subpartitioned your working table should actually be partitioned using the SAME parttioning as the subparts in the source table:

    See my response in this thread:

    https://forums.Oracle.com/forums/thread.jspa?threadID=2482090&TSTART=30

    In this thread I have provide the code example illustrating how the table should be created and made Exchange.

  • Query Tunning of Sql performance

    Hello

    I have A table with size tables plus 120,000002 million are size 2 million on the Table B and less than 1 million on table C.

    I had created the Partition and parallel degree 4 on the table Created A. table B with parallel degree 2 and created table C with NOPARALLEL.

    My query is using above tables with joins and insertion in table D use INDICATOR / * + APPEND NOLOGGING * /.
    I ran the command explain on the above criteria, the cost is showing 20767.

    More later created the tables A, B and C with NOPARALLEL. Applied the TIP on Table D / * + APPEND NOLOGGING * /.
    and applied als HINT / * + PARALLEL(A, 4) select PARALLEL(B C, 2) on a query that uses to insert in table D.


    My question, which advised on the creation of PARALLEL degree at the level of the table or query:


    (a) create table with parallel (level 4)

    (b) applying HINT / * + PARALLEL (TABLE A, 4) * / at the level of the query

    Kind regards
    Prakash

    957901 wrote:
    Hello

    I have A table with size tables plus 120,000002 million are size 2 million on the Table B and less than 1 million on table C.

    I had created the Partition and parallel degree 4 on the table Created A. table B with parallel degree 2 and created table C with NOPARALLEL.

    My query is using above tables with joins and insertion in table D use INDICATOR / * + APPEND NOLOGGING * /.
    I ran the command explain on the above criteria, the cost is showing 20767.

    The cost is meaningless out of context.

    More later created the tables A, B and C with NOPARALLEL. Applied the TIP on Table D / * + APPEND NOLOGGING * /.
    and applied als HINT / * + PARALLEL(A, 4) select PARALLEL(B C, 2) on a query that uses to insert in table D.

    My question, which advised on the creation of PARALLEL degree at the level of the table or query:

    (a) create table with parallel (level 4)

    (b) applying HINT / * + PARALLEL (TABLE A, 4) * / at the level of the query

    According to what works best for you to reach.

    Which is another way of saying that you have not provided enough information for anyone here to take an informed decision or a suggestion for you.

    {message: id = 9360002}

    For performance issues/tuning queries, read two threads related to this FAQ: {message identifier: = 9360003}

  • Out of sync a station with the model of batch process?

    Hello

    My project has 5 test stations are run in parallel. I decide to use the batch process model because I want that they start and stop together. Next to startup and shutdown, I have some part in the need for synchronization of the entire test sequence. But in 5 stations, I want a workstation without flash sync to these steps. I tried to use the commands synchronize with the precondition, but it looks like that other stations are waiting for that one I jump the sync. My other option uses rendervous with number of parallel thread total is - 1. I test it and it works. But I still want to know if I can use batch synchronize step or not because it offers synchronization of start and exit synchronization.

    Thank you!

    NTT says:

    Doug,

    Thanks for your reply.

    I want to have something happening parallel with other threads, but without effect by steps of synchronization batch. I have several workstations parallel to the Assembly line. They are sync due to the pick and place. But I want to have a process is functioning as the station manager who keep track of USE between the train station and other site conditions such as pressure, temperature.

    Thang

    As a general rule, the intent of the TestSockets in the process templates is that they will have a 1 to 1 with DUT match, taking your 5th corresponds to an object to measure? In other y 5 DUT tested at the same time? DUT often need things like logging database or report generation. Your 5th decision-making requires the generation of reports? If not maybe this 5th Jack is really more than one thread of utility and creating a new thread or performance during execution makes sense for her. If your 5th instead making it really fits under test DUT in parallel enitrely separately from others the DUT then maybe you should start up a new run for the socket using the sequential model and just run as your other shots are running with the model of batch processing.

    So, it really depends on what you use this 5th station/thread to find out which method would probably work better.

    Hope this helps,

    -Doug

  • Using shift registers global verses

    I'm new to 2009.  Our last update was 7.1.  I'm upgrading our laboratory SW and using events.  EVENT 1: is used to display the data in a text file in a table "data set".  EVENT 2: using to option button and the table "Data set", the user selects the data column to use for the test that is displayed in a table «Points de Test»  EVENT 3: If the user changes the data in the table "set of data', 'Points of Test' test point table is the update.  I use local variables for 'Set data', 'Points of Test' and I was going to use other settings as well (radio button, etc.).  I also think about using a shift register to realize that the same information.  I used shift registers in the past and they can be annoying, but I also understand that you should stay away from variables.  Please pass along an Advisor on the use of local variables shift verse records.  THANKS in advance!

    I don't know what you defined as 'EVENT 1' to '3', but they seem to be quite the case.

    The use of shift registers sounds messy, but they are much better than local Variables If you parallel threads past in your code.

    Clean the threads between the shift registers is to use clusters.

    People of the country appear more clean, until they 'byte' you in the... code...

    EDIT: "they are much better than local Variables If you parallel threads going on in your code" I have to explain... If you have parallel code that uses Variables to local variables as this may lead to a race or conditions...

  • I'm looking for STE in operating system.

    Hello

    How can I get the ETS? can I have a free version or a trial?

    Kind regards!

    Hi Azzam87,

    part of your question has been answered in your parallel thread:

    I have the NI PXI-8106 (non-regular RT) controller, can I install real-time operating system

    http://forums.NI.com/NI/board/message?board.ID=270&message.ID=6825&requireLogin=false

    You can try LV module in real time for 30 days. Download this module, install on the host computer and then install RT on PXI.

    Follow this KB:

    How can I make my PXI controller a real-time target?

    http://digital.NI.com/public.nsf/allkb/21C45EF391059C2A86257241005CA814?OpenDocument

    Simply prepare your PXI. Convert to FAT32 format, after which create the instant USB boot disk in MAX.

    PXI to USB boot. Install the base RT on PXI with this USB utility. After that start to RT PXI and install the rest of the software with MAX.

    See:

    PXI installation/Configuration

    http://www.NI.com/support/install/install_hardware_5.htm

    Kind regards

    Jiri Keprt

    Czech Republic DENIES

Maybe you are looking for

  • background process in ios

    Have any mechanism as 'run the android in the background service' in iOS?

  • W700P toichscreen goes to sleep

    Just got a W700P used from a seller from Amazon. Other than the former owner, forgetting to remove the Windows.old folder (with something like 20 GB of data) and who need to have a bunch of drivers installed, it works well... except when you use not

  • Point to Mulitpoint VPN

    I'm looking to make a point to multipoint vpn with routers from 1760 to my remote desktop and a 2651xm on the central site. My question is can I have 7 remote site do I need 7 connections on my 2651? Or can I use just my an external interface? Y at -

  • How to create a bootable recovery discs recovery partition?

    OK, I found a few old recovery disc for Windows Vista professional for Compaq 6720 s. Now I have 2 questions: (1) how to create these recovery discs recovery partition? (2) my version of the partition is Vista. I've updated to Windows 7. How do the V

  • installing the iDRAC card

    Hello I ordered and installed a new iDRAC (Enterprise license) card in my server PowerEdge R320. I have connected the port to my DMZ network. However, there is no link on the port, no flashing light. What should I do to activate the card? This server