Why last extraction lasts much longer than the first three?

I have this trace file:
EXEC #3:c=0,e=4803,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=2726503091,tim=2779072194357
WAIT #3: nam='SQL*Net message to client' ela= 1 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=2845769927079
FETCH #3:c=0,e=2969,p=0,cr=56,cu=0,mis=0,r=1,dep=0,og=1,plh=2726503091,tim=2779072197438
WAIT #3: nam='SQL*Net message from client' ela= 1006 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=2845769931224
WAIT #3: nam='SQL*Net message to client' ela= 1 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=2845769931269
FETCH #3:c=0,e=322,p=0,cr=2,cu=0,mis=0,r=15,dep=0,og=1,plh=2726503091,tim=2779072198806
WAIT #3: nam='SQL*Net message from client' ela= 3733 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=2845769935348
WAIT #3: nam='SQL*Net message to client' ela= 0 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=2845769935423
FETCH #3:c=0,e=178,p=0,cr=2,cu=0,mis=0,r=15,dep=0,og=1,plh=2726503091,tim=2779072202692
WAIT #3: nam='SQL*Net message from client' ela= 3136 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=2845769938725
WAIT #3: nam='SQL*Net message to client' ela= 1 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=2845769938763
FETCH #3:c=410000,e=403256,p=0,cr=7354,cu=0,mis=0,r=13,dep=0,og=1,plh=2726503091,tim=2779072609065
STAT #3 id=1 cnt=44 pid=0 pos=1 obj=0 op='PARTITION RANGE SINGLE PARTITION: KEY KEY (cr=7414 pr=0 pw=0 time=0 us cost=7 size=9823 card=47)'
STAT #3 id=2 cnt=44 pid=1 pos=1 obj=0 op='PARTITION RANGE SINGLE PARTITION:   (cr=7414 pr=0 pw=0 time=0 us cost=7 size=9823 card=47)'
STAT #3 id=3 cnt=44 pid=2 pos=1 obj=590979 op='TABLE ACCESS BY LOCAL INDEX ROWID BA_PGM_SLS_DTL PARTITION: KEY KEY (cr=7414 pr=0 pw=0 time=0 us cost=7 size=9823 card=47)'
STAT #3 id=4 cnt=44 pid=3 pos=1 obj=590982 op='INDEX RANGE SCAN BA_PGM_SLS_DTL_PK PARTITION: KEY KEY (cr=7408 pr=0 pw=0 time=10 us cost=6 size=0 card=1)'
WAIT #3: nam='SQL*Net message from client' ela= 3104 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=2845770355048
It seems to me that the first three extractions return 31 lines in very little time, but the last extraction takes environ.4 seconds and about 7354 buffer gets to get the remaining lines of the 13. Does anyone have an idea what could cause this?

-Bobby

Bobby Durrett says:

The index includes all of the columns in which the clause in the order listed plus more. It's a local index.

Most of the additional work is done in the index (see cr = value in the INDEX line).
This suggests that you do a scan of interval by a large proportion if the index, but have a large number of entries.
Two options in mind spring
(a) there is a constraint in the where clause, which means your predicate is not as precise as it looks
(b) there is a large strip of data recently removed from the index you're going through

In both cases you can be the first return of these first two blocks of index leaf rows, then walk a lot index, do a lot of work, before going to the table for the last few rows.
The suggestion to check the session statistics can give you some clues.

Concerning
Jonathan Lewis

Tags: Database

Similar Questions

  • The size of the file using Premiere pro CC 2014 exported media is much more important than the estimate, is also much bigger than the first CS 6?

    I used the preset H, 264 1080HD Youtube to export video. The estimated size is MB 7308. {(après que je réduis le nitrate)} The final size is 11,18 GB.

    Why are so many different things? Befor I use the CS6 first for size simial use the same export format is about 6 GB.

    Firstly, the estimated file size just an estimate based primarily on a combination of bitrate and duration. The actual size can vary considerably, in large part on the amount of change from image to image throughout the video. For example, if you encode two clips for a period identical to exactly the same settings, the only difference being the nature of the content - say on is an interview with talking head shot with the camera locked on a tripod, while the other is images skateboard turned into pocket - size of the two files of outputs that result will be widely divergent.

    As for the comparison between CS6 and CC2014, note that the settings for the presets have been changed. For example, YouTube 1080 h.264 presets ranged from 8Mbps to 16.

  • Does anyone else have a problem with the left speaker is much lower than the right?

    Any source that I use the left speaker is much lower than the left. If I put my finger on the right I can feel the pressure of air pushed but not by the left. Is it an iPhone defective 7?

    Hello, TopDog16!

    Welcome to congratulations on getting a new iPhone and Apple support communities 7.  From what I see in your post, you have any questions on the stereo speakers in your new iPhone.  I would be happy to help you with that!

    Indeed, your iPhone has holes on both right and left sides on the lower edge (on each side of the connector of the Lightning).  The holes on the right are only speaker on this edge of the phone, however.  The other speaker in the pair is at the top of the phone, where the cut is, just above the screen.  Check here to see if sound comes out.

    This page has a large diagram of the iPhone of 7 speakers (in the section entitled "Buttons and external connectors"): iPhone 7 - technical specifications

    Have a great rest of your week!

  • My computer takes much longer for the initial start as before?

    Original title: startup

    my computer takes much longer for the initial start as before?

    I suggest to do the following:

    (1) Windows Update and install all updates

    (2) run disk clean up and defragnment

    Check disk run 3)

    Check 4) Add/Remove programs and uninstall programs you want

    (5) run full system scan, with:

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    You can also take a look at:

    http://www.Microsoft.com/atwork/maintenance/speed.aspx

  • ProRes renders EI have garbage Frames / longer than the Source

    I had some weird problems output prores of After Effect recently. My workflow typical offline was Prores422HQ or Prores4444 exit offline for and it is a regular method of rock for years. Recently, all Prores of After Effects renders have additional frameworks of garbage and longer than the source:

    An animation example 720 with DPX source, attended the Prores4444 image eventually 724 frameworks when read on the desk or ingested in Avid/Final Cut. When this rendering is re-imported in AE, it is considered as having only 720 images and fits perfectly into the chronology of 720 original frame, but outside the EA, it is considered as having 724 frameworks (QT7, Avid, Final Cut, etc.).

    Has anyone seen this problem before? I started using Avid rather - codecs which works very well - but this question worries since most deliverables are Prores these days... and AE was the best way to maintain the 16 bits of color in these sorties.

    * This problem started around a month ago and is on all GFX boxes in the Office *.

    Chris

    This problem is resolved by update fixes after effects CC (12.2.1), which is now available:

    http://Adobe.LY/AE_CC_1221

    Note the part at the end of this page on a crucial update for the creative cloud desktop application, which addresses serious problems with the SOUL, first Pro and After Effects.

  • How to: Extract the first three characters of a text field

    Greetings-

    What is the best method to extract the first three letters of a text field?

    I need to extract the first three letters of a text field (surname in this case),
    so I add other components to create an identification number for
    a person.

    This identification number which must be created consists of the
    date of the person by birth, last 4 digits of social security number and
    the first three letters of the person's first name.

    Example:
    == > Date of birth: 15/11/45
    == > Last 4 SSN: 6654
    == > Name: Smith

    Identification number would be:
    == > 1115456654SMI

    Leonard B


    That should do the trick:

    I put your values in the variable, simply replace the names, according to the needs


    This removes all the string of the / your birthday (if it's a string!) and puts it in the variable id:

    It takes the 4 last letters/digits of your social security number string and adds it to the id:

    It takes the first thre letters/numbers from your last name variable, capitalizes and adds to the identification string

    It will be useful.

  • Firefox is no longer in the first 5 seconds after the launch plan

    I am running Win7 with all the latest updates and Firefox 13.0.1. After I run Firefox, a few seconds later (it varies), the Firefox window is no longer in the foreground. It's as if I clicked on another window or wall-paper, and the Firefox window is no longer selected. It becomes embarrassing when I launch Firefox, click a bookmark to blog and try to scroll down with my mouse wheel. All of a sudden, it stops scrolling because the window is no longer in the first plan/selected, and I have to click on the Firefox window back to the foreground. Note that if I open other windows, the Firefox window always remains above these windows. But the window of Firefox itself is not the selected object.

    I finally found the plugin that asks that question for me. The plug-in, I confirmed my system is 'Shockwave Flash 11.3.300.268', which is the most recent available now. Deactivating a plugin solves the problem for me. I hope an update of Adobe will respond to that.

  • Why my printer has suddenly started printing only the first three quarters of a page...?

    Why my printer has suddenly started printing only the first three quarters of a page...?

    Hello

    Thanks for posting the question in the Microsoft Community!

    If I understand correctly, you are facing problem with the printer of. I understand that it must be frustrating, but don't worry, we are here to help solve the problem and guide you in the right direction.

    We start with two questions:

    1 have had any changes made on the computer before the show?

    2. What is the brand and model of the printer?

    I suggest for the link and try to run the troubleshooter and check if it helps.

    Printer in Windows problems

    If the problem is not resolved, please provide more information to help you best.

    Thank you.

  • When I print from Windows Live Mail, the left margin is far more than the first letters of each line are missing. Where can I go to change the margin?

    When I print from Windows Live Mail, the left margin is far more than the first letters of each line are missing.  Where can I go to change the left margin on Windows Live Mail?

    Print settings are in Internet Explorer, the file (ALT + F keyboard), Page Setup

    Increase the left? the margin of

  • Apparently I have inadverdently clicked on something that has changed my address book listings to show only the first three letters of each name.

    the column showing my address book now shows only the first three characters of each name
    It's as if they have all been abbreviated

    I try to decipher the names of these three characters before clicking on
    to see the
    address window of the person with all of the information

    I'd like to be able to read the name first & last as before

    Thanks in advance

    Try dragging the column header to create the wider column

  • Why disable SuperFetch on ssd, if the RAM is much faster than the ssd?

    Directed by Microsoft that SuperFetch and PreFetch must be disabled, if the OS is installed on an ssd, in accordance with article http://support.microsoft.com/kb/2727880. But SuperFetch is used for loading the data components of applications, which were very often used for RAM. Although the ssd is faster that a hard drive is not faster than the RAM. So, I do not understand why Microsoft suggest disabling this feature. The only reason why I want to understand, it's because of a limited RAM. If the RAM is sufficient beyond 6 GB, if we disable SuperFetch, then the boot time and increase the loading time of most used applications. I miss something here?

    The other question is about PreFetch. I feel, maybe wrong, it does the same thing with SuperFetch, with one major difference. It loads all the information data on the ssd or hard drive, instead of the RAM, in order to accelerate the launch of applications and time when the OS is installed on a hard drive to boot. If I'm right, let's disable the PreFetch it stores information for one ssd or hdd, while SuperFetch stores data of RAM information, which is much faster and so it must be enabled if there is a sufficient RAM.

    I look forward to reading the notice of a Microsoft software engineer.

    Hi Leventis,

    Prefetch copies frequently accessed files together into a contiguous on the disk area so that they can be located and loaded more quickly. That it takes a lot of old drives to recover data faster.

    SuperFetch predict what applications you run next and preload all the necessary data in the memory. She has also done that with startup files. And for all the three days he sends a defragmentation command to the OS drive that will cause problems in the SSD drives.

    In traditional hard drives (HDD) data are scattered throughout the disk, so that the operating system for access, it will take more time. It is suggested to perform a disk defragmentation. But storage technology is different in SSD, where, it records the data dynamically and it recovers more quickly. Who will be low down the burden on the RAM and the RAM can be used for uses such as for the opening of the games graphics high-end, etc..

    Hope this information is useful.

  • Why the 2d graphics score is much lower than the 3d

    upper graphical desktop score is significantly lower than any other partition on the windows experience index. The index is just a waste of time or is there a reason for this 1 score to be much lower

    upper graphical desktop score is significantly lower than any other partition on the windows experience index. The index is just a waste of time or is there a reason for this 1 score to be much lower

    The score is less on your computer because your video (graphics) card was obviously designed for its 3D graphics was paramount while 2D was a secondary function.  (You have a game system).

    What specific video card do you have?

  • Registration in PNG is much worse than the original image quality.

    I made a transparent PNG logo, and when I go to record the new transparent logo in PNG format, the quality has decreased significantly from the original. I did nothing more than to remove the background of the logo, why this is happening in a lossless format? What can I do to solve this problem or to increase the quality of the logo transparent?

    Not a perfect solution, but once you remove the background of the first, go layer > Carpet > fringe (or remove white matte suited). Then save for Web as a PNG 24.

    But, ideally, you want to rebuild as a separate vector file from a background.

    Is there a way I can recreate it on mine?

    If you know the police, it should be easy to build. I don't know if the "tr" ligature is a glyph, or if it has been made especially for this logo.

  • Play the music of Dell Inspiron 15R sounds much worse than the game of Apple devices. How can I fix?

    I just bought Logitech Z506 speakers for listening to music from my laptop and the audio seems not as good as when my friend plug the speakers on his iPhone or Mac computer. The bass is much worse and the melody and singing is weak. Overall it sounds low coming from my laptop.

    I tried updating my drivers intel and nothing came of it. I am trying to update my realtek hd audio drivers this driver seems to come from the 21/08/2013, that seems to be old, but I don't know if it's going to do anything.

    The Inspiron 15R is supplied with a software called Dell Audio with MaxxAudio that controls the settings of. I do not know if that interferes with anything.

    Acesonnall
    I tried updating my drivers intel and nothing came of it. I am trying to update my realtek hd audio drivers this driver seems to come from the 21/08/2013, that seems to be old, but I don't know if it's going to do anything.

    You can switch backwards between your Realtek audio driver and the native audio driver Windows in this way:

    1. open Device Manager (type devmgmt.msc in the start search box and press ENTER).
    2. develop the 'audio controllers, video & game' and right click on "Realtek High Definition Audio".
    3 Select this option to "Update driver software".
    4. click on "Browse my computer for driver software".
    5. click on "Let Me pick from a list of drivers on my computer".
    6. put the "Show compatible hardware" check box if not already checked.
    7. in the list of devices, click on 'High Definition Audio"(native driver).
    8. click on "next".
    9. in the update driver warning box, click 'Yes' (the driver).
    10 restart the portable computer if you are prompted. If not invited, so no need to restart.
    [To return to the Realtek driver, do it again but reverse the names in steps 1-6.]

    Acesonnall
    The Inspiron 15R is supplied with a software called Dell Audio with MaxxAudio that controls the settings of. I do not know if that interferes with anything.

    You should be able to disable these software or try different settings. Also try "Disable all improvements" by opening the playback of the sound properties, right-click on the speakers and click Properties, then select the enhancements tab and put a check mark in the box to turn it off.

    Acesonnall
    Inspiron 15R

    Then it should be one of these models: Inspiron 5520, 5521, 5537, N5110, or SE 7520.

  • TimesTen 11.2.2.5.0 - backup (.bacxyz) files created by the ttBackup much larger than the data store

    Hello

    have a question about the files generated by the internal ttBackup utility on our systems.

    We have a pair of storage of data replicated with DS following sizes on disk in a two-way manner:

    -rw - rw - 1 timesten, timesten 48922624 24 August at 12:45 tt41data.ds0

    -rw - rw - 1 timesten, timesten 48922624 24 August at 13:00 tt41data.ds1

    -rw - rw - 1 timesten, timesten 38895616 24 August at 12:46 tt41data.ds0

    -rw - rw - 1 timesten, timesten 38895616 24 August 12:31 tt41data.ds1

    Looking at the backup files generated via /ttBackup - force - dir xxx

    You can see on the first:

    -rw - 1 timesten, timesten 48922624 24 August at 12:34 tt41data.0.bac

    -rw - 1 timesten, timesten 720 24 August at 12:34 tt41data.sta

    -rw - 1 timesten, timesten 475060224 24 August at 12:34 tt41data.0.bac245

    While on the second:

    -rw - 1 timesten, timesten 38895616 24 August at 12:34 tt41data.0.bac

    -rw - 1 timesten, timesten 83904512 24 August at 12:34 tt41data.0.bac248

    -rw - 1 timesten, timesten 720 24 August at 12:34 tt41data.sta

    So while the .bac file is consistent with the size of the DS on the disk, the bacxyz shows a huge difference on the second case.

    Undersand it is an internal utility, but I would like to understand the significance of this file, did not find much in the documentation.

    Also tried using - type streamFull and the generated files differs for a factor of 4 x.

    Check the number of tuples, they are pretty much the same thing, as the ds size seems to imply, but cannot understand the enormous size of the file bac.xxx on the second node, what is the significance of this file?

    Thanks in advance!


    Mike

    The .bac file is essentially a copy of the most recent checkpoint file (ds0/ds1) while the .bacxyz file is a single file that is a fusion of all the files (tt41data.lognnnnnn files) transaction logs needed to recover from this checkpoint file. So depending on the State of your database (in terms of number of log files present on the drive and which of them are actually required) by the time you take the backup of the file .bacxyz can vary in size from very small to very large. If you want to make sure the file .bacxyz has the smallest possible size, you must issue a checkpoint manually, and wait until it finishes before running the ttBackup command.

    Chris

Maybe you are looking for