Read the results shown in the trace files

Hi,
I have a question,
In oracle 10g or 11g, How can I interpret the results shown in the trace files?
ok I explain more ... when I enable the trace sql session , a trace file is created under user dump!
What 's the meaning of :
*1- PARSING IN CURSOR*
*2- tim= is it in Microseconds? Timestamp ? How can I convert it in seconds?*
*3- STAT*
*4- CLOSE*
*5- hv=*
*6- tim=*
*7- lid=*
*8-dep=*
PARSING IN CURSOR #2 len=104 dep=0 uid=0 oct=2 lid=0 tim=13651992547 hv=3760112805 ad='284c0e6c' sqlid='6shmgvbh1xj55'
INSERT INTO employee(ID,NAME,department_id, DEPARTMENT_SUB_ID) VALUES(10002, 'employee', 12, 0)
END OF STMT
PARSE #2:c=93750,e=102539,p=24,cr=471,cu=0,mis=1,r=0,dep=0,og=1,plh=0,tim=13651992547
EXEC #2:c=0,e=0,p=5,cr=1,cu=7,mis=0,r=1,dep=0,og=1,plh=0,tim=13651992547
STAT #2 id=1 cnt=0 pid=0 pos=1 obj=0 op='LOAD TABLE CONVENTIONAL  (cr=1 pr=5 pw=0 time=0 us)'
CLOSE #2:c=0,e=0,dep=0,type=0,tim=13652013059Thnak you a lot guys,
Smith

794130 wrote:
Thank you,
Sorry, I am new in Oracle and I want to get things really clear (something that is diifficult I think)
When an end user submit a query, one user process communicates the query to a server process.
The server process analyse the syntax and the symentic of the query, this known as the parse process.
The syntax of the query and the tables, columns are verified against the database buffer cache.
One PGA is allocated to store the query.
The server process read from the datafile and gets the results and store it into the shared pool.
The result is then back to the user process and then to the end user
Is it correct ?
Thank you all,
SSome of the above concepts are close. There is a nice description in the Oracle Database Concepts guide of what happens during the processing of a SQL statement (see the stages listed in the documentation):
http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/sqlplsql.htm#sthref3460
It is probably a good idea to distinguish between a hard parse, a soft parse, and a session cursor cache hit:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/glossary.htm#sthref1591
The database buffer cache is not used to verify the validity of SQL statements, but instead as a means to reduce the number of disk accesses that are required to return a query result to a client computer.
One or more pieces of PGA memory may be used simultaneously while processing a SQL statement. I have a couple of blog articles that show multiple PGA memory allocations in use at the same time.
The server process may not need to access a physical data file to return the query results to a client computer, depending of course on the current contents of the buffer cache.
I recommend that you wait a while before trying to work with 10046 trace files. Right now the contents are probably providing too much detail for you, although I definitely recommend that you return to working with 10046 trace files at a later time. A good starting point is either the free Database Concepts Guide:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14220.pdf
or Tom Kyte's "Expert Oracle Database Architecture: Oracle Database Programming 9i, 10g, and 11g Techniques and Solutions, Second Edition" book. You can read my review of that book on Amazon's website:
http://www.amazon.com/Expert-Oracle-Database-Architecture-Programming/dp/1430229462/ref=dp_ob_title_bk
Charles Hooper
Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
http://hoopercharles.wordpress.com/
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc.

Similar Messages

  • I had just put the finishing touches on my 36 minute documentatary when I got an error message that the external 1TB HD I was using to store the project had been ejected improperly (must have shaken a cord).  The result is that the project would not load

    I had just put the finishing touches on my 36 minute documentatary when I got an error message that the external 1TB HD I was using to store the project had been ejected improperly (must have shaken a cord).  The result is that the project would not load in the edit Projects window.  I can see the file in the finder window and it will launch iMovie but the file itself will not load in the projects window.
    I have contacted apple support and they tried to do a few things... to no available.
    With my limited knowledge of file structures I assume that the header file must be corrupt.
    Is there a 3rd party utility that can decompile and fix the file structure so it will load properly.  I've been working on this project since june and would hate to have to redo the whole thing again.

    I had just put the finishing touches on my 36 minute documentatary when I got an error message that the external 1TB HD I was using to store the project had been ejected improperly (must have shaken a cord).  The result is that the project would not load in the edit Projects window.  I can see the file in the finder window and it will launch iMovie but the file itself will not load in the projects window.
    I have contacted apple support and they tried to do a few things... to no available.
    With my limited knowledge of file structures I assume that the header file must be corrupt.
    Is there a 3rd party utility that can decompile and fix the file structure so it will load properly.  I've been working on this project since june and would hate to have to redo the whole thing again.

  • It is required to get the result set from the last query.

    I need this SP to return the result set from the last query.
    SET QUOTED_IDENTIFIER OFF
    GO
    SET ANSI_NULLS ON
    GO
    alter        proc spQ_GetASCBillingRateIDs2
    @ScheduleID CHAR(15),
    @startdate smalldatetime,
    @enddate smalldatetime
    as
    set nocount on
    truncate table tbltmpgroup
    if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[tbltmptbltest]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
    drop table [dbo].[tbltmptbltest]
    exec sp_CreateTblTmpGroup
    insert into tbltmpgroup
    SELECT DISTINCT
    case when pd.billparent = 'N' then org.eligibleorgid
    else isnull(af.parentid, org.eligibleorgid) end as billorgid,
    pd.individualbill , pd.cobrabill, pd.billparent,
    org.eligibleorgid, org.polid, org.orgpolicyid,
    pp.planid,  pp.rateid,
    ps.ascinvoicedate,
    case when ps.ascclaimfromdate > @startdate then ps.ascclaimfromdate
    else @startdate end as premiumrundayFrom,
    case when ps.ascclaimtodate < @enddate then ps.ascclaimtodate
    else @enddate end as premiumrundayTo,
    fts.effdate, fts.termdate,
    case when fts.effdate > @startdate then fts.EffDate
    else @startdate end as ascStartDate,
    case when fts.termdate < @enddate then fts.termdate
    else @enddate end as ascEndDate
    FROM premiumschedule ps (nolock)
    inner join orgpolicy org (nolock)
    on org.ascinvoicerungroup between ps.premiumrundayfrom and ps.premiumrundayto
    inner join FundingTypeStatus fts
    on fts.orgpolicyid = org.orgpolicyid
    and fts.fundtype = 'ASC'
    and ((fts.effdate between @startdate and @enddate)
    or (fts.termdate between @startdate and @enddate)
    or (fts.effdate < @startdate and fts.termdate > @enddate))
    inner join eligibilityorg o (nolock)
    on org.eligibleorgid = o.eligibleorgid
    inner join policydef pd (nolock)
    on pd.polid = org.polid
    inner join policyplans pp (nolock)
    on pp.polid = org.polid
    inner join program p (nolock)
    on pd.programid = p.programid
    left join orgaffiliation af with (nolock)
    on org.eligibleorgid = af.childid
    WHERE ps.premiumscheduleid = @ScheduleID
    AND org.orgpolicyid <> ''
    go
    SELECT DISTINCT z.rateid, e.enrollid, z.ascstartdate, z.ascenddate
    into tbltmptbltest FROM enrollment E (nolock)
    inner join tbltmpgroup z
    on e.rateid = z.rateid
    go
    CREATE UNIQUE CLUSTERED INDEX IDXTempTable  ON tbltmptbltest(enrollid)
    create index IDXTemptableDates on tbltmptbltest(ascstartdate,ascenddate)
    go
    select distinct t.*
    from tbltmpgroup t
    where rateid in (
    select distinct t.rateid from VW_ASC_Billing)
    order by billorgid
    set nocount off
    GO
    SET QUOTED_IDENTIFIER OFF
    GO
    SET ANSI_NULLS ON
    GO

    Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules (you have no idea).
    Temporal data should use ISO-8601 formats. Code should be in Standard SQL as much as possible and not local dialect. 
    What you did post is bad SQL. 
    The prefix “tbl-” is a design flaw called tibbling and we do not do it. We seldom use temp tables in RDBMS; it is how magnetic tape file programmers fake scratch tapes. 
    If the schema is correct, then SELECT DISTINCT is almost never used. 
    Your “bill_parent” looks like a assembly language bit flag; we never use those flags in SQL. 
    “Funding_Type_Status” is an absurd name for a table. A status is a state of being, not an entity. A type is an attribute property. So this table ought to be column that is either a “funding_type” or “funding_status” (with the time period for the state of being
    shown in other columns). But this hybrid is not possible in a valid data model. 
    Want to try again, with DDL and some specs? 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • I entered a new calendar event at I cloud on my laptop.  The enent showed up on my I Phone  4S but, the start and finish times on the entry in I cloud was different than the times shown on the I phone calendar.  How do I sync the time in my I Phone with

    I entered a new calender event using I cloud on my laptop. The enent transfered to my i Phone 5 S but, the start and finish times shown st i cloud on the laptop are different than the times shown on the i phone.  How do I sync the times on the i Phone with the times shown on the laptop i cloud calender?

    Turn off time zone support on the phone.

  • Why is my internet search page gray?  I am able to search a topic, but the 'results' part of the screen is a medium gray color and it won't respond.  Any ideas?

    Why is my internet search page gray?  I am able to search a topic, but the 'results' part of the screen is a medium gray color and it won't respond.  Any ideas?

    Try clearing Safari's cache : Settings > Safari > Clear Cache (and Clear History)
    If that doesn't work then try closing Safari completely and then re-open it : from the home screen (i.e. not with Safari 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Safari app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    A third option is a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • P6 Professional R8.3 - (Cannot move selected items because the result will exceed the limit of WBS tree maximum levels)

    Hi,
    Has anyone encountered this error "Cannot move selected items because the result will exceed the limit of WBS tree maximum levels"?
    Please advise if there's any way around / solution to this. http://s8.postimg.org/bj900spcl/1_error.jpg
    Thanks.

    Thank you so much MichaelRidino!

  • What are the apps shown in the commercials

    what are the apps shown in the commercials

    Shoot! Had I known better, I'd have clicked "This solved my question" and gotten you 10 points instead of 5.
    I thought I'd get to click both.

  • What is the color number in HTML of the result line in the web reports

    Hi guys,
    what is the color number in HTML of the result line in the web reports, its like a yellow, but i m looking for the exactly number color to make some modifications, please

    the same should correspond to a CSS class definition. You execute the report - view source and ideally you should be able to find the class associated with the result cells. You can also go an check out the CSS directly.

  • How can I change the time shown that the picture was taken on the edit panel - it is an hour slow

    How can I change the time shown that the picture was taken on the edit panel - it is an hour slow

    Thanks!  I can't believe I missed that!

  • I cannot record anything on iPod shuffle. Why? I do not recognise any of the windows shown in the various manuals about shuffle. Why? Currently an Orange light is blinking on the shuffle, and has been doing so for hours.  Why?

    I cannot record anything on iPod shuffle. Why? I do not recognise any of the windows shown in the various manuals about shuffle. Why? Currently an Orange light is blinking on the shuffle, and has been doing so for hours.  Why?

    I finally stumbled across a fix for this problem, and in case someone else is frustrated at some point by a similar issue I'm posting what finally worked to enable me to bring iTunes up at any time (without rebooting first).
    The solution was to go to the preferences to uncheck "search for shared libraries".
    I'm glad the problem is fixed, but Apple developers really should include a timeout function on iTunes search for a shared libraries. At least a visual dialog to confirm that the application is in the process of searching for a shared library on the network would help provide clues as to what is causing the spinning beach ball to appear right about the time the application window should pop up.

  • I am working in photshop elements 13 organizer, album view, and would like to resequence (rearrange) the photos shown in the album but am unable to do so.  My understanding is that you can click on the phots that you want to move and drag it to a new loca

    I am working in photshop elements 13 organizer, album view, and would like to resequence (rearrange) the photos shown in the album but am unable to do so.  My understanding is that you can click on the phots that you want to move and drag it to a new location within the same album.  After i select the photo that I want to move and click on the photo, I get a cirlcle with a diagonal throught it and am unable to drag the photo to its new location.  What am I doing wrong?  I know this should be a simple thing to do.  Thanks

    Jimmy RG
    In the Elements Organizer 13
    The key to all this is to click on/select/highlight the Album that you have created in Local Albums.
    Then make sure that the Sort By: (in the row below the highlighted "Media" header is set for Album Order.
    You should see a number at the top left of each of thumbnails.
    Then, click on the thumbnail that you want to move, hold down the click, and drag the thumbnail to the wanted new location
    in the line up of thumbnails.
    Often I had to press down hard on the drag.
    Please let us know if that worked for you.
    Also, in Edit Menu/Preferences/Keyword Tags and Albums/Enable Manual Sorting Options, I set all for manual.
    ATR

  • What is the result of using the "post tax payable" option in the advance ta

    what is the result of using the "post tax payable" option in the advance tax report - program rfumsv00? I know it will then post the input and output tax to the tax payable GL account. But from point of view of reporting, when you run the advance tax report, will there be any change after doing this posting to tax payable account?

    Basic communication aside, J2EE is mostly a synchronous run-time environment. When asynchrony is introduced, a whole new set of infrastructure requirements is needed to support QoS and commercial-quality implementations. In other words, it's not just about API anymore, it's about reliable communication, exception handling, time outs, etc. You may want to look at this Q&A to see some of the benefits provided by J2EE as underlying run-time for orchestration:
    http://searchwebservices.techtarget.com/ateQuestionNResponse/0,289625,sid26_cid511195_tax292928,00.html
    Doron\
    Download Collaxa 2.0
    http://www.collaxa.com

  • How to get ONLY the data shown in the plot area (Chart)

    My chart history length are 120000, often I don't need to save the whole
    buffer, just the data shown in the plot area?
    Richard Pettersen

    Hi Richard,
    you haven't said which version of LabVIEW you're using, so I've assumed 6.1, although this should be fine for older versions too.
    I put down a chart with a scrollbar, so I could go through the old data, and put an indicator attached to the x-scale->Range->minimum and x-scale->Range->maximum. These followed the displayed elements in the chart as I scrolled through the data. You can therefore link in the chart history (history data property of the chart) with a array subset to retrieve the appropriate portion.
    Be aware though. The minimum and maximum that the chart is showing on the x-scale may not be a part of the history data. E.g. if I set the history length to 1000 points, and produce on the first run, 1000 points, then my minimum and maximum are a
    t say 899 and 999. I then produce a second set of data, 1000 points long, and my min and max move to 1899 and 1999. As my history data is only 1000 long, I can scroll back to 1000 OK, but my min and max used as indexes don't relate anymore. The array of data is from 0 to 999, but my indexes can run from 1000 to 1999. So I have to add in a check that sees how much data is available before attempting to index, and then it's down to the flow of the program to try to work out where the data actually is (I'll leave that one to you - you'll need to keep track of the history data compared to the maximum (shown just after a point is added though this then makes a mess of your data! - possible to keep a track of new minimum when adding new data : the maximum (which will show once new data goes on) minus the history length gives the minimum that can be scrolled to - subtract this from all max's and min's to get real offset into the data - history length can be got from the history data and an a
    rray size sub .vi)
    Obviously there's no problem if you're clearing the graph everytime you either plot new data, or reach maximum capacity on the history data as the indexes return to zero.
    Hope that helps
    S.
    // it takes almost no time to rate an answer

  • HT5930 Why does my Aperture v3.5.i look different from the one shown in the online videos

    Why does my Aperture v3.5.i look different from the one shown in the online videos

    Are you asking about the colorful icons in the video?
    The video must have been done with an Aperture version 3.2.4 or earlier. Since Aperture 3.3 are the icons drab and gray - the Aperture 3.3 Release Notes are calling this:
    Newly designed monochrome source list and toolbar icons.
    The Release notes will tell you, what has changed since then:
    http://support.apple.com/kb/TS2518
    --Léonie

  • I have opened a page in WORD and cut and tried to paste a photograph to it. The result is that the page is now frozen with the coloured circle{ cursor} spinning around and not letting me do anything with the page. I only wish to close it down. Thank you

    Have opened a page in WORD and tried to cut and paste to it.  The result is that the page is frozen with the  coloured cursor just spinning around and not letting me do anything with the page. I only wish to close the page down. Thanking you

    Many thanks for your help in this instance. The command-option-shift-esc and force quit solved the problem for me . Now I can get back to using my computer once more

Maybe you are looking for

  • F-47( down payment request) : how to display custom fields ?

    Hello every body, Can you help with this problem? Actually, in my project we created custom fields that appear in the PO (ME21N), the MIGO and the MIR7 and MIRO transaction. Those fields are in the BSEG table but my problem is that I can't display th

  • Autoconfiguration of Mac Mail

    I work for an isp. We are interested in automating the configuration of Mac Mail for our customers. What are the best practices to do so? It seems like Apple knows some informations about my servers, because when I enter my email address, my account

  • Missing texts on a copied smartform

    Hi Guys, I am getting crazy. I copied a smartform to another one but when I testt/use the copied smartform, all the fixed texts are misisng. I am quite sure I am missing something but I  do not know what. Could you please help me? Thanks and Regards,

  • Issues with substitution

    Hi Gurus, Our substitution does not work even though all necessary pre-steps were done, such as importing the substitutions, bounce. But the original VO is still being used. Are there any issues with the substitution mechanism. Thanks for your advise

  • How to view all running processes in system

    If anybody knows how to know what different proesses are running on system please let me the methos.