How to see parallel execution servers

Hi
From a session I am running a query in parallel. Having the session's ID and serial number I want to identify the query coordinator process and the slave processes which run in parallel.
Please, tell me from which views and how can I query this information?
So far, I tried this:
SELECT * FROM gv$px_session WHERE sid = <MY_PARALLEL_SESS_SID>;However it didn't returned any rows. I know the session's query is running in parallel because of the execution plan.
My database version is 11.2.0.2 and my OS is Oracle Solaris 10 X86
Thank you!

Thank you for you reply!
However, the reason I didn't see any rows was that another session had occupied all the parallel processes without releasing them.
Once they were released, my session took them and I could see them in the views.
Nevertheless, thank you for the link, I will definitely read it.

Similar Messages

  • How to achieve parallel execution of two or more Entity Framework queries?

    Hi Everyone,
    I'm creating some WCF service that use EF to query the database for the data that I need. The problem I have at the moment is that I have 2 or more EF LINQ queries which are declared and then executed to bring back my data... but this is in serial. One EF query is issued, and then the next one after that.
    Does anyone know of a simple way to issue the queries in parallel? Or am I looking at async /parallel tasks to get the correct behaviour.
    I know the DBContext is not thread safe, so I have no problem in declaring multiple contexts if required.
    The code so far is as below:
    +using (IMyContext ctx = MyFactory.GetInstance(request.UserId)) {+
    Response response = new Response();
    response.customer = ctx.GetCustomerByAccount(request.data.Account);
    response.custInfo = ctx.GetCustInfoByAccount(request.data.Account);
    response.address = ctx.GetDefaultAddressByAccount(request.data.Account);
    return response;
    +}+
    Thanks in advance,
    Nick

    Hi,
    Although I don't understand why you need to serialized two programs
    that have no dependency on each other, maybe the following code can help provided the programs are executed using specific tcodes.
      DATA: BEGIN OF USR_TABL OCCURS 10.
              INCLUDE STRUCTURE UINFO.
      DATA: END OF USR_TABL.
    CONSTANTS: OPCODE_LIST LIKE TH_OPCODE VALUE 2.
      refresh USR_TABL.
      CALL 'ThUsrInfo' ID 'OPCODE' field OPCODE_LIST
        ID 'TAB' FIELD USR_TABL-SYS.
      sort usr_tabl by mandt bname.
    You can check wheter the other program(tcode) is being run from itab USR_TABL, good luck.
    Jeffrey Satriadi

  • How to avoid parallel execution

    Hello!
    In my database is present undesirable parallelization of the query.
    All involved tables has degree=1,
    if I right understood there is no method to avoid this except reducing of degree of indexes ?
    I'm usung 11.2.0.3
    Thanks and regards,
    Pavel

    Well, you can use the NOPARALLEL hint if you don't want parallelism to be there.
    Aman....

  • Parallel Execution and disk affinity on MPP

    Hello,
    In Chapter 25 Using Parallel Execution
    Oracle® Database Data Warehousing Guide
    10g Release 2 (10.2)
    Part Number B14223-02
    There is a very short quote "Additionally, Oracle Database considers the disk affinity of the granules on MPP systems to take advantage of the physical proximity between parallel execution servers and disks."
    I understand the benefits but :
    - I'm wondering what it really means ?
    - How it can work ?
    - How to demonstrate, show this phenomenon ?
    Best Regards,
    Gregory

    Hi Vency,
    Try posting this in the following forum:
    General Database Discussions
    Thanks, Mark

  • Parallel execution

    Hello!
    One of my views includes
    "decode" in which one of expressions is "select from ... " ,
    all indexes and tables have degree of parallelism equal 1,
    and only sometimes I see parallel execution of guery.
    My question is
    whether can my decode's become the reason of parallel execution?
    Thanks and regards,
    Pavel

    Hi Pavel,
    Pavel wrote:
    Hello!
    One of my views includes
    "decode" in which one of expressions is "select from ... " ,
    all indexes and tables have degree of parallelism equal 1,
    and only sometimes I see parallel execution of guery.
    My question is
    whether can my decode's become the reason of parallel execution?No, decision to run a statement in parallel is taken based on many considerations, e.g. degree of parallelism of the objects involved, session settings (parallel query/parallel DML), cost etc. but use of decode function isn't one of them.
    Best regards,
    Nikolay

  • Parallel Execution and Partitioning ?

    Hi,
    Can anybody explain me -- "How to implement Parallel execution and Partitioning in Data Warehouse?" on a single server.
    Any examples related to implement Parallel Execution helps me a lot.
    Thanks in Advance,
    -Vency

    Hi Vency,
    Try posting this in the following forum:
    General Database Discussions
    Thanks, Mark

  • 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.

  • How do i see query EXECUTION PLAN

    Dear Experts ,
    I'm using Toad, PL/SQL developer and working on very big query but its response is very slow could u please guide any one HOW I SEE EXECUTION PLAN of query to optimize further.
    Faheem Latif
    NetSol Technologies Limited Pakistan.
    www.netsoltek.com, www.leasesoft.biz

    Dear ,
    Thank's for reply but it is showing this error.
    "ORA-02404: specified plan table not found"
    Faheem Latif
    NetSol Technologies Limited Pakistan.
    www.netsoltek.com, www.leasesoft.biz

  • How many days old we can see SQL Executions OEM 11g

    one of my technical guy asked me 5 days back sql session information how many days old we can see SQL Executions OEM 11g ..?

    Metric Historical Information will be saved for a year by default.
    Check http://download.oracle.com/docs/cd/E11857_01/em.111/e16790/repository.htm#i1030660
    SQL Statement execution might be analyzed from AWR snapshots using ADDM.
    You can keep AWR Snapshots as long as you like.
    Bare in mind that this will occupy database space.
    From the Database Home page select the Server tab and select the Automatic Workload Repository link to set Snapshot Retention
    Regards
    Rob
    http://oemgc.wordpress.com

  • How to pass parameters between main and sub vi during parallel execution using the VI server technique?

    Hello All,
    I am working with the following example (from previous postings on this
    board) that demonstrates how to run a sub vi in parallel with the main
    vi.  I'd like to pass parameters between the main and sub such as
    the control (delay) and indicator (value) parameters of my subvi
    example.  Does any one know how to do this?  Parallel
    execution is important for me, I cannot just paste the subvi icon into
    my main diagram (two nested while loops...)
    Many thanks,
    Luis
    Message Edited by cascao on 08-16-2005 08:42 PM
    Message Edited by cascao on 08-16-2005 08:42 PM
    Attachments:
    VI_Server_technique.vi ‏32 KB
    SubVI_1.vi ‏19 KB

    cascao wrote:
    Hello All,
    I am working with the following example (from previous postings on this
    board) that demonstrates how to run a sub vi in parallel with the main
    vi.  I'd like to pass parameters between the main and sub such as
    the control (delay) and indicator (value) parameters of my subvi
    example.  Does any one know how to do this?  Parallel
    execution is important for me, I cannot just paste the subvi icon into
    my main diagram (two nested while loops...)
    Many thanks,
    Luis
    Luis, you can use the VI Server methods 'Set Control Value' and 'Get Control Value', as demonstrated in the attached examples.
    -Franz
    Attachments:
    VI Server.zip ‏26 KB

  • Parallel Execution questions

    Hi everyone, i have few questions about Parallel Execution.
    1- Query Coordinator to scan the table, split up the table to the processes. But, each process take different number of rows. For example, in oracle 10g database architecture, thomas kyte gave an example:
    "SELECT COUNT(*) FROM BIG_TABLE"
    It is distributed to 4 processes. One process take 1000 rows, another process 1200 etc. Why this is not equal? How the number of rows is determined by the QC?
    2- If we do not determine the degree of parallelism ( /*+ PARALLEL(B) */ instead of /*+ PARALLEL(B,16) */ ) how the cbo determine the degree of parallelism?
    3- in the explain plan i see lots of thing i do not know. For example :
    :TQ10000
    what is that?
    -> TQ, IN-OUT, PQ_Disturb columns?
    thanks for responses.

    Hi
    Why this is not equal? How the number of rows is determined by the QC?The number of rows is not used to split the table. Data is split in granules and distributed to the slave processed based on two methods:
    - partition granules: a whole partition is given to a specific slave process
    - block range granules: range of blocks are given to each slave process
    So, depending on the size of the granules, one slave process might process much more data than another.
    If we do not determine the degree of parallelism how the cbo determine
    the degree of parallelism?It depends on the configuration. In fact, there is a default at session level, at system level and at table level. Depending which ones are set, a DOP is chosen. In addition, the DOP might be decreased at runtime (before the execution starts, not dynamically during it).
    For example : :TQ10000 what is that?Producers send data to consumers through so called "table queues" (TQ). The number, in your case 10000, is just a identifier generated by the database engine.
    TQTable queue, e.g.: TQ10000 -> Q1,00
    IN-OUTThis is the relationship between parallel operations. E.g. P->P means that a parallel operation sends data to another parallel operation.
    PQ_Disturb columns?This is the method used to distribute rows. E.g. RANGE means that the producers send specific ranges of rows to different consumers.
    For a more detailed discussion about these topics have a look to the documentation:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14223/usingpe.htm#i1009828
    HTH
    Chris Antognini
    Author of Troubleshooting Oracle Performance, Apress 2008 (http://top.antognini.ch)

  • In SQL Trace how to see which statement getting more time .

    Hi Expart,
    In SQL Trace (T-code ST05) . I am running the standard transaction . how to see which statement
    running more time and less time . suppose one statement running more time so how resolve the
    performance .
    Plz. reply me
    Regards
    Razz

    > The ones in 'RED' color are the statement which are taking a lot of time and you need to
    > optimise the same.
    No, that is incorrect, the red ones show only the ones which need several hundret milliseconds in one execution. This can even be correct for hard tasks. And there are lots of problem, which you will not see
    I have said everything here:
    SQL trace:
    /people/siegfried.boes/blog/2007/09/05/the-sql-trace-st05-150-quick-and-easy
    Go to 'Tracelist' -> Summarize by SQL statements', this is the view which you want to see!
    I summarizes all executions of the same statement.
    There are even the checks explained, the slow ones are the one which need a lot of time per record!
    See MinTime/Rec > 10.000 microseconds.
    Check all number of records, executions, buffer, identicals.
    The SE30 Tipps and Tricks will not help much.
    Siegfried

  • 11g Parallel Execution on AIX 6 - SMT Enabled or Disabled?

    Greetings,
    I've had no luck searching for an answer to this question and I'm hoping someone can answer it:
    Can Oracle 11g Parallel Execution spread the "granules" of paralllism across the threads (logical cpus) in an AIX SMT enabled environment, or should SMT be disabled and the "granules" be spread scross the processors (virtual cpus)? The application is a data warehouse in a non-RAC configuration using a p570 server. From what I've read, the server must be SMP for Oracle parallel execution capabilities to be maximized, but I think all AIX servers are SMP (not sure if the server needs to be ordered as an SMP server). I'm mostly concerned with the data load processing at this point, and not so concerned for the query right now. I believe AIX 6.1 can enable/disable SMT dynamically. So would it make sense to disable during data loads, and enable for DSS query?
    Hope the question makes sense. Thanks for any help in advance!

    SMT will determine Oracle's cpu_count parameter.
    However this is a static parameter.
    So it won't work, and it might be even dangerous to change it on the fly.
    Sybrand Bakker
    Senior Oracle DBA
    Experts: those who did read documentation.

  • "Check Statistics" in the Performance tab. How to see SELECT statement?

    Hi,
    In a previous mail on SDN, it was explained (see below) that the "Check Statistics" in the Performance tab, under Manage in the context of a cube, executes the SELECT stament below.
    Would you happen to know how to see the SELECT statements that the "Check Statistics" command executes as mentioned in the posting below?
    Thanks
    ====================================
    When you hit the Check Statistics tab, it isn't just the fact tables that are checked, but also all master data tables for all the InfoObjects (characteristics) that are in the cubes dimensions.
    Checking nbr of rows inserted, last analyzed dates, etc.
    SELECT
    T.TABLE_NAME, M.PARTITION_NAME, TO_CHAR (T.LAST_ANALYZED, 'YYYYMMDDHH24MISS'), T.NUM_ROWS,
    M.INSERTS, M.UPDATES, M.DELETES, M.TRUNCATED
    FROM
    USER_TABLES T LEFT OUTER JOIN USER_TAB_MODIFICATIONS M ON T.TABLE_NAME = M.TABLE_NAME
    WHERE
    T.TABLE_NAME = '/BI0/PWBS_ELEMT' AND M.PARTITION_NAME IS NULL
    When you Refresh the stats, all the tables that need stats refreshed, are refreshed again. SInce InfoCube queries access the various master data tables in quereis, it makes sense that SAP would check their status.
    In looking at some of the results in 7.0, I'm not sure that the 30 day check is being doen as it was in 3.5. This is one area SAP retooled quite a bit.
    Yellow only indicates that there could be a problem. You could have stale DB stats on a table, but if they don't cause the DB optimizer to choose a poor execution plan, then it has no impact.
    Good DB stats are vital to query performance and old stats could be responsible for poor performance. I'm just syaing that the Statistics check yellow light status is not a definitive indicator.
    If your DBA has BRCONNECT running daily, you really should not have to worry about stats collection on the BW side except in cases immediately after large loads /deletes, and the nightly BRCONNECT hasn't run.
    BRCONNECT should produce a lof every time it runs showing you all the tables that it determeined should have stats refreshed. That might be worth a review. It should be running daily. If it is not being run, then you need to look at running stats collection from the BW side, either in Process Chains or via InfoCube automatisms.
    Best bet is to use ST04 to get Explain Plans of a poor running InfoCube query and then it can be reviewed to see where the time is being spent and whether stats ate a culprit.

    Hi,
    Thanks, this is what I came up with:
    st05,
    check SQL Trace, Activate Trace
    Now, in Rsa1
    on Cube, Cube1,
    Manage, Performance tab, Check Statistics
    Again, back to st05
    Deactivate Trace
    then click on Displace Trace
    Now, in the trace display, after scanning through  the output,
    “ … how do I see the SELECT statements that the "Check Statistics" command executes …”
    I will appreciate your help.

  • Can't see LAN Apache servers.

    With any and all computers on the router, I can see any Apache servers around the LAN, but when iPhone is on WI-FI it cannot see any of them. I get a "Server stopped responding" error. I can see the one server (port mapped in the router) from outside using Edge, but not "inside the loop".
    Is this related to a fix for the early network flip-out at Duke University? Any known way to fix this? I'd like to test some web sites to see how they look on the phone during development.
    Dave.

    Well, I managed to get it working... I reset the router to wide open and it worked, and when I went back to password protection, it still worked... I don't remember now which way I set it, but my router has 2 passwords available... One that allows LAN access and one that only passes Internet through... I "may" have used the Internet only passwords when I first set up the phones. Not sure, but I'm going OK now.

Maybe you are looking for

  • Bootcamp:  Two keyboards needed -- one for Windows and one for Mac?

    Oh, the ground-pounding frustration! I bought the Apple wireless (Bluetooth) keyboard with my new dual-core Intel iMac, and was told it would work in both Windows and Mac worlds. Not so! It works fine with Apple OS, but not with Windows XP. Frustrati

  • HT1277 how to start a sentence in MAIL automatically in caps?????

    in MAIL i cant seem to start each sentence automatically with caps. how do you do this in OUTLOOK it is so simple thnaks

  • URL Attachment in UWL - Task

    Hi All. We're in ECC 5.0 with EP 6.0 My question how to tie specific url i.e.www.sdn.sap.com to particular dialog task. This dialog task built on ABAP Class We setup our dialog task as follows: Our Task TS90000200 have object category "ABAP Class", O

  • Problems downloading j2me

    Hi, I have just downloaded j2se 1.4.1_02 and studio one mobile. I am now trying to download the j2me toolkit, but an error message is consistenly printed out midway into the installation. The message says that "cannot find main class. Program will ex

  • [svn] 2942: Add webapps/webtier/WEB-INF/flex/flex-sdk-description. xml to the ignore list.

    Revision: 2942 Author: [email protected] Date: 2008-08-21 07:52:24 -0700 (Thu, 21 Aug 2008) Log Message: Add webapps/webtier/WEB-INF/flex/flex-sdk-description.xml to the ignore list. Property Changed: flex/sdk/trunk/webapps/webtier/WEB-INF/flex/