Phase of extraction in a trace file

Oracle version: 11.2.0.3.0 Enterprise Edition
Operating system - IBM/AIX RISC System/6000

I'm trying to generate a trace file from a piece of code executed by the java server. What I asked the java developer to do is to place this block immediately after a connection is established:
BEGIN
  EXECUTE IMMEDIATE 'ALTER SESSION SET TRACEFILE_IDENTIFIER = ''M1''';
  dbms_monitor.session_trace_enable(waits => FALSE, binds => TRUE);
END;
And at the end of the block of logic java code:
BEGIN
  dbms_monitor.session_trace_disable;
END;
I want to know is how many lines the java Server recovers after executing a particular select statement, because they complain about getting less account lines select statement waits.
For example, if I run the same query sql in the sqlplus session, then we'll, I extract say 1000 rows.
When the same query is executed on the side of java, the lines of recoveries are less in number, let's say 500.
And because I doubt it, I wanted to trace to see what is actually executed and how.
The extract of the trace file I see exactly the same query that I myself run in a sqplus session.
There is no precise control over the udnerlying tables in the query.

And my question is, how to interpret the phase EXTRACTION of the slider (for the select statement)?
For example, if I see a FETCH for this cursor, this means that the java server retrieves a single row?
If I see 100 extractions, this means that they recovered 100 lines of the cursor?

Here's a short excerpt from the trace file (please don't crucify me for obvious denormalized tables design, and the request it is not invented by me):
PARSING IN CURSOR #4573587152 len=667 dep=0 uid=737 oct=3 lid=737 tim=17685516462413 hv=954980718 ad='70000006d3e4940' sqlid='69pm96nwfrqbf'
select /* ordered */ o.id, nvl(o.par_id, -1) as par_id, o.NAME_GER, o.NAME_ENG, o.NAME_ESP, o.NAME_ITL,o.NAME_FRA, decode(lo.lflag, 'Y', 'L', 'N') as leaf_or_node, lo.distance + 1 as "LEVEL",  to_char(o.beg_date, 'DD.MM.YYYY HH24:MI:SS'),  o.mais_id, l.path, nvl(o.non_selectable, 'N')  from   st_prod o, lprod_new l, lprod lo where  o.end_date = to_date('31.12.3999', 'DD.MM.YYYY') and   (lo.id, lo.beg_date) in (select id, beg_date from st_prod where par_id is null and end_date = to_date('31.12.3999', 'DD.MM.YYYY')) and   lo.lid = o.id and lo.lid_beg_date = o.beg_date and   l.st_prod_id = o.id and l.st_prod_beg_date = o.beg_date order by lo.distance, o.name_ger
END OF STMT
PARSE #4573587152:c=31,e=152,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=2027551050,tim=17685516462412
EXEC #4573587152:c=80,e=375,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=2027551050,tim=17685516462936

*** 2013-03-11 11:28:09.122
FETCH #4573587152:c=519446,e=892645,p=0,cr=113446,cu=0,mis=0,r=10,dep=0,og=1,plh=2027551050,tim=17685517355715
FETCH #4573587152:c=37,e=59,p=0,cr=0,cu=0,mis=0,r=10,dep=0,og=1,plh=2027551050,tim=17685517359109
FETCH #4573587152:c=39,e=63,p=0,cr=0,cu=0,mis=0,r=10,dep=0,og=1,plh=2027551050,tim=17685517361128
FETCH #4573587152:c=29,e=46,p=0,cr=0,cu=0,mis=0,r=10,dep=0,og=1,plh=2027551050,tim=17685517362849
FETCH #4573587152:c=31,e=48,p=0,cr=0,cu=0,mis=0,r=10,dep=0,og=1,plh=2027551050,tim=17685517364621
<162 more FETCH-es here>
<STAT phase>
CLOSE #4573587152:c=533,e=849,dep=0,type=1,tim=17685517671878
It is possible based on the trace file (if I have to change something in the way of tracing) to determine the number of rows retrieved?
FETCH #4573587152:c=519446,e=892645,p=0,cr=113446,cu=0,mis=0,r=10,dep=0,og=1,plh=2027551050,tim=17685517355715
FETCH #4573587152:c=37,e=59,p=0,cr=0,cu=0,mis=0,r=10,dep=0,og=1,plh=2027551050,tim=17685517359109
FETCH #4573587152:c=39,e=63,p=0,cr=0,cu=0,mis=0,r=10,dep=0,og=1,plh=2027551050,tim=17685517361128
FETCH #4573587152:c=29,e=46,p=0,cr=0,cu=0,mis=0,r=10,dep=0,og=1,plh=2027551050,tim=17685517362849
FETCH #4573587152:c=31,e=48,p=0,cr=0,cu=0,mis=0,r=10,dep=0,og=1,plh=2027551050,tim=17685517364621

Each FETCH call returns r = number of lines.

Run TKPROF trace file for a readable activity summary.

How to interpret the phase EXTRACTION of the slider (for the select statement)?

The java code uses a default fetchsize to 10 (lines per extraction).

Tags: Database

Similar Questions

  • How simple extraction do more consistent results in trace file,

    Hello Experts,

    In my trace file, one thing I don't understand is clearly why a single extraction contains more than 1 get consistent results? Can someone just explain this please? As you can see only the first and the last extraction get over a uniform result (cr = 5, cr = 2).

    Is this possible? Why is that?

    My last question is to make recursive calls is the value of cr (consisten GETS) increase? If so, what fetch is done of this? first? second? third?

    =====================

    PARSING IN CURSOR #2 len = 23 dep = uid 0 = 85 oct = cover 3 = 85 tim = hv 2197698804 = ad 4069246757 = "7ff5f323410" sqlid = "f34thrbt8rjt5."

    Select * from employees

    END OF STMT

    ANALYSIS # 2: c = 0, e = 80, p = 0, cr = 0, set cu = 0, = 0, r = 0, dep = 0, og = 1, plh is 1445457117, tim = 2197698803

    # 2 EXEC: c = 0, e = 37, p = 0, cr = 0, set cu = 0, = 0, r = 0, dep = 0, og = 1, plh is 1445457117, tim = 2197698938

    WAITING #2: nam ='SQL * Net message to client' ela = driver id 6 = 1111838976 #bytes = 1 p3 = 0 obj #=-1 tim = 2197699018

    FETCH # 2: c = 0, e = 92, p = 0,cr = 5, cu = 0, = 0, r = 1, dep = 0, og = 1, plh is 1445457117, tim = 2197699158

    WAITING #2: nam ='SQL * Net client message' ela = 464 driver id = 1111838976 #bytes = 1 p3 = 0 obj #=-1 tim = 2197699670

    WAITING #2: nam ='SQL * Net message to client' ela = 2 driver id = 1111838976 #bytes = 1 p3 = 0 obj #=-1 tim = 2197699751

    FETCH # 2: c = 0, e = 92, p = 0, cr = 1, cu = 0, = 0, r = 15, dep = 0, og = 1, plh is 1445457117, tim = 2197699827

    WAITING #2: nam ='SQL * Net client message' ela = driver id 10342 = 1111838976 #bytes = 1 p3 = 0 obj #=-1 tim = 2197710219

    WAITING #2: nam ='SQL * Net message to client' ela = 4 driver id = 1111838976 #bytes = 1 p3 = 0 obj #=-1 tim = 2197710375

    FETCH # 2: c = 0, e = 82, p = 0, cr = 1, cu = 0, = 0, r = 15, dep = 0, og = 1, plh is 1445457117, tim = 2197710435

    WAITING #2: nam ='SQL * Net client message' ela = 6642 driver id = 1111838976 #bytes = 1 p3 = 0 obj #=-1 tim = 2197717124

    WAITING #2: nam ='SQL * Net message to client' ela = 3 driver id = 1111838976 #bytes = 1 p3 = 0 obj #=-1 tim = 2197717210

    FETCH # 2: c = 0, e = 59, p = 0, cr = 1, cu = 0, = 0, r = 15, dep = 0, og = 1, plh is 1445457117, tim = 2197717249

    WAITING #2: nam ='SQL * Net client message' ela = 5954 driver id = 1111838976 #bytes = 1 p3 = 0 obj #=-1 tim = 2197723240

    WAITING #2: nam ='SQL * Net message to client' ela = 2 driver id = 1111838976 #bytes = 1 p3 = 0 obj #=-1 tim = 2197723350

    FETCH # 2: c = 0, e = 53, p = 0, cr = 1, cu = 0, = 0, r = 15, dep = 0, og = 1, plh is 1445457117, tim = 2197723389

    WAITING #2: nam ='SQL * Net client message' ela = 5356 driver id = 1111838976 #bytes = 1 p3 = 0 obj #=-1 tim = 2197728775

    WAITING #2: nam ='SQL * Net message to client' ela = 1 driver id = 1111838976 #bytes = 1 p3 = 0 obj #=-1 tim = 2197728843

    FETCH # 2: c = 0, e = 54, p = 0, cr = 1, cu = 0, = 0, r = 15, dep = 0, og = 1, plh is 1445457117, tim = 2197728882

    WAITING #2: nam ='SQL * Net client message' ela = 5827 driver id = 1111838976 #bytes = 1 p3 = 0 obj #=-1 tim = 2197734740

    WAITING #2: nam ='SQL * Net message to client' ela = 3 driver id = 1111838976 #bytes = 1 p3 = 0 obj #=-1 tim = 2197734899

    FETCH # 2: c = 0, e = 83, p = 0, cr = 1, cu = 0, = 0, r = 15, dep = 0, og = 1, plh is 1445457117, tim = 2197734956

    WAITING #2: nam ='SQL * Net client message' ela = 6038 driver id = 1111838976 #bytes = 1 p3 = 0 obj #=-1 tim = 2197741053

    WAITING #2: nam ='SQL * Net message to client' ela = 2 driver id = 1111838976 #bytes = 1 p3 = 0 obj #=-1 tim = 2197741166

    FETCH # 2: c = 0, e = 117, p = 0, cr = 2, set cu = 0, = 0, r = 15, dep = 0, og = 1, plh is 1445457117, tim = 2197741264

    WAITING #2: nam ='SQL * Net client message' ela = 4365 driver id = 1111838976 #bytes = 1 p3 = 0 obj #=-1 tim = 2197745665

    WAITING #2: nam ='SQL * Net message to client' ela = 1 driver id = 1111838976 #bytes = 1 p3 = 0 obj #=-1 tim = 2197745714

    FETCH # 2: c = 0, e = 37, p = 0,cr = 2, cu = 0, = 0, r = 1, dep = 0, og = 1, plh is 1445457117, tim = 2197745738

    "STAT #2 = 1 cnt = 107 pid = 0 pos = 1 obj id = 73948 op ='TABLE ACCESS FULL EMPLOYEES (cr = 15 pr = 0 pw = time 0 = 0 cost = US size 3 = 7383 card = 107)"

    2014-01-04 23:34:20.251

    WAITING #2: nam ='SQL * Net client message' driver ela = id 4200655 = 1111838976 #bytes = 1 p3 = 0 obj #=-1 tim = 2201946471

    ISSUE # 2: c = 0, e = 32, dep = 0, type = 0, tim = 2201946695

    =====================

    Thanks in advance.

    Franck,

    Looks like you think of the freelist management.

    Under the SAMS, the cr number gets reported in the first extraction could be much higher - probably up to 16 - and it still is missing a number of visits due to the segment header block and the blocks of space management. Unfortunately I don't know of a mechanism to track the visit of each block in 11g (which I think is using the OP).

    Concerning

    Jonathan Lewis

  • Interpreting the Trace file.

    Hi, I use 10.2.0.4.0 oracle version.

    I have some info to trace file as below, for one of the query. So how should I interpret the trace file? What is the problem in the application and scope of the improvements in the query? Please note that I withdrew the request and plans of the trace file, I've posted only the sections of waiting.
    call     count       cpu    elapsed       disk      query    current        rows
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    Parse        1      0.14       0.13          0          0          1           0
    Execute      1      6.63     162.12      33540      72921        383           0
    Fetch    17272    178.89    1933.95     274835    3147603         20      259063
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    total    17274    185.66    2096.21     308375    3220524        404      259063
    
    Misses in library cache during parse: 1
    Optimizer mode: CHOOSE
    Parsing user id: 36  
    
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      control file sequential read                    4        0.00          0.00
      db file sequential read                    302812        0.62       1913.89
      latch: cache buffers chains                     3        0.04          0.04
      direct path write temp                        501        0.01          0.30
      SQL*Net message to client                   17272        0.00          0.04
      db file scattered read                        120        0.02          0.63
      direct path read temp                         608        0.14          1.71
      SQL*Net message from client                 17272       44.81      31865.74
      SQL*Net more data to client                    15        0.00          0.00
      latch: object queue header operation            1        0.00          0.00
      latch: library cache                            3        0.03          0.04
      latch: library cache pin                        1        0.00          0.00
      latch: cache buffer handles                     1        0.00          0.00
    
    
    
    ********************************************************************************
    
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    
    call     count       cpu    elapsed       disk      query    current        rows
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    Parse        1      0.14       0.13          0          0          1           0
    Execute      1      6.63     162.12      33540      72921        383           0
    Fetch    17272    178.89    1933.95     274835    3147603         20      259063
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    total    17274    185.66    2096.21     308375    3220524        404      259063
    
    Misses in library cache during parse: 1
    
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      SQL*Net message to client                   17275        0.00          0.04
      SQL*Net message from client                 17274       75.57      31941.39
      SQL*Net more data from client                   2        0.00          0.01
      db file sequential read                    302812        0.62       1913.89
      control file sequential read                    4        0.00          0.00
      latch: cache buffers chains                     3        0.04          0.04
      direct path write temp                        501        0.01          0.30
      db file scattered read                        120        0.02          0.63
      direct path read temp                         608        0.14          1.71
      SQL*Net more data to client                    15        0.00          0.00
      latch: object queue header operation            1        0.00          0.00
      latch: library cache                            3        0.03          0.04
      latch: library cache pin                        1        0.00          0.00
      latch: cache buffer handles                     1        0.00          0.00
    
    
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    
    call     count       cpu    elapsed       disk      query    current        rows
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    Parse       11      0.02       0.01          0          0          0           0
    Execute    348      0.20       0.17          0          0          1           0
    Fetch      367      0.06       0.37         59       1187          0        3806
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    total      726      0.28       0.56         59       1187          1        3806
    
    Misses in library cache during parse: 11
    Misses in library cache during execute: 10
    
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      db file sequential read                        59        0.01          0.32
    
        1  user  SQL statements in session.
      348  internal SQL statements in session.
      349  SQL statements in session.
    ********************************************************************************

    But rewrite the SQL code will probably be irrelevant.

    If most of the numbers in the file plan and execution of trace is correct, then it is not more time is lost somewhere in the network that you send to 260 000 lines back and forward with a size of 15 lines extraction (the default in sql * more)?

    You must increase the size of mining significantly.

    And you can watch some of the writings of Charles Hooper on the monitoring network:
    http://hoopercharles.WordPress.com/category/network-monitoring/

  • CoreTelephony error in trace file as a file for coretelephony tracing operation has failed, perhaps you need more disk space. Details "error opening the file/tmp/ct.shutdown, err = operation not permitted

    I got this error:

    "CoreTelephony Trace file error
    A file for CoreTelephony tracing operation failed, you might run out of disk space. Details "error opening the file/tmp/ct.shutdown, err = operation not permitted"

    I tried to solve it by searching for CoreTelephony errors. Could not resolve yet.
    Software does not, especially of photoshop...

    Any ideas?

    Same thing here, iMac with OS X 10.11.6. All started a couple days ago. Have not found any valid solution online yet, I tried rebooting in recovery mode and check disk, but it seems that everything is ok with the drives and permissions.

  • CoreTelephony trace file error pops up suddenly

    I'm on iMac (retina 4K, 21.5 inches, end of 2015)

    Processor: Intel Core i5 to 3.1 GHz

    Memory: 8 GB 1867 MHz DDR3

    OS X El Capitan (10.11.3)

    When I turned on my computer this morning a message box is displayed:

    "CoreTelephony Trace file error"

    A file for CoreTelephony tracing operation failed, you might run out of disk space. Details "error opening file /tm/ct.shutdown,err = operation not permitted"

    Then I just ignored it but when I open Xcode and run my the simulator program is unable to start. I do not change Xcode or something. He thinks that he has been affected by this error.

    Please help me. Thanks in advance

    I get the same error message to unexpectedly without good reason

    My specs:

    MacBook Air (13 inch, early 2015)

    Intel Core i7 2.2 GHz

    8 GB 1600 MHz DDR3

    Intel HD Graphics 6000 1536 MB

    I tried a google search and didn't find any solution that seems to work

    I don't know if it's my antivirus Sophos or another application to the original of this

    I even installed the latest update and have the latest version 10.11.6 (15G 31)

    Any help please?

  • Trace file error CoreTelephony - more (El Capitan 10.11.3) disk space

    Hello. My Mac (Macbook Air 2013) started crashing, most often when I have 3 + tabs open in Chrome, or when I play Football Manager and have Chrome open, as if it's getting overworked. Normally I could easily do this, and I've done it since I got my Mac. But suddenly he crashes, freezes and shuts down, and when I reboot I get this message before you start: it is said: trace file error Coretelephony a file for coretelephony tracing operation failed, you might run out of disk space.

    I have 56 GB / 120 GB left, it makes no sense.

    Someone had the same problem, or maybe a solution? Thank you.

    These must be run as administrator. If you have only one user account, you are the administrator.

    Please launch the Console application in one of the following ways:

    ☞ Enter the first letters of his name in a Spotlight search. Select from the results (it should be at the top).

    ☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    In the Console window, select

    DIAGNOSIS AND diagnostic USE information reports ▹ System

    (not diagnose them and use Messages) in the list of logs on the left. If you don't see this list, select

    List of newspapers seen ▹ display

    in the menu bar.

    There is a disclosure triangle to the left of the list item. If the triangle is pointing to the right, click it so that it points downwards. You will see a list of reports. A report of panic has a name that begins with "Kernel" and ends with ".panic." Select the most recent. The content of the report is displayed at right. Allows you to copy and paste to validate all of the content, text, not a screenshot.

    If you don't see any report, but you know, there was a panic, you have chosen diagnostic and using the list of Log Messages. INFORMATION on the USE of DIAGNOSTIC AND choose instead.

    In the interest of privacy, I suggest that, before posting, you change the UUID ' anonymous, ' a long string of letters, numbers and dashes in the header of the report, if it is present (it cannot be). "

    Please do not post other types of diagnostic report.

    I know that the report is long, perhaps several hundred lines. Please report all this anyway.

    When you post the report, an error message may appear on the web page: "you have included content in your post that is not allowed", or "the message contains invalid characters." It's a bug in the forum software. Thanks for posting the text on Pastebin, then post here a link to the page you created.

    If you have an account on Pastebin, please do not select private in exposure menu to paste on the page, because no one else that you will be able to see it.

  • set up the default trace file

    I would like to know how to configure the trace file by default so that I receive event log entries related to the trace of departure.  I know also what tracks are available and how to ensure that one does not work that I don't need.

    Hello

    I suggest you return the item mentioned below.

    default trace enabled Option

    http://msdn.Microsoft.com/en-us/library/ms175513.aspx

    If this does not help then, I suggest that you post your query in the MSND forums for assistance.

    http://social.msdn.Microsoft.com/forums/en/categories/

  • QT_TR_NOOP() macro does not mark the string for the extraction of the .ts file

    Hello

    Because I want to put all the translatable texts in one place, I defined a separate category for that. The .h file similar to below:

    #ifndef TEXTCONSTANTS_H_
    #define TEXTCONSTANTS_H_
    
    #include "qobject.h"
    
    class TextConstants : public QObject {
        Q_OBJECT
    
    public:
        static const char *SWITCH_APP;
    };
    
    #endif /* TEXTCONSTANTS_H_ */
    

    And the .cpp file similar to below:

    #include "TextConstants.h"
    
    const char *TextConstants::SWITCH_APP = QT_TR_NOOP("Switch App");
    

    Note that in the file above, I use QT_TR_NOOP() macro to mark the string given for extraction of the .ts file. This is mentioned in the documentation at https://developer.blackberry.com/native/documentation/cascades/device_platform/internationalization/....

    I then called tr (TextConstants:WITCH_APP) in a different subclass of QObject. The problem is that the text "App switch" is not extracted from the .ts file, why? If I call tr() and skip the text "App Switch" like tr ("Switch App"), this text is extracted from the .ts file. Am I missing a few things to make it work? Thank you.

    PS. I use® for QNX Momentics® IDE for BlackBerry® 10 native SDK, Version: 10.1.0, Build id: v201303191709

    Hello.

    I think you have misunderstood my suggestion.  I was only suggesting that you call the function tr() in your statement of constant ithat you posted nstead of QT_TR_NOOP(), not in other parts of your code, to see if the compiler accepts it and the chain gets extracted correctly.

    If this does not work, I'll try to track down the code of the work for the purposes of comparison.

    Sorry if I wasn't clear before.

  • "Media player is unable to extract one or more files to a CD." when extracting files

    original title: message said that media player is unable to extract one or more files to the cd. I pulled forward, what can be the reason

    I ripped some cd before. While he was trying to rip some more lately I get the message that media player is unable to extract one or more files to the cd in the drive. I have no idea why this has happened. Someone at - he a clue.

    Hello

    You receive the error that Windows Media Player is unable to extract one or more tracks from the CD. The error is often caused when you try to copy the CD to a poor quality.

    Follow the steps and make sure you have an audio recording of best quality.

     (a) open Windows Media Player.

    (b) in Windows Media Player, click Tools in the menu file . If you don't see the file menu, press the ALT key .

    (c) in Tools , click on Options.

    (d) in the Options window, click the Rip music tab, and drag the Audio quality slider to the right where it is, either the best quality, or the second highest quality.

    You can also follow this thread and refer to the suggestions posted by Zpete and Divya R who helped solve a similar question.
    http://social.answers.Microsoft.com/forums/en-us/w7music/thread/93c279f7-89ae-4a7c-B7EA-fdc7785ed335

  • trace file question

    Hi Master,

    Please help me understand the TKProf file. How to identify what / my query takes a lot of time in the trace file. Trace file with over 100 queries. How can I understand?

    Please advise me.

    Concerning

    AR

    TKProf utility takes sorting option, you can sort your queries using exeela (run time) or other people and find that question / questions first.

  • Question about errors stored in our trace files

    DB version: 12.1.0.2.5 Linux

    I'm looking for trace files for one of our production database and I see entries that are similar to the following:

    kjgcr_StatCheckLCP: getweinfo returned error, kjzsret = 0 x 0

    I Googled, searched this forum and the research in the MOD and I can't find what it means.

    Does anyone have an idea of what they show?

    Thank you

    Thomas

    Thomas Morgan wrote:

    DB version: 12.1.0.2.5 Linux

    I'm looking for trace files for one of our production database and I see entries that are similar to the following:

    kjgcr_StatCheckLCP: getweinfo returned error, kjzsret = 0 x 0

    I Googled, searched this forum and the research in the MOD and I can't find what it means.

    Does anyone have an idea of what they show?

    Thank you

    Thomas

    submit the Service request to MOS

  • CPU wait in trace files?

    Hello world

    I have a doubt: cpu events (for example "logical reading of cache bytes") enter trace files when tracing with level 12?

    Thanks in advance

    Laughing out loud

    This isn't a wait event "what I expect."

    It is a ' what I'm working on ' while the processor.

    Source is statistics of session.

    Session/state event tells you what you're doing.

    Session statistics will tell you why you are doing something.

    Or, actually, "logical reading of cache bytes" are more a summary measure. Other session statistics will contribute to this and you say why you read this for hiding, for example if it is a complies then the different categories of uniform get reasons, etc.

  • Trace file has many references obj # but this oppose is nowhere in SQL statements

    Hi all

    Oracle 11.2.0.3 x 64 on x 64 Linux.

    No CARS.

    I have a trace file (captured with lie = true, wait = true) where inside, I have a large number of obj # references for the object that is not in the above trace file nowhere.

    Example of part of the trace file:

    ...

    PARSING IN CURSOR #22 len = dep 52 = uid 0 = 46 oct = cover 3 = 46 tim = hv 43179827168145 = ad 1014772292 = "c00000023baba230" sqlid = "amqq2ncy7sck4."

    Select TNC in PF_TRX where (CTN =: b0 and ROWNUM = 1)

    END OF STMT

    ANALYSIS #22:c = 0, e = 17, p = 0, cr = 0, cu = 0, set = 0, r = 0, dep = 0, og = 1, plh is 2442708035, tim = 43179827168144

    LINKS FOR #22:

    Link #0

    oacdty = 01 mxl = 32 (25) = 00 mxlc bad = 00 = 00 = 00 pre scl

    oacflg = 00 fl2 = 1000000 frm = 01 csi = 32 off siz = 32 = 0

    kxsbbbfp = 9fffffffbf5faba0 = 32 avl bln = 10 flg = 05

    value = "0606015172".

    EXEC #22:c = 0, e = 94, p = 0, cr = 0, cu = 0, set = 0, r = 0, dep = 0, og = 1, plh is 2442708035, tim = 43179827168314

    WAITING #22: nam ='SQL * Net message to client' ela = 1 driver id = 1413697536 #bytes = 1 p3 = 0 obj #= 775422 = 44216143020385 tim

    FETCH #22:c = 0, e = 13, p = 0, cr = 2, cu = 0, set = 0, r = 1, dep = 0, og = 1, plh is 2442708035, tim = 43179827168378

    "STAT id #22 = 1 cnt = 1 pid = 0 obj = 0 op = pos = 1' STOPKEY COUNTY (cr = 2 pr = 0 pw = time 0 = 0 US)"

    STAT #22 = 2 cnt = 1 pid = 1 pos = 1 obj id = 8236 op ='INDEX RANGE SCAN PF_TRX_1IX (cr = 2 pr = 0 pw = time 0 = 0 US cost = 1 size = 11 card = 1)'

    WAITING #22: nam ='SQL * Net client message' ela = 135 driver id = 1413697536 #bytes = 1 p3 = 0 obj #= 775422 tim = 44216143020630

    ...

    obj #= 775422 is an index into a schema user wealth of paintings, consideration of related things.

    But the picture, who own index which is never mentioned in the trace file all (DDL, DML, or Select statement).

    TKPROF does not display as well without the presence of this table.

    How to interpret these topics, as registrations in the event of mine is the biggest event of waiting.

    THX,

    Damir

    «SQL * Net message to client "is in fact a wait on the BONE (layers TCPIP).»  Oracle is not clear when the package reaches the customer, he knows only that she has presented the package to the TCPIP services provided by the operating system on the database server.

    Hemant K Collette

  • Trying to manage the background trace files

    With all the parameters of track known to zero, there are daily newspapers of processes that have no discernible purpose.  I'm looking for advice and solutions to reduce chatter.  I searched and have not yet found a source to explain why we need them.

    Since RDBMS 11 g, you can set the parameters of adrci SHORTP_POLICY and LONGP_POLICY.

    For example:

    [oracle@xxxxxxx ~] $ adrci

    ADRCI: Version 11.2.0.3.0 - Production on Mon Feb 4 11:15:54 2013

    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

    Basis of the ADR = ' / u01/app/oracle '.
    adrci > show houses
    Houses of ADR:
    diag/rdbms/xxx/xxx
    diag/tnslsnr/xxxxxx/listener
    adrci > put House diag/rdbms/xxx/xxx
    adrci > set (SHORTP_POLICY = 240) # 240 hours: 10 days
    adrci > set (LONGP_POLICY = 240)
    adrci > put House diag/tnslsnr/xxx/listener
    adrci > set (SHORTP_POLICY = 240)
    adrci > set (LONGP_POLICY = 240)

    You can manually delete the trace files:

    adrci > put House diag/tnslsnr/xxx/listener

    adrci > purge - age 1440 - type track

    I hope this helps

    Borys

  • Trace file is not getting created - TKPROF

    Hello

    the trace file is not created when trying to find the result TKPROF

    I did the following steps:

    1 ALTER SYSTEM SET TIMED_STATISTICS = TRUE;

    2.

    @/rdbms/admin/utlxplan.sql

    CREATE SYNONYM PUBLIC PLAN_TABLE FOR SYS. PLAN_TABLE;

    GRANT SELECT, INSERT, UPDATE, DELETE ON SYS. PLAN_TABLE TO THE PUBLIC;

    3.

    ALTER SESSION SET SQL_TRACE = TRUE;

    SELECT COUNT (*)

    DOUBLE;

    ALTER SESSION SET SQL_TRACE = FALSE;

    So I check USER_DUMP_DEST directory that is mentioned in the init.ora file... but I couln t find any trace file

    NOTE: file init.ora

    # define directories to store the tracks and alert files

    background_dump_dest=%ORACLE_HOME%/Admin/clustdb/bdump

    user_dump_dest=%ORACLE_HOME%/Admin/clustdb/

    then I created a new directory as USER_DUMP_DEST as below

    CREATE or REPLACE DIRECTORY user_dump_dest AS 'D:\app\user1\product\11.2.0\dbhome_1\admin\clustdb '.

    GRANT ALL ON DIRECTORY user_dump_dest to THE PUBLIC

    then I run the

    ALTER SESSION SET SQL_TRACE = TRUE;

    SELECT COUNT (*)

    DOUBLE;

    ALTER SESSION SET SQL_TRACE = FALSE;

    Eventhen it is not created. What could be the problem...

    Thanks in advance

    Concerning

    Gowtham

    view the results of

    SQL > SEE THE USER_DUMP_DEST PARAMETER

Maybe you are looking for

  • Difference between article 2 of Yoga Pro 59400098 and 59400099?

    I am interested to buy an IdeaPad Yoga 2 Pro, but I can't find two different numbers. Can someone tell me the difference between 59400098 and 59400099 (numbers Lenovo)...? With sincere friendships. -Johan.

  • need drivers for my hp 15-d054se.

    I installed windows 8.1 and the problem is that I can't find where to download the drivers for my laptop. whenever I have Google it takes me to the printer drivers. I m frustrated by this. I have tried several ways of dufferent to obtain but could no

  • Open an another VI as clone

    Hi all Is there a way to open the popup to the VI as well as several clones of VI another?  If so, could someone please tell me how to do?  Bonus if you provide example version 8.6? There is very little found on this topic discussions.  The ones I fo

  • How to remove the mail profile in windows 7

    I am trying to remove a mail profile in my new system windows 7. I know how to do it on Vista (as below), but this does not work in windows 7 and can't find the info anywhere.  Can anyone help please? How to remove the profile under XP or Vista. (1)

  • Simulator of fails silently load App for unknown reason

    Hi, I am a new Blackberry development. I spent some time writing some of my own MVC stuff and recently set up what should be the first alpha version of an application to use it. My big problem is that the Simulator is not load my application and I ca