How to find out exact what part of a query is being executed?

hi guys,
I can use the following query to see what queries are being executed
SELECT
a.sid, a.USERNAME, a.STATUS, b.sql_text
FROM V$SESSION a INNER JOIN V$SQLAREA b
ON a.SQL_ADDRESS= b.ADDRESS; However, is it possible to get a further breakdown of the query? i.e. see what part of the explain plan is actually being done?
thanks

If you did an event 10046 level 8 trace of the session , you might be able to infer which operation it is in. thanks for that.
>
If all the blocks are in the db_cache there would be no waits on, say, 'db file sequential read' or 'db file scattered read'.
SQL> select * from v$system_event where event like 'db_f%';
EVENT                                    TOTAL_WAITS TOTAL_TIMEOUTS TIME_WAITED AVERAGE_WAIT TIME_WAITED_MICRO
db file sequential read                      1558389              0        5913            0          59131163
db file scattered read                       9755066              0       63353            0         633531239
db file single write                           33173              0         262            0           2619012
db file parallel read                            635              0           6            0             55006Are the above normal for a database that has just had one batch job run on it? Or is it too high and I need to increase my db_cache-size?
thanks

Similar Messages

  • How to find out exact labour hour and expenses for each labour attached to

    Team,
    How to find out exact labour hour and expenses for each labour attached to machine
    We are planning to go with CATS.
    But in Cats how Production Planning department get the exact labour coust
    (which includes labour accomodation building , EB etc. paying by comp)
    How to do this in CATS
    REX

    hai
    generally  the schemas are named X000  which stands for common schema  nomination
    x replaced by respective country like for india it is IN00  for US  U000etc
    it is not given according to the group of emplyees but according to the country grouping for your org units
    time schemas are country independent they work for all the countries
    regards
    nalla

  • How to find out who has deleted the production Query

    Hi All,
    I have searche SD , i can find it for infoobject deletion but i couldn't find it for Query.
    Please let me know is there any possiblity to kow
        How to find out who has deleted the production Query
    Awaiting for your replies.
    cheers

    Hi Mahesh and all,
    Thanks for all your  inputs.
    I have tried with RSRREPDIR tabel , I am unable to see that query at all.
    If I use theT-code SLG1,
      please guide me on the steps with paramets to be given in the respective ..object, subobject etc..
    OR
    could you please suggest any other way.
    cheers
    leena

  • How to find out Mapping Loading type using db query

    Is there a way to find out mapping loading type using a database query.
    Is there a table in database which stores loading type information?
    Thanks,
    Niranjan

    hi,
    i found the below
    select
            comp.map_name
           ,comp.map_component_id             comp_map_component_id
           ,comp.operator_type                comp_operator_type
           ,comp.data_entity_id               comp_data_entity
           ,comp.data_entity_name             comp_data_ename
           ,comp.data_entity_type             comp_data_etype
           ,param.map_component_name          param_comp_name
           ,param.parameter_id                param_par_id
           ,param.parameter_name              param_par_name
           ,param.parameter_group_name        param_par_gr_name
           ,param.parameter_type              param_par_type
           ,param.position                    param_position
           ,param.data_type                   param_data_type
           ,param.transformation_expression   param_transform
           ,param.data_item_id                param_data_item_id
           ,param.data_item_name              param_data_item_name
           ,param.source_parameter_name       param_src_parameter
           ,nvl2(param.source_parameter_name,'TARGET','SOURCE') param_INFO
           ,param.map_component_id             param_map_component_id
           ,md.map_component_id                md_map_component_id
           ,md.map_component_name              md_map_component_name
           ,md.parameter_name                  md_parameter_name
           ,md.parameter_id                    md_parameter_id
           ,md.position                        md_position
           ,md.transformation_expression       md_transformation
           ,md.description                     md_description
           ,md.source_expression               md_source_expression
           ,mp.MAP_COMPONENT_ID                    mp_map_component_id
           ,mp.MAP_COMPONENT_NAME                  mp_map_component_name
           ,mp.PROPERTY_ID                        mp_property_id
           ,mp.PROPERTY_NAME                      mp_property_name
           ,mp.PROPERTY_GROUP_NAME                mp_property_group_name
           ,mp.BUSINESS_NAME                      mp_business_name
           ,mp.PROPERTY_VALUE                  mp_property_value
           ,mp.DESCRIPTION                     mp_description
    from all_iv_xform_map_components comp,
         all_iv_xform_map_parameters param,
         ALL_IV_XFORM_MAP_DETAILS md,
         ALL_IV_XFORM_MAP_PROPERTIES mp
    where  mp.business_name                  = 'DATAENTITY.PARMETERS.LOADTYPE'
    and  param.map_component_id           = comp.map_component_id
    and  param.map_component_id           = md.map_component_id(+)
    and  param.parameter_id               = md.parameter_id (+)
    and  md.map_component_id              = mp.map_component_id (+)i think it contains what we require;
    can you check on your side?
    rgds

  • How do I find out EXACTLY what URL/URI a plugin is using and what the format is?

    I just want the above info to help me debug a rather complex problem, details of which below.
    I cant work out how to make BBC iPlayer (which i think is based on Adobe Flash) drive my sound card, which requires ASIO to work bit-perfect.
    NB I really need it to work on my XP Pro sp3 machine connected to my hifi so a windows 7 only solution is not ideal, though I would upgrade if it's the only way.
    many thanks
    John

    Probably off topic but:
    BBC iPlayer uses FlashPlayer for live video streams and Radio streams. It also has options for Windows Media downloads and playback of video, and has options for some mp3 radio downloads and Windows streams of radio are also available.
    Your location bar will show the url being used
    If you use iPlayer Desktop that uses flash and Adobe Air.
    Note there is a BBC [http://www.bbc.co.uk/dna/mbiplayer/ messageboard ]
    and a [http://iplayerhelp.external.bbc.co.uk/help/ help & faq] section with some url s [http://faq.external.bbc.co.uk/questions/radio/online_radiohowto here]

  • Is there a way to find out exactly what a CIN is doing?

    I have a PC VI Library with 2 more VIs left to convert to work on a Mac. They call programmer created source code, and I have no way to reach the programmer. Help?

    Labviewguru:
    Actually the C/C++ forum would be a very poor place to discuss this
    problem since almost no C/C++ programmers know anything at all about
    NI or the LabVIEW development environment - and CINs are an even rarer
    topic yet - but at least some of us LabVIEW developers know something
    about C/C++ development which is more common. This guy has a very
    difficult problem indeed if he doesn't have the source code. His best
    options are:
    1) Find a way to get a copy of the source code. By far the best
    approach. Try locating the developer (assuming the developer hasn't
    died in which case he'll need a OUIJI board and Madam Cleo make
    contact.)
    Try contacting the company that developed the CIN - perhaps they still
    have the source in a file cabinet or hard drive somewhere. (assuming
    the company hasn't folded.) If the company did fold, was it bought
    out by someone else? They may have the old records still even if the
    company has changed hands.
    If this company has good customer service at all they should be
    willing to help. Offer them a small contract to fix the problem if
    they know the hardware.
    2) Decompile it and/or run a debugger on it. There are a number of
    decompilers available. This can help a lot but it is not guaranteed
    to work. It also requires a skilled C/C++ developer.
    I've written CIN's but I've never tried to decompile a CIN before so
    there may be unforeseen difficulties with this approach as opposed to
    decompiling a regular EXE or DLL.
    This is why I am opposed to using CIN's in code these days because it
    is so proprietary, when all the other development environments support
    DLL and ActiveX server. I no longer write CIN's because the code
    can't be reused outside of the NI development environment. I predict
    that CIN's won't be around (unless maybe for compatibility reasons
    with older LV code) in the next major release of LV.
    Also, many developers protect executable targets by encrypting them so
    that you can't decompile them.
    Finally, there may be copyright issues with directly reverse
    engineering the code. It would be better to try option #1 first.
    3) He already knows the data types being input and output and what the
    overall goal of the program is supposed to be so another option is to
    replace the unknown code with code of his own based on program
    requirements/specifications. Can he deduce what the general purpose
    of the CIN is supposed to be? If so he could try to figure out how to
    would implement it just by going at it either in LabVIEW or if
    necessary in C/C++.
    This can be difficult if it involves I/O with a proprietary piece of
    hardware. If so then he will need to get all the documentation from
    the manufacturer, like a software development kit, etc. before
    proceeding with this route.
    4) Given that the inputs and outputs are known, he could set up some
    for loops etc or user controls etc. to go into the CIN and try to
    reverse engineer it by mapping inputs to outputs, i.e. put in values
    to the CIN and try to deduce what it is doing by watching the outputs.
    This is very time consuming, difficult and error prone especially if
    the CIN interacts with hardware.
    5) Replace the unknown hardware and associated code interface nodes
    with known hardware and known code. Be sure to get the source if it
    is from a small time company (mom and pop shop). Obviously big names
    like TI, IBM, NI, and Microsoft are not likely to give you source but
    if the comapny is small, it seems like a reasonable request to ask for
    the sourcec given how quickly companies come and go these days. You
    may have to sign a non-disclosure /non-compete agreement to get the
    code.
    6) Finally, contact NI with the problem, they may have some special
    tools for reverse engineering CIN's beyon what I have mentioned but I
    doubt it.
    Douglas De Clue
    LabVIEW developer (and sometimes C/C++ developer)
    [email protected]
    Labviewguru wrote in message news:<[email protected]>...
    > You should check for the answer to this on a C/C++ forum. I know that
    > there are a number of ways to see what exactly a piece of compiled
    > code does (though not in LabVIEW), but you may not be able to exactly
    > figure out the code.
    >
    > Your best bet is going to be getting the source code, as there is
    > really no way of knowing what is going on without it.
    >
    > There may be ways to bring the code over however, but I don't know of
    > any personally.

  • How to find out the maximum value in a Query

    Dear all,
    Im creating a Query on 0SD_C03 where i have to disply Maximum value of a material..
    EX:
    MATERIAL BILLED VALUE
    x                   1000
    y                   3000
    z                   2500
    in a analyser i have to display only Y and 3000
    We are using BW 7.0 version
    Can any one help me out in this
    Thxs in Advance
    Venu

    Hi Venu,
    You may wish to refer the link below:
    http://help.sap.com/saphelp_nw04/helpdata/en/17/82853c2dc5c505e10000000a11405a/content.htm
    Assign points if this is helpful.
    Regards,
    Anil

  • How to find out the maximum value in a Query within single material

    Dear all,
    Im creating a Query on 0SD_C03 where i have to disply Maximum value of a material which is having more that one transaction..
    EX:
    MATERIAL BILLED VALUE
    x with BILLED VALUE 100
    x with BILLED VALUE120
    y with BILLED VALUE 50
    y with  BILLED VALUE 80
    z with BILLED VALUE 50
    z with BILLED VALUE 60
    in a analyser i have to display X with billed value 120 that is max in X material and
    Y with billed value 80 that is max in Y material and
    Z with billed value 60 that is max in Z material
    In a query all the values are summing up. I.e for X its 220 and Y its 130 and Z its110 but we dont want to get total sum value we want individual values and the maximim of those values.......... 
    We are using BW 7.0 version
    Can any one help me out in this
    Thxs in Advance
    Venu

    Venu,
    In your query try creating a formula, with the value of each record as the key figure in the formula.
    In the aggregation tab select maximum in the exception aggregation dropdown and then select material as the reference characteristic
    then when you include material in the rows it will only display the maximum value.
    cheers
    mark

  • How to find out what generation my Classic is ?

    Can anyone advise me how I find out what generation my iPod Classic is ? Is there a website I can check with ?
    Many thanks,
    Shell

    Hi Niel, the article I get directed to, doesn't really explain the difference between 6th and 7th generation Classics. Is there anywhere (maybe on the Apple website) I can input the Serial Number and Part Number to be exact ?

  • How to find out the exact culpirit session

    How to find out the exact culpirit client machine process to kill the session and release.
    Thanks,

    We can not directly solve this mystery, only you can do so.
    V$SESSION contains data for all connected sessions.
    If no unique combination of fields exists that allows you to identify the culprit client session, then you are out of luck.
    See you started this thread with the premise that 1 session connected to the DB is a problem.
    OK, we will accept this as being true.
    Now via SQL how/what can you SELECT so that only 1 row is returned & that row corresponds to "problem client" session?
    Since this is YOUR system & not ours, only you can solve this mystery.

  • How to find out the exact version of web server 7.0

    Dear all,
    I am using currently web server 7.0 and in error logs its shows me following version
    Sun Java System Web Server 7.0 B12/04/2006 10:15
    what i need how to find out what exact version i am using in my webserver 7.0 is it update 6 or update 7 or update 8
    how to find out what exact version i am using in web server 7.0.....
    thanks and regards
    tiger

    Web Server tells you specifically which Update release in the string you quote (in your string you are running the original release of Web Server 7.0).
    My server is currently running Web Server 7.0 Update 7. The startup string looks like:
    [19/Jan/2010:11:18:27] info (15407): CORE1116: Sun Java System Web Server 7.0U7 B12/14/2009 22:58

  • I receive a Software Update notice that fails. How do I find out who/what is trying to update? How do I stop its attempt to update? The only response allowed is "OK". When OK is selected the window goes away and nothing else happens.

    About once a month I receive the Software update notice that has failed. How do I find out who/what is trying to update? If I decided I want this update how do I allow it to continue? If I decided I do not want this update how do I stop it and its attempt to update? The only response allowed is "OK". When OK is selected the window goes away and nothing else happens.

    Hi sharkbiscuit79,
    Yes your cabinet 10 on the Crediton exchange has already been installed and linked with a FTTC DSLAM cabinet (making it able to provide FTTC fibre broadband) and has been Accepting FTTC orders since December 2013.  PCP10 (with it's DSLAM cabinet within 100meters of it) is locate on the junction of Commercial Road and the A3072.
    However by the looks of things your are just too far away to obtain a FTTC (VDSL2) connection, meaning FTTC fibre broadband is not available to you.
    Have a look at the Connecting Devon and Somerset Considerations (particularly the last paragraph) - http://www.connectingdevonandsomerset.co.uk/where-when-map-conditions/
    Your best bet is to talk to Connecting Devon and Somerset to see if there are any further plans to get a fibre based service to your area via https://www.connectingdevonandsomerset.co.uk/contact-us/ (as your area may not be inscope of any further deployment). Best give them your full address and landline number too as they can check if you are within a NGA area.
    jac_95 | BT.com Help Site | BT Service Status
    Someone Solved Your Question?
    Please let other members know by clicking on ’Mark as Accepted Solution’
    Try a Search
    See if someone in the community had the same problem and how they got it resolved.

  • ADF: How to find out which query has taken what time?

    Hi,
    I have an ADF application which has many SQL queried running on each button click/page load, so how to find out which query is taking what amount of time? So that i can identify the long running queries and modify them to improve the application performance.
    Thanks in advance.

    Hi,
    As suggested by Timo,you need to start tracing on oracle.jbo package for getting the SQL queries.But I think the second option suggested by him would be better.You will have to override executeQueryForCollection method in VO Impl class .Pseudo code would be
    @Override
    Take start time
    super.executeQueryForCollection
    Take end time

  • How to find out what user locked account

    We had production type schema account locked this morning. I checked profile which this user belongs and it has 3 times for Failed Login Attempts. My question is how to find out what user had 3 unsuccessful login attempts and lock this account.
    Oracle version 8.1.7

    Assuming that [auditing was enabled|http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/security.htm#sthref2916], the command
    AUDIT CONNECT WHENEVER NOT SUCCESSFULThat will write audit records when there is an unsuccessful login. Depending on how you've configured auditing, those records will either be written to the SYS.AUD$ table, in which case you can query them through a few different views, or to a file on the operating system that you can grep.
    Justin

  • "Web'n'Walk III" Huawei dongle, how to find out what Huawei model it is?

    I just bought this "web 'n' walk III" UMTS Modem (USB) made by Huawei. I want to instal it but do not know if the enclosed software is out of date (MobileConnectDriver(2.9.2)) and works under SL. Does anybody know how I find out what type of Huawei dangle it is so I can find the correct software?
    any tips as to how to use this smoothly as the stick is to SIM locked and I will use it with a SIM from an other provider (Stick is branded by T-Mobile).

    I worked out the model number, it is 'hidden' in small print on the back, in a larger number.

Maybe you are looking for

  • Start up problem. Please help!

    I have a MacBook Pro that will not start up. After pressing the power button a get a white screen with the apple logo. Then a few seconds later a load bar will pop up at the bottom of the screen. It loads all the way, then the computer shuts down. An

  • Media back up client in using MIDP 2.0 MMAPI

    Hi everybody, I want to use J2ME MIDP 2.0 MMAPI for series 60 v2.0 in order to develop application that can upload and download medias files to and from a Server, therefore my questions are: -Can You access the default media files folders (Image, sou

  • Can 7.3 e-mail?

    Could you please tell me if 7.3 has an e-mail capability, and if it does, what is it? Thank you.

  • HT3442 Why do my Faces keep disappearing?  Help!

    I just upgraded to iPhoto '11 and am trying to organize my faces however they have disappeared on 2 separate occasions and I've needed to start over.  What could be the problem?

  • Problems with Nano and Lanyard...

    I recently sent my Nano back to Apple for service . I use my Nano to Work out with along with a Crystal Case and Lanyard Headphones. When you workout people tend to sweat and because of the horrible design on Apples part they Claim that it is My Faul