Find execution for socket in UI for parallel model

TestStand 2010 sp1 and labview 2011 to start.
I'm trying to find a way to incorporate the terminate/restart functionality in my LabVIEW GUI for a parallel model.  What I've done so far is rather than use the built in modelsupport2, I need my own GUI with a lot of the same functionality.  I launch the GUI from the process model and pass in RunState.Engine.GetInternalOption(InternalOption_ApplicationManager) to the get the application manager reference.  I use that to register a user event for the socket and to pass a notifiication (using engine and sync manager) to TestStand to start a socket.
What I'd like to do now is have the ability to terminate/restart a socket.  I believe I've found the method within the execution class, but I don't know how to specify which execution to invoke that on.  Is there a way to get a list of the executions?  and, will I know which execution goes to which socket?
I'm not running this UI as the main UI.  It is launched from within TestStand just like the modelsupport2.dll UI.  Just not sure how to specify an execution to invoke the method on.  
Thanks.

Bad news.  I'm not quite out of the woods.  Everything runs fine from the sequence editor.  But when I run from my GUI, I run into issues.  Socket 1 will run without issue, but socket 0 will not abort.  Attached are two screen shots with probes attached.  For some reason, socket 0 returns nothing for the execution manager, but socket 1 works as I'd expect.  I have no idea why socket 0 doesn't play nice.
My GUI has an application manager, sequence file manager and execution manager running, but what gets passed in to this GUI is from TestStand.  I don't see that there should be a difference in functionality here.
Attachments:
Socket0 error.JPG ‏128 KB
Socket1 works.JPG ‏113 KB

Similar Messages

  • How do i find carrier for iphone4s model no DNPHX4WVDTCO

    how do i find carrier for iphone4s model no DNPHX4WVDTCO

    Call AppleCare. They are the only reliable way to determine what carrier your phone is locked to.

  • PreUUTLoop equivalent for parallel model

    I am building a test sequence to test two UUTs in parallel, on a station where some of the equipment will be shared.  I want to initialize all the equipment BEFORE the exectuion of the tests begin, and even more specifically before the PreUUT step of each individual socket execution.
    It made sense to put my "Initialize Equipment" step into the "PreUUTLoop" sequence callback in an original design that used the sequential model. It only needs to be done once.
    Is there a similiar sequence callback in the parallel model into which I can move the "Initialize Equipment" step?
    Solved!
    Go to Solution.

    The SequenceFileLoad callback has the advantage of only being called once.
    However, for reference, I want to note that there are also ProcessSetup and ProcessCleanup cleanup callbacks that are respectively called before and after TestUUTs and Single Pass for all NI models.

  • Campaign execution for parallel communication medias

    Hi,
    From a campaing I want to create orders and in parallell send e-mails. In the img activity I have created a communication medium which consists of a communication method for creating order and one for creating e-mail, but only the method with the higest priority is started and it is not allowed to have to methods with the same priority. Some ideas??
    regards Camilla

    Hi Camilla,
    Kindly try using one communication medium having 'Communication method = Imternet mail', and use
    'Transaction type = Sales order' (by selecting appropriate type from F4 help).
    This will allow two process to be set on same priority.
    Hope this helps.
    Regards,
    Anup

  • Does anyone know how/where I can find Versamail for this model? PLEASE...

    null
    Post relates to: Treo 755p (Verizon)

    Hi, and welcome to the Palm Community Forums.
    Try this link, which I found at the Treo 755 support page, on the Downloads link:
    http://ws.palm.com/mypalm/MyPalmGenericUser/Contro​llerGeneric.jsp?&action=showbonus&productName=TREO​... 
    BTW, I removed your other two threads on the same subject.  One is usually sufficient for someone here to read and respond.
    Post relates to: None
    Message Edited by smkranz on 02-05-2009 07:01 AM
    smkranz
    I am a volunteer, and not an HP employee.
    Palm OS ∙ webOS ∙ Android

  • Where to find drivers for hp 15 r022tx? i installed windows 7(64 bit) os.

    Please help me where to find drivers for hp15r022tx model. I am unable to use my machine. I will be using windows 7 (64 bit) on this laptop.

    Hi:
    HP is aware of the drivers missing from the support pages issue and is working on resolving it.
    It is affecting hundreds of notebook models.
    Since I don't work for HP, I do not know when the sites will be operational again.
    With the Thanksgiving holiday in the United States, that has delayed things, I'm sure.
    We are on the fifth day of this problem.

  • Replacing the default Parallel model UUT Dialog

    What is the best way to replace the default UUT Dialog for the parallel model? I don't want to modify the default parallel model, but use the callback options in my sequence to replace the default UUT dialog.
    Things already tried:
    1) Generated a UIR to replace the default UUT dialog.
    2) Placed an action to call the new dialog into the PreUUT callback.
    3) Created a statement function that change the status to display the default UUT Dialog and place into the ModelOption callback.
    This replaced Default UUT Dialog with the new UUT dialog. But the new UUT Dialog panel shows up in four different panel, one for each of the four socket being executed.
    The goal is to have the new UUT Dialog appear only once to handle all 4 sockets. The default parallel model initialize the default UUT dialog panel then uses display panel to view UUT dialog. Is there a different method to have the new UUT Dialog panel appear only once for all four socket inputs and not multiple times?

    There is an example for this under the directory:
    <TestStand>\Examples\ProcessModels\ParallelModel
    Edited: Just realized that what you asked is a bit different than the example.
    I recommend you try one of 2 possibilities:
    1) In addition to disabling the old dialog as shown in the example,
    override the ProcessSetup and ProcessCleanup model callbacks and add
    your code to display and remove your dialog there (you should probably use a "new thread" sequence call when displaying the dialog so that it has its own thread for message processing). Then also override
    the preuut callback and add code to communicate with your dialog in
    some way to pass and return the necessary information for each
    testsocket. This could be a dll call or some other way of doing this communication.
    2) Modify the existing code for the current dialog or implement something similar. The code for the dialog is in the cvi project for modelsupport in the same directory as the process models. If you are going to modify this dll you should copy the Models directory from Components\NI to Components\User and modify the version of it there. The Components\User version will override the version under Components\NI.
    -Doug
    Message Edited by dug9000 on 03-06-2006 10:25 AM

  • How to run multiple CodedUI Ordered Tests over multiple Test Agents for parallel execution using Test Controller

    we are using VS 2013, I need to run multiple Coded UI Ordered Tests in parallel on different agents.
    My requirement :
    Example:   I have 40 Coded UI Test scripts in single solution/project. i want to run in different OS environments(example 5 OS ).  I have created 5 Ordered tests with the same 40 test cases. 
    I have one Controller machine and 5 test agent machines. Now I want my tests to be distributed in a way that every agent gets 1 Ordered test to execute. 
    Machine_C = Controller (Controls Machine_1,2,3,4,5)
    Machine_1 = Test Agent 1 (Should execute Ordered Test 1 (ex: OS - WIN 7) )
    Machine_2 = Test Agent 2 (Should execute Ordered Test 2 (ex:
    OS - WIN 8) )
    Machine_3 = Test Agent 3 (Should execute Ordered Test 3
    (ex: OS - WIN 2008 server)  )
    Machine_4 = Test Agent 4 (Should execute Ordered Test 4 (ex:
    OS - WIN 2012 server) )
    Machine_5 = Test Agent 5 (Should execute Ordered Test 5 (ex:
    OS - WIN 2003 server) )
    I have changed the  “MinimumTestsPerAgent” app setting value
    as '1' in controller’s configuration file (QTController.exe.config).
    When I run the Ordered tests from the test explorer all Test agent running with each Ordered test and showing the status as running. but with in the 5 Test Agents only 2 Agents executing the test cases remaining all 3 agents not executing the test cases but
    status showing as 'running' still for long time (exp: More then 3 hr) after that all so  its not responding. 
    I need to know how I can configure my controller or how I can tell it to execute these tests in parallel on different test agents. This will help me reducing the script execution time. 
     I am not sure what steps I am missing. 
    It will be of great help if someone can guide me how this can be achieved.
    -- > One more thing Can I Run one Coded UI Ordered Test on One Specific Test Agent?
    ex: Need to run ordered Test 1 in Win 7 OS (Test Agent 1) only.
    Thanks in Advance.

    Hi Divakar,
    Thank you for posting in MSDN forum.
    As far as I know, we cannot specify coded UI ordered test run on specific test agent. And it is mainly that test controller determine which coded UI ordered test assign to which test agent.
    Generally, I know that if we want to run multiple CodedUI Ordered Tests over multiple Test Agents for parallel execution using Test Controller.
    We will need to change the MinimumTestsPerAgent property to 1 in the test controller configuration file (QTControllerConfig.exe.config) as you said.
    And then we will need to change the bucketSize number of tests/number of machines in the test settings.
    For more information about how to set this bucketSize value, please refer the following blog.
    http://blogs.msdn.com/b/aseemb/archive/2010/08/11/how-to-run-automated-tests-on-different-machines-in-parallel.aspx
    You can refer this Jack's suggestion to run your coded UI ordered test in lab Environment or load test.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/661e73da-5a08-4c9b-8e5a-fc08c5962783/run-different-codedui-tests-simultaneously-on-different-test-agents-from-a-single-test-controller?forum=vstest
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Find aging of concurrent jobs execution for last one year in R12

    DB:11.2.0.3.0
    EBS: 12.1.3
    O/S: Red Hat Linux
    Hi all,
    Could anyone please share the resolution for the below question in R12 ?
    1)      Considering only 3 weeks of data is maintained in FND tables, which means we cannot use fnd_concurrent_requests to get list of jobs submitted in last one year. Is there any other way what we can get to find out aging of jobs execution for last one year?
    Thanks for your time!
    Regards,

    Locking this thread - Pl continue the discussion in your original post - Identifying customizations in R12
    Unless you have backups of the deleted data, this is not possible

  • Parallel execution for Expression Filters

    I'm looking for any information on whether expression filters are amenable to parallel execution or not.
    I had a look through the documentation without success, and saw that in the type declarations for supporting objects there is no mention of DETERMINISTIC or PARALLEL_ENABLE. However, the static functions and procedures do not look like they have any constructs that the database would see as an impediment for parallel execution.
    Can anyone advise on this?

    Thanks for that.
    Maybe in a parallel query environment the index will not be used. But I was really wondering whether the execution of the Evaluate function itself would be parallelised, as it invokes functions that are not explicitly marked as deterministic or as safe for parallel execution.
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_packages.htm#BABIGDGE
    Well, I'll see if I can investigate (maybe I'll have to suspend those system triggers that prevent modification of the Type ... just for experimental reasons, you understand).

  • Data Driven Subscriptions Error - the query processor could not start the necessary thread resources for parallel query execution

    Hi,
    We are getting the following error when certain data driven subscriptions are fired off: "the query processor could not start the necessary thread resources for parallel query execution".  I've read other posts that have the same error, and
    the solution usually involves adjusting MaxDOP to limit the number of queries that are fired off in parallel.  
    Unfortunately, we cannot change this setting on our server for performance reasons (outside of data driven subscriptions, it negatively impacts our ETL processing times).  We tried putting query hints like "OPTION (MAXDOP 2);" in the reports
    that are causing the error, but it did not resolve the problem.
    Are there any settings within Reporting Services that can be adjusted to limit the number of subscriptions that get fired off in parallel?
    Any help is appreciated - thanks!

    Yes, that is correct.  It's a painful problem, because you don't know which specific subscription failed. For example, we have a data driven subscription that sends out about 800 emails. Lately, we've been having a handful of them fail. You don't know
    which ones out of the 800 failed though, even from the RS log files - all it tells you is that "the
    query processor could not start the necessary thread resources for parallel query execution".
    Thanks, I'll try changing <MaxQueueThreads> and will let you know if it works.
    On a side note: I've noticed that it is only reports with cascading parameters (ex. where parameter 2 is dependent on the selection from parameter 1) that get this error message...

  • MERGE can't be used for Parallel  Executions?? Flaw?

    Can someone give an example of doing this using the Merge statement? We do a load (Insert + update) in multiple sessions simulateneously
    A typical load will do this:
    Update where exists
    Insert NOT EXISTS
    If we do this using new merge statement, we sometimes get unique key violation where two processes are trying to do the same thing, one goes through with the insert while the other fails with a unique constraint violation. There's got to be a way of putting not exists condition in the Merge INSERT statement, otherwise it won't work in a parallel environment.
    thanks for your help in advance

    We could easily do this ealier using
    UPDATE WHERE EXISTS statement
    followed by
    INSERT NOT EXISTS statementYou couldn't. Merge like the above pair of statements make the same.
    And this behavour is absolutely normal for transaction model in Oracle.
    What happens ?
    When you do WHERE EXISTS in the first session it does nothing for you:
    SQL> update merge_test set value = (select value
      2  from (select 1 id, 'A' value from dual) s
      3  where s.id = merge_test.id)
      4  where exists
      5  (select null
      6  from (select 1 id, 'A' value from dual) s
      7  where s.id = merge_test.id)
      8  /
    0 rows updated.After that if you do (NO COMMIT !!):
    SQL> insert into merge_test select id, value
      2  from (select 1 id, 'A' value from dual) s
      3  where not exists
      4  (select null
      5  from merge_test
      6  where s.id = merge_test.id)
      7  /
    1 row created.Oracle places execlusive lock on index node, because it's unique.
    The next user do the same:
    SQL> update merge_test set value = (select value
      2  from (select 1 id, 'A' value from dual) s
      3  where s.id = merge_test.id)
      4  where exists
      5  (select null
      6  from (select 1 id, 'A' value from dual) s
      7  where s.id = merge_test.id)
      8  /
    0 rows updated.Nothing done because no commit was issued in the first transaction
    and this transaction doesn't see changes of the first one (they are isolated)
    Now we try to insert in the second transaction and stick on index lock:
    SQL> insert into merge_test select id, value
      2  from (select 1 id, 'A' value from dual) s
      3  where not exists
      4  (select null
      5  from merge_test
      6  where s.id = merge_test.id)
      7  /We are waiting for commit in the first transaction. After we complete the first
    transaction by commit, we get the error (that is natural because we can't
    insert duplicated index node intp unique index):
    SQL> insert into merge_test select id, value
      2  from (select 1 id, 'A' value from dual) s
      3  where not exists
      4  (select null
      5  from merge_test
      6  where s.id = merge_test.id)
      7  /
    insert into merge_test select id, value
    ERROR at line 1:
    ORA-00001: unique constraint (SCOTT.PK_MERGE_TEST) violatedBecause merge works like these two statements in one transaction,
    you get what you see.
    To achieve what you need you should COMMIT your first merge changes
    before start it in another stransaction.
    Compare:
    1th user:
    SQL> merge into merge_test d
      2  using (select 1 id, 'A' value from dual) s
      3  on (d.id = s.id)
      4  when matched then
      5  update set d.value = s.value
      6  when not matched then
      7  insert (d.id, d.value)
      8  values (s.id, s.value)
      9  /
    1 row merged.
    SQL> commit;
    Commit complete.
    SQL> select * from merge_test;
            ID VALUE
             1 A2th user:
    SQL> merge into merge_test d
      2  using (select 1 id, 'B' value from dual) s
      3  on (d.id = s.id)
      4  when matched then
      5  update set d.value = s.value
      6  when not matched then
      7  insert (d.id, d.value)
      8  values (s.id, s.value)
      9  /
    1 row merged.
    SQL> select * from merge_test;
            ID VALUE
             1 BRgds.
    Rgds.

  • Task 0085 for parallel SID assignment terminated with errors

    Hi,
    While activating the ODS object we are getting the following error
    Task 0085 for parallel SID assignment terminated with errors
    Can anyone help me on this issue.
    Thanks
    Sheela Datla

    Hi Sheela,
    Does the problem happen with activating the ODS object (definition) itself or with activating the data in the
    ODS? I think that there must be other errors apart from Task 0085. At the time of the error you should check in
    sm21 and st22 for additional error messages and dumps. If the problem is with the activation of data in the ODS
    you should also check sm37 for the job that is created for the ODS activation , you may find more detailed
    information in the job log. You should also check the activation step in the 'Details' TAB in the monitor for
    the load there may also be more detailed information here.
    In transaction rscusta2 (ODS customizing) you should try the following setting for the activation:
    No. of Par. Proc.    3          
    Min. No. Data Recs.  10000     
    Wait Time in Sec.      600
    Before changing the values you have in RSCUSTA2 please take note of the values you have already in
    case you want to change them back.
    Best Regards,
    Des.

  • Reg Unable to find URL for Adapter Engine Error

    Hello,
    During execution of a scenario, i am getting these errors in sxmb_moni:
    AE_DETAILS_GET_ERROR
    3: Unable to find URL for Adapter Engine af.xip.poecspxioo4
    Error when reading the access data (URL, user, password) for the Adapter Engine.
    Seems like it is a problem of XI Server unable to locate the Central adapter engine due to some parameter not set properly.
    So, what are the points we can check while installation of XI so as to rectify this problem.

    Hi all,
    I got the similar error in my scenario and i solved the same.Actually i ma not pretty surte this will solve your problem.
    In my case proxy generation settings was mis configured in the sender system. so its caused the reason.
    I made an entry in the SPROXSET table and i did other activities like RFC and application system also.
    Then its worked for me. Its not matching with your case please do ignore this one
    Regards
    Vijay

  • Gather_Plan_Statistics + DBMS_XPLAN A-rows for parallel queries

    Looks like gather_plan_statistics + dbms_xplan displays incorrect A-rows for parallel queries. Is there any way to get the correct A-rows for a parallel query?
    Version details:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi on HPUX
    Create test tables:
    -- Account table
    create table test_tacprof
    parallel (degree 2) as
    select object_id ac_nr,
           object_name ac_na
    from all_objects;      
    alter table test_tacprof add constraint test_tacprof_pk primary key (ac_nr);
    -- Account revenue table
    create table test_taccrev
    parallel (degree 2) as
    select apf.ac_nr         ac_nr,
           fiv.r             tm_prd,
           apf.ac_nr * fiv.r ac_rev
    from   (select rownum r from all_objects where rownum <= 5) fiv,
           test_tacprof apf;
    alter table test_taccrev add constraint test_taccrev_pk primary key (ac_nr, tm_prd);
    -- Table to hold query results
    create table test_4accrev as
    select apf.ac_nr, apf.ac_na, rev.tm_prd, rev.ac_rev
    from test_taccrev rev,
         test_tacprof apf
    where 1=2;
    Run query with parallel dml/query disabled:
    ALTER SESSION DISABLE PARALLEL QUERY;
    ALTER SESSION DISABLE PARALLEL DML;
    INSERT INTO test_4accrev
       SELECT /*+ gather_plan_statistics */
              apf.ac_nr,
              apf.ac_na,
              rev.tm_prd,
              rev.ac_rev
         FROM test_taccrev rev, test_tacprof apf
        WHERE apf.ac_nr = rev.ac_nr AND tm_prd = 4;
    SELECT *
      FROM TABLE (DBMS_XPLAN.display_cursor (NULL, NULL, 'ALLSTATS LAST'));
    | Id  | Operation          | Name         | Starts | E-Rows | A-Rows |   A-Time   | Buffers |  OMem |  1Mem | Use
    |*  1 |  HASH JOIN         |              |      1 |  30442 |  23412 |00:00:00.27 |     772 |  1810K|  1380K| 2949K (0)|
    |   2 |   TABLE ACCESS FULL| TEST_TACPROF |      1 |  26050 |  23412 |00:00:00.01 |     258 |       |       |    
    |*  3 |   TABLE ACCESS FULL| TEST_TACCREV |      1 |  30441 |  23412 |00:00:00.03 |     514 |       |       |    
    ROLLBACK ;
    A-rows are correctly reported with no parallel.
    Run query with parallel dml/query enabled:
    ALTER SESSION enable PARALLEL QUERY;
    alter session enable parallel dml;
    insert into test_4accrev
    select /*+ gather_plan_statistics */ apf.ac_nr, apf.ac_na, rev.tm_prd, rev.ac_rev
    from test_taccrev rev,
         test_tacprof apf
    where apf.ac_nr = rev.ac_nr
    and   tm_prd = 4;    
    select * from table(dbms_xplan.display_cursor(null,null,'ALLSTATS LAST'));                
    | Id  | Operation                | Name         | Starts | E-Rows | A-Rows |   A-Time   | Buffers |  OMem |  1Mem | Used-M
    |   1 |  PX COORDINATOR          |              |      1 |        |  23412 |00:00:00.79 |       6 |       |       |          |
    |   2 |   PX SEND QC (RANDOM)    | :TQ10001     |      0 |  30442 |      0 |00:00:00.01 |       0 |       |       |          |
    |*  3 |    HASH JOIN             |              |      0 |  30442 |      0 |00:00:00.01 |       0 |  2825K|  1131K|          |
    |   4 |     PX BLOCK ITERATOR    |              |      0 |  30441 |     0 |00:00:00.01 |       0 |       |       |          |
    |*  5 |      TABLE ACCESS FULL   | TEST_TACCREV |      0 |  30441 |      0 |00:00:00.01 |       0 |       |       |       
    |   6 |     BUFFER SORT          |              |      0 |        |      0 |00:00:00.01 |       0 | 73728 | 73728 |          |
    |   7 |      PX RECEIVE          |              |      0 |  26050 |      0 |00:00:00.01 |       0 |       |       |          |
    |   8 |       PX SEND BROADCAST  | :TQ10000     |      0 |  26050 |      0 |00:00:00.01 |       0 |       |       |          |
    |   9 |        PX BLOCK ITERATOR |              |      0 |  26050 |      0 |00:00:00.01 |       0 |       |       |          |
    |* 10 |         TABLE ACCESS FULL| TEST_TACPROF |      0 |  26050 |      0 |00:00:00.01 |       0 |       |       |          |
    rollback;
    A-rows are zero execpt for final step.

    I'm sorry for posting following long test case.
    But it's the most convenient way to explain something. :-)
    Here is my test case, which is quite similar to yours.
    Note on the difference between "parallel select" and "parallel dml(insert here)".
    (I know that Oracle implemented psc(parallel single cursor) model in 10g, but the details of the implementation is quite in mystery as Jonathan said... )
    SQL> select * from v$version;
    BANNER                                                                         
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod               
    PL/SQL Release 10.2.0.1.0 - Production                                         
    CORE     10.2.0.1.0     Production                                                     
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production                        
    NLSRTL Version 10.2.0.1.0 - Production                                         
    SQL>
    SQL> alter system flush shared_pool;
    System altered.
    SQL>
    SQL> alter table t parallel 4;
    Table altered.
    SQL>
    SQL> select /*+ gather_plan_statistics */ count(*) from t t1, t t2
      2  where t1.c1 = t2.c1 and rownum <= 1000
      3  order by t1.c2;
      COUNT(*)                                                                     
          1000                                                                     
    SQL>
    SQL> select sql_id from v$sqlarea
    where sql_text like 'select /*+ gather_plan_statistics */ count(*) from t t1, t t2%';
    SQL_ID                                                                         
    bx61bkyh9ffb6                                                                  
    SQL>
    SQL> select * from table(dbms_xplan.display_cursor('&sql_id',null,'allstats last'));
    Enter value for sql_id: bx61bkyh9ffb6
    PLAN_TABLE_OUTPUT                                                              
    SQL_ID  bx61bkyh9ffb6, child number 0          <-- Cooridnator and slaves shared the cursor                          
    select /*+ gather_plan_statistics */ count(*) from t t1, t t2 where t1.c1 = t2.c
    1 and rownum <= 1000 order by t1.c2                                            
    Plan hash value: 3015647771                                                    
    PLAN_TABLE_OUTPUT                                                              
    | Id  | Operation                  | Name     | Starts | E-Rows | A-Rows |   A-Time   | Buffers |  OMem |  1Mem | Used-Mem |                               
    |   1 |  SORT AGGREGATE            |          |      1 |      1 |      1 |00:00:00.62 |       6 |       |       |          |                                   
    |*  2 |   COUNT STOPKEY            |          |      1 |        |   1000 |00:00:00.62 |       6 |       |       |          |                                   
    |   3 |    PX COORDINATOR          |          |      1 |        |   1000 |00:00:00.50 |       6 |       |       |          |                                   
    |   4 |     PX SEND QC (RANDOM)    | :TQ10002 |      0 |     16M|      0 |00:00:00.01 |       0 |       |       |          |                                   
    |*  5 |      COUNT STOPKEY         |          |      0 |        |      0 |00:00:00.01 |       0 |       |       |          |                                   
    |*  6 |       HASH JOIN BUFFERED   |          |      0 |     16M|      0 |00:00:00.01 |       0 |  1285K|  1285K|  717K (0)|                                   
    |   7 |        PX RECEIVE          |          |      0 |  10000 |      0 |00:00:00.01 |       0 |       |       |          |                                   
    |   8 |         PX SEND HASH       | :TQ10000 |      0 |  10000 |      0 |00:00:00.01 |       0 |       |       |          |                                   
    |   9 |          PX BLOCK ITERATOR |          |      0 |  10000 |      0 |00:00:00.01 |       0 |       |       |          |                                   
    |* 10 |           TABLE ACCESS FULL| T        |      0 |  10000 |      0 |00:00:00.01 |       0 |       |       |          |                                   
    |  11 |        PX RECEIVE          |          |      0 |  10000 |      0 |00:00:00.01 |       0 |       |       |          |                                   
    |  12 |         PX SEND HASH       | :TQ10001 |      0 |  10000 |      0 |00:00:00.01 |       0 |       |       |          |                                   
    |  13 |          PX BLOCK ITERATOR |          |      0 |  10000 |      0 |00:00:00.01 |       0 |       |       |          |                                   
    |* 14 |           TABLE ACCESS FULL| T        |      0 |  10000 |      0 |00:00:00.01 |       0 |       |       |          |                                   
    38 rows selected.
    SQL>
    SQL> select sql_id, child_number, executions, px_servers_executions
      2  from v$sql where sql_id = '&sql_id';
    SQL_ID                                  CHILD_NUMBER EXECUTIONS                
    PX_SERVERS_EXECUTIONS                                                          
    bx61bkyh9ffb6                                      0          1                
                        8                                                          
    SQL>
    SQL> insert /*+ gather_plan_statistics */ into t select * from t;
    10000 rows created.
    SQL>
    SQL> select sql_id from v$sqlarea
    where sql_text like 'insert /*+ gather_plan_statistics */ into t select * from t%';
    SQL_ID                                                                         
    9dkmu9bdhg5h0                                                                  
    SQL>
    SQL> select * from table(dbms_xplan.display_cursor('&sql_id', null, 'allstats last'));
    Enter value for sql_id: 9dkmu9bdhg5h0
    PLAN_TABLE_OUTPUT                                                              
    SQL_ID  9dkmu9bdhg5h0, child number 0       <-- Coordinator Cursor                         
    insert /*+ gather_plan_statistics */ into t select * from t                    
    Plan hash value: 3050126167                                                    
    | Id  | Operation            | Name     | Starts | E-Rows | A-Rows |   A-Time   | Buffers |                                                                    
    |   1 |  PX COORDINATOR      |          |      1 |        |  10000 |00:00:00.20 |       3 |                                                                    
    |   2 |   PX SEND QC (RANDOM)| :TQ10000 |      0 |  10000 |      0 |00:00:00.01 |       0 |                                                                    
    |   3 |    PX BLOCK ITERATOR |          |      0 |  10000 |      0 |00:00:00.01 |       0 |                                                                    
    |*  4 |     TABLE ACCESS FULL| T        |      0 |  10000 |      0 |00:00:00.01 |       0 |                                                                    
    SQL_ID  9dkmu9bdhg5h0, child number 1        <-- Slave(s)
    insert /*+ gather_plan_statistics */ into t select * from t                    
    PLAN_TABLE_OUTPUT                                                              
    Plan hash value: 3050126167                                                    
    | Id  | Operation            | Name     | Starts | E-Rows | A-Rows |   A-Time  | Buffers |                                                                    
    |   1 |  PX COORDINATOR      |          |      0 |        |      0 |00:00:00.01 |       0 |                                                                    
    |   2 |   PX SEND QC (RANDOM)| :TQ10000 |      0 |  10000 |      0 |00:00:00.01 |       0 |                                                                    
    |   3 |    PX BLOCK ITERATOR |          |      1 |  10000 |   2628 |00:00:00.20 |      16 |                                                                    
    |*  4 |     TABLE ACCESS FULL| T        |      4 |  10000 |   2628 |00:00:00.02 |      16 |                                                                    
    SQL>
    SQL> select sql_id, child_number, executions, px_servers_executions
      2  from v$sql where sql_id = '&sql_id';  <-- 2 child cursors here
    SQL_ID                                  CHILD_NUMBER EXECUTIONS                
    PX_SERVERS_EXECUTIONS                                                          
    9dkmu9bdhg5h0                                      0          1                
                        0                                                          
    9dkmu9bdhg5h0                                      1          0                
                        4                                                          
    SQL>
    SQL> set serveroutput on
    -- check mismatch
    SQL> exec print_table('select * from v$sql_shared_cursor where sql_id = ''&sql_id''');
    Enter value for sql_id: 9dkmu9bdhg5h0
    SQL_ID                        : 9dkmu9bdhg5h0                                  
    ADDRESS                       : 6AD85A70                                       
    CHILD_ADDRESS                 : 6BA596A8                                       
    CHILD_NUMBER                  : 0                                              
    UNBOUND_CURSOR                : N                                              
    SQL_TYPE_MISMATCH             : N                                              
    OPTIMIZER_MISMATCH            : N                                              
    OUTLINE_MISMATCH              : N                                              
    STATS_ROW_MISMATCH            : N                                              
    LITERAL_MISMATCH              : N                                              
    SEC_DEPTH_MISMATCH            : N                                              
    EXPLAIN_PLAN_CURSOR           : N                                              
    BUFFERED_DML_MISMATCH         : N                                              
    PDML_ENV_MISMATCH             : N                                              
    INST_DRTLD_MISMATCH           : N                                              
    SLAVE_QC_MISMATCH             : N                                              
    TYPECHECK_MISMATCH            : N                                              
    AUTH_CHECK_MISMATCH           : N                                              
    BIND_MISMATCH                 : N                                              
    DESCRIBE_MISMATCH             : N                                              
    LANGUAGE_MISMATCH             : N                                              
    TRANSLATION_MISMATCH          : N                                              
    ROW_LEVEL_SEC_MISMATCH        : N                                              
    INSUFF_PRIVS                  : N                                              
    INSUFF_PRIVS_REM              : N                                              
    REMOTE_TRANS_MISMATCH         : N                                              
    LOGMINER_SESSION_MISMATCH     : N                                              
    INCOMP_LTRL_MISMATCH          : N                                              
    OVERLAP_TIME_MISMATCH         : N                                              
    SQL_REDIRECT_MISMATCH         : N                                              
    MV_QUERY_GEN_MISMATCH         : N                                              
    USER_BIND_PEEK_MISMATCH       : N                                              
    TYPCHK_DEP_MISMATCH           : N                                              
    NO_TRIGGER_MISMATCH           : N                                              
    FLASHBACK_CURSOR              : N                                              
    ANYDATA_TRANSFORMATION        : N                                              
    INCOMPLETE_CURSOR             : N                                              
    TOP_LEVEL_RPI_CURSOR          : N                                              
    DIFFERENT_LONG_LENGTH         : N                                              
    LOGICAL_STANDBY_APPLY         : N                                              
    DIFF_CALL_DURN                : N                                              
    BIND_UACS_DIFF                : N                                              
    PLSQL_CMP_SWITCHS_DIFF        : N                                              
    CURSOR_PARTS_MISMATCH         : N                                              
    STB_OBJECT_MISMATCH           : N                                              
    ROW_SHIP_MISMATCH             : N                                              
    PQ_SLAVE_MISMATCH             : N                                              
    TOP_LEVEL_DDL_MISMATCH        : N                                              
    MULTI_PX_MISMATCH             : N                                              
    BIND_PEEKED_PQ_MISMATCH       : N                                              
    MV_REWRITE_MISMATCH           : N                                              
    ROLL_INVALID_MISMATCH         : N                                              
    OPTIMIZER_MODE_MISMATCH       : N                                              
    PX_MISMATCH                   : N                                              
    MV_STALEOBJ_MISMATCH          : N                                              
    FLASHBACK_TABLE_MISMATCH      : N                                              
    LITREP_COMP_MISMATCH          : N                                              
    SQL_ID                        : 9dkmu9bdhg5h0                                  
    ADDRESS                       : 6AD85A70                                       
    CHILD_ADDRESS                 : 6B10AA00                                       
    CHILD_NUMBER                  : 1                                              
    UNBOUND_CURSOR                : N                                              
    SQL_TYPE_MISMATCH             : N                                              
    OPTIMIZER_MISMATCH            : N                                              
    OUTLINE_MISMATCH              : N                                              
    STATS_ROW_MISMATCH            : N                                              
    LITERAL_MISMATCH              : N                                              
    SEC_DEPTH_MISMATCH            : N                                              
    EXPLAIN_PLAN_CURSOR           : N                                              
    BUFFERED_DML_MISMATCH         : N                                              
    PDML_ENV_MISMATCH             : N                                              
    INST_DRTLD_MISMATCH           : N                                              
    SLAVE_QC_MISMATCH             : N                                              
    TYPECHECK_MISMATCH            : N                                              
    AUTH_CHECK_MISMATCH           : N                                              
    BIND_MISMATCH                 : N                                              
    DESCRIBE_MISMATCH             : N                                              
    LANGUAGE_MISMATCH             : N                                              
    TRANSLATION_MISMATCH          : N                                              
    ROW_LEVEL_SEC_MISMATCH        : N                                              
    INSUFF_PRIVS                  : N                                              
    INSUFF_PRIVS_REM              : N                                              
    REMOTE_TRANS_MISMATCH         : N                                              
    LOGMINER_SESSION_MISMATCH     : N                                              
    INCOMP_LTRL_MISMATCH          : N                                              
    OVERLAP_TIME_MISMATCH         : N                                              
    SQL_REDIRECT_MISMATCH         : N                                              
    MV_QUERY_GEN_MISMATCH         : N                                              
    USER_BIND_PEEK_MISMATCH       : N                                              
    TYPCHK_DEP_MISMATCH           : N                                              
    NO_TRIGGER_MISMATCH           : N                                              
    FLASHBACK_CURSOR              : N                                              
    ANYDATA_TRANSFORMATION        : N                                              
    INCOMPLETE_CURSOR             : N                                              
    TOP_LEVEL_RPI_CURSOR          : N                                              
    DIFFERENT_LONG_LENGTH         : N                                              
    LOGICAL_STANDBY_APPLY         : N                                              
    DIFF_CALL_DURN                : Y      <-- Mismatch here. diff_call_durn
    BIND_UACS_DIFF                : N                                              
    PLSQL_CMP_SWITCHS_DIFF        : N                                              
    CURSOR_PARTS_MISMATCH         : N                                              
    STB_OBJECT_MISMATCH           : N                                              
    ROW_SHIP_MISMATCH             : N                                              
    PQ_SLAVE_MISMATCH             : N                                              
    TOP_LEVEL_DDL_MISMATCH        : N                                              
    MULTI_PX_MISMATCH             : N                                              
    BIND_PEEKED_PQ_MISMATCH       : N                                              
    MV_REWRITE_MISMATCH           : N                                              
    ROLL_INVALID_MISMATCH         : N                                              
    OPTIMIZER_MODE_MISMATCH       : N                                              
    PX_MISMATCH                   : N                                              
    MV_STALEOBJ_MISMATCH          : N                                              
    FLASHBACK_TABLE_MISMATCH      : N                                              
    LITREP_COMP_MISMATCH          : N                                              
    PL/SQL procedure successfully completed.

Maybe you are looking for

  • New tab button doesn't open up new tabs, help please?

    When trying to click the new tab button that lies beside your last open tab, the button highlights and acts like it's working, then when clicked nothing happens.

  • Home Link use in  Apex 3.1.2

    Hello: Does anybody know whether the 'Home Link' attribute's manner of use has changed in APEX 3.1.2 ? With a URL like http://hostname:port/apex/f?p=101 APEX 3.0 results in the login page being displayed and the URL in the URL window remains the same

  • My HP C6300 All in one has suddenly stopped working

    Both Printer and Advent laptop tell me that they are both connected to my Netgear router but nothing happens. When I click on the printer logo all I recieve is an 'Error' message! I have tried everything on the support site without success. I am usin

  • Changing case-sensitivity while upgrading?

    The Macbook pro i recently inherited has a case-sensitive file system and I was hoping to change this by upgrading to Lion. So my question is, is it it possible to do this when upgrading to lion over the Mac store or do I need to get a solid copy of

  • XMP and DNGs

    I convert RAWs in DNGs. When I want to go open a DNG foto in PS-CS2 via Bridge I first "export XMP metadata to file" Is this necessary when working with DNG files?