Why is the query so slow?

Hi,
I've got a query running fast (3 sec.)
If I try to execute it on test enviroment, it takes about 2 minutes (!)
I see in both enviroments the explain plan is the same and so are the indexes used. I've also tried to rebuild the indexes and the tables that looked quite fragmented in test, but the result is always the same. Could it be that our test enviroment is slower and with lower performances? What else could I check? (Oracle Vers. is 8.1.7)
Thanks!

812809 wrote:
steps to follow:
1.whether the candidate columns has index or notSometimes and index can cause a query to slow down rather than speed up, especially if a person has created too many indexes on a table and the optimiser can't figure out the best one to use.
2.go for explain plan and look the query not to fall under the category of Full Table ScanFull table scans are not always a bad thing. Sometimes they are faster than using the index. It depends.

Similar Messages

  • Why is the refresh rate slower in lab mode? photoshop cc 2014

    hi
    why is the refresh rate slower in lab mode?
    for example i load an image , rgb , ad an adjustament layer -> curve and i start to play with curve -> the refresh is instantaneous (i mean the image become more dark or lighter instantaneous )
    but if i load an image -> conver in lab mode , the refresh rate is slower
    i tried cs6 too, same behavior
    ps how can i have an email to notify me that someone answer to this discussion?
    thanks

    hi
    there is nobody can check it?
    under windows 7 or 8
    thanks

  • Why is the WIFI so slow on my 2011 MBP? its getting frustrating

    why is the WIFI so slow on my 2011 MBP? its getting frustrating

    Hi Jeff,
    Can you elaborate on your issue a bit further. What is "slow" in your approximation? Tell us about the environment you're in, what type of router, band and channel. How many other wireless routers does your machine pick up? Is it slow other places with wireless or just this current location? New issue, ongoing?

  • Why is the library so slow to upload to iCloud?

    Hi there,
    After a bit of hassle getting Photos to accept all my pictures from iPhoto I thought it was all fixed and ready to go to cloud storage so that I can have the same library on iMac, Macbook Pro and my iPhone.
    My photo library isn't that big, about 40Gb (4607 items) but it seems to be taking forever to upload to iCloud.
    My broadband speed isn't great (Around 6.5 MBPS download and around 0.7MBPS upload) but after several days my Photo library states that it is uploading 4570 items. When i try to run photos from my macbook there are only a few photos on there.
    At this rate I'll probably die of old age before all the photos are in the cloud and bounced back onto my macbook & phone.
    Other than slow broadband speed and apple being busy with people like me uploading, are there any other reasons why this is taking so much time? Bad settings anywhere?
    As another example my iMac has been on for a couple of hours today and the Activity monitor states that 887.2MB has been sent to the cloud. That's pretty damm slow isn't it?
    Thanks

    Stu Ducklow
    Why is my finder so slow to update. For example, if I
    download a file (using Safari), I can't find it on
    the desktop. If I use Find at the Finder level, it
    says it's there, but I can't see it.
    Same thing happens with Mail, trying to attach a PDF
    I just made. Mail can't see it.
    I love all the wondrous glitz of OSX, but wouldn't it
    be nice if it could do the basic stuff as well as
    System 6? At the rate Apple's going, we'll probably
    get a breathless announcement about a spanking-new OS
    called Snail, which doesn't do anything but look
    pretty.
    Stu,
    Did you ever get an answer to this? My finder is pathetically slow to update, a minor irritation a dozen times a day. System 9 never had this problem. Is there a way to get my expensive computer to do this simple task? Is there any news on this?
    thanks,

  • Why is the finder so slow to update?

    Why is my finder so slow to update. For example, if I download a file (using Safari), I can't find it on the desktop. If I use Find at the Finder level, it says it's there, but I can't see it.
    Same thing happens with Mail, trying to attach a PDF I just made. Mail can't see it.
    I love all the wondrous glitz of OSX, but wouldn't it be nice if it could do the basic stuff as well as System 6? At the rate Apple's going, we'll probably get a breathless announcement about a spanking-new OS called Snail, which doesn't do anything but look pretty.

    Stu Ducklow
    Why is my finder so slow to update. For example, if I
    download a file (using Safari), I can't find it on
    the desktop. If I use Find at the Finder level, it
    says it's there, but I can't see it.
    Same thing happens with Mail, trying to attach a PDF
    I just made. Mail can't see it.
    I love all the wondrous glitz of OSX, but wouldn't it
    be nice if it could do the basic stuff as well as
    System 6? At the rate Apple's going, we'll probably
    get a breathless announcement about a spanking-new OS
    called Snail, which doesn't do anything but look
    pretty.
    Stu,
    Did you ever get an answer to this? My finder is pathetically slow to update, a minor irritation a dozen times a day. System 9 never had this problem. Is there a way to get my expensive computer to do this simple task? Is there any news on this?
    thanks,

  • Why is the IDE so slow?

    Why is the Cocoa Integrated Development Environment so slow for the iPhone?
    Is there anything I can do to speed it up?
    For example, when a break point is reached it frequently takes many seconds before moving the cursor over a variable will cause a popup window to occur. Under the BlackBox/Component Pascal IDE the code runs just as fast whether there is a breakpoint (HALT) or not. Breaking happens instantaneously and one can example all the variables relevant at that point without any delay.
    I can edit compile and run applications within about 3 seconds (for a minor change) in BlackBox whereas with the iPhone I can get a can of soft drink from the refrigerator and drink half of it before the application commences running. N.B. I use the same machine (MacBook 2GHZ) for both development environments, one runs on the Apple side the other on the MS Windows side (Parallels Desktop).
    Is the slowness due to "a whole lot of messaging going on" or what? It really slows down what I can accomplish in a day. Rather than trying 10 or 20 things I can only try 2 or 3. Is there anything I can do to speed things up?
    I believe that a lot of the CPU time is going to 'aids' such as syntax coloring, parenthesis matching, and a host of other behind the scene stuff that I really don't want or need.
    -Doug Danforth

    ProjectBuilder/XCode has never been able to keep up with my typing speed no matter how much processor I throw at it; something CodeWarrior was able to do (with infinitely better syntax highlighting and code browsing) on a 100MHz Performa. It's just a nightmare project full of NeXT era cruft nobody's taken the time to clean up since it's free.

  • Why does the Query Result display "X" as a result

    Hello All,
    I have a query in which there are 6 Characteristics and 1 calculated key figure. But when the query is executed the query result displays as "X" in the column against all the 6 characteristics.
    Can anybody provide solution as to why the result displays "X" as a result.
    Regards,
    Vikram

    Hello all,
    Everybody answered it correctly. But when i debugged the query, i did not get any calculation which is getting divided by 0 and there were no mixed units of measurements. Probably it was an erroneous transport earlier. I only created and request again and transported the query from dev and the query is running fine.
    Thanks everybody.
    Vikram

  • Why is the iPad so slow on the net?

    Internet (and phone etc) all on cable with nominal download speed of 60Mb (reduces a bit when going to computer via router).
    Have added wireless access point (rated 300Mb) so I can connect the iPad (bought last Friday).
    Connections all fine, but the browsing speed on the iPad is painfully slow. I see lots of other comments going back a year or two, so obviously Apple know about this - so why isn't it fixed yet?
    I am not very clued up on the wireless system, so maybe I've missed something; I'd like to know what might be causing the iPad to be so slow compared with my PowerMac.

    Went to Apple shop in town.
    Assistant there said it was the provider's problem, not Apple's; she added that her own download speed was officially 12, but she only gets 4.

  • Why is the API so slow?

    I'm using the API with PHP and it's gotten incredibly slow over the last month.
    Simply getting 1 AdGroup takes 30 seconds.  Get the Ads that go with the AdGroup, another 30 seconds.  Update the Ad, another 60 seconds.
    I'm using the PHP library for V9.  My calls look like:
    $proxy = $this->getClientProxy($this->campaign_service); // calls ClientProxy::ConstructWithAccountId
    $request = new GetAdGroupsByIdsRequest();
    $request->CampaignId = $campaign_id;
    $request->AdGroupIds = array($ad_group_id);
    $result = $proxy->GetService()->GetAdGroupsByIds($request);
    Why is it so slow?

    Hello,
    Thanks for reaching out.  It is unusual for these requests to take that amount of time to return.  Are all of your calls consistently taking 30+ seconds to return information at this point?  Are other service endpoints seeing the same
    behavior (reporting, bulk, etc)?  Are you running the calls via a server solution, or are they being run locally?
    These details would help us to isolate where the latency might be occurring.
    Thank you,
    Matt

  • Why is the finder so slow?

    Ever since I upgraded to Mavericks, the Finder gets very slow to display folders and files, especially in a save window. Any idea why?

    I have this problem too. The popup finder window when saving files, is really slow. Scrolling is behaving weird too.
    I tried to delete the finder plist, and restarted finder with the terminal command:
    killall -KILL Finder

  • Why does the query work in SQL Developer, but not in APEX?

    Hi, guys:
    I have a silly question. I have a complicated query, and I tested it successfully with SQL developer, and result is correct. However, when I put it into APEX to generate a report, it always reports no data found. I also know the condition related to "other marks" select list in the where clause part causes this problem. It also looks strange: before I add this condition, everything works OK; after I add this condition, even I do not choose the "other marks" select list, other components do not work neither. I always got no data found result. Could anyone help me on this problem? You can also visit our developing site as http://lsg-solutions.com:8888/apex/f?p=206 to check the problem.
    Thanks a lot
    Sam
    select distinct 'MAP','Detail',so.doc_number as "DOC Number", so.offender_id as "Offender ID", so.first_name||' '|| so.middle_name||' '||so.last_name as "Offender Name",
    so.date_of_birth as "Date of Birth",
    (select sc1.description from sor_code sc1 where sc1.code_id=so.race) as "Race",
    (select sc2.description from sor_code sc2 where sc2.code_id=so.sex) as "Sex",
    (select sc8.description from sor_code sc8 where sc8.code_id=so.hair_color) as "Hair Color",
    (select sc9.description from sor_code sc9 where sc9.code_id=so.eye_color) as "Eye Color",
    replace(replace(nvl2(sl.address1, sl.address1||' '||sl.address2 ||' '||sl.city ||' '||sl.county||' '||(select sc3.description from sor_code sc3 where sc3.code_id=sl.state)||' '||sl.zip, 'No Known Address'),'#'),',') as "Address",
    replace(replace(nvl2(sl.physical_address1,sl.physical_address1||' '||sl.physical_city ||' '||sl.physical_county||' '||(select sc4.description from sor_code sc4 where sc4.code_id=sl.physical_state)||' '||sl.physical_zip, 'No Known Address'),'#'),',') as "Physical Address",
    sl.status as "Status",
    sl.jurisdiction as "Jurisdiction",
    to_char(sl.ADDRESS_LATITUDE) as "Address Latitude",to_char(sl.address_longitude) as "Address Longitude",
    to_char(sl.physical_address_latitude) as "Physical Latitude",to_char(sl.physical_address_Longitude) as "Physical Longitude",
    decode(rox.habitual, 'Y', 'Habitual', '') as "Habitual",
    decode(rox.aggravated, 'Y', 'Aggravated', '') as "Aggravated",
    rox.status as "Registration Status",
    rox.registration_date as "Registration Date",
    rox.end_registration_date as "End Registration Date"
    from sor_location sl, sor_offender so, registration_offender_xref rox, sor_last_locn_v sllv
    where rox.offender_id=so.offender_id
    and sllv.offender_id(+)=so.offender_id
    and sl.location_id(+)=sllv.location_id
    and rox.status not in ('Merged')
    and rox.reg_type_id=1
    and upper(rox.status)='ACTIVE'
    and nvl(rox.admin_validated, to_date(1,'J'))>=nvl(rox.entry_date, to_date(1,'J'))
    and (((select sc11.description from sor_code sc11 where sc11.code_id=so.race and sc11.description=:P5_SL_RACE) is not null ) or (:P5_SL_RACE is null))
    and (((select sc12.description from sor_code sc12 where sc12.code_id=so.sex and sc12.description=:P5_SL_SEX) is not null ) or (:P5_SL_SEX is null))
    and (((select sc13.description from sor_code sc13 where sc13.code_id=so.hair_color and sc13.description=:P5_SL_HAIR_COLOR) is not null ) or (:P5_SL_HAIR_COLOR is null))
    and (((select sc14.description from sor_code sc14 where sc14.code_id=so.eye_color and sc14.description=:P5_SL_EYE_COLOR) is not null ) or (:P5_SL_EYE_COLOR is null))
    and (( so.offender_id in(select sm.offender_id from sor_code sc15, sor_mark sm, sor_offender so1 where sm.offender_id=so1.offender_id and sc15.code_id=sm.code and sc15.description=:P5_SL_OTHER_MARKS and sm.description is not null)) or (:P5_SL_OTHER_MARKS is null))

    My suggestion would be to put some instrumentation into your query and see what values you are using.. Or even simpler take out ALL the where clauses you can until data starts to sho wup and then add them back in one at a time until you find the culprit..
    My bet would be on any date comparisons you are doing between page items and database columns..
    Thank you,
    Tony Miller
    Dallas, TX

  • Why is the rendering process slowing right down?

    Hi,
    I'm rendering a 4 minute clip of Pro Res LT files, there's a few effect on it but right now I'm only rendering the video at 1/4 quality.
    It starts rendering fine. Then starts to slow down, and by the time it gets to about 99.35%, it takes hours to render about 0.10 %, still rendering now, has been rendering over night, and is still on 99.54 %.
    Every time it renders another frame, it adds another frame onto the amount that still needs to be rendered. And the estimated amount of time left stays about the same - between 3 and 4 minutes (not true).
    I'm working on a Mac, with 4GB of RAM, but also rendering to an external hard drive that should have about 400GB free.
    Help please!
    Ashleigh

    ah! "locate" is a command you can use to search (inside Terminal,) though you should keep in mind that its database is only updated once a week by default, however, you can update it manually whenever you like, which takes a few minutes, using (in Terminal):
    sudo /usr/libexec/locate.updatedb
    actually, you could always automate that by adding this to the following file: "~/.bash_profile"
    [begin --don't include this line]
    alias locate='if [ $((`date +%s`-`eval $(stat -s /var/db/locate.database); echo $st_mtime`)) -gt 3600 ]; then echo "locate: db is too old!">/dev/stderr; sudo /usr/libexec/locate.updatedb; fi; locate -i'
    [end --that code is all you need, and it needs to be kept together, all in one line]
    f.
    Note: if you need to create the file, (in Terminal) use:
    touch ~/.bash_profile

  • Why is the macbook so slow at opening pages on the internet ?, Why is the macbook so slow at opening pages on the internet ?

    Just got my Macbook this week and was looking forward to the "lightening" fast MAc I had heard of. It is not so ! My old PC wa faster an cost about a quarter of the price !! Am I doing something wrong ?

    How much RAM do you have?  Is it maxed out?  MBP faster when not on the net?
    Which browser & version are you using?  Could be a browser you're having? 
    Update your OS.  Your system profile confirms you are still using OS 10.8.  Use the App Store to see if there is any other software you need to install. 
    MBP slow wireless and/or through ethernet? 
    Any devices connected to your MBP? 
    Remember, you are still under warranty.  Take full advantage of it before you lose it!
    You have 14 days to return the computer w/no questions asked.  Plus you have 90 days of FREE phone tech support on top of your standard 1 year warranty unless you also purchased AppleCare which gives you an additional 2 years of coverage plus FREE phone support.
    Strongly suggest that you take FULL advantage of the above before it runs out.  Let Apple deal w/the problems.

  • Why is the internet so SLOW????

    My Jetpack connection is so slow it is maddening. Half the time we can't even complete a task.

    Normal troubleshooting steps for a Jetpack are to perform the various resets:
    1. Power cycle the device
    2. Remove SIM card for 30 seconds
    3. Press the Restore Defaults button
    Be sure to test the connection speeds each time starting with 1 and working your way down.  If you would like more specific steps then be sure to post your Jetpack model number.
    When the resets to not resolve the problem then you need to determine if the Jetpack is having a hardware problem or if the performance is service related in your area.  Try the resets first and we can help you with the rest later.

  • Why is the unlock so slow now?

    For a week or so (i would guess it coincides with the latest iPod software update) my iPod has been slow to unlock after moving the slider. What used to be almost instant now takes 5-10 seconds. What is going on?
    i've already reset the entire iPod and that did not fix it.
    also, podcasts are getting lost since the update. they now show up under other in a category that's either blank or just called the wrong thing.
    but the unlock is the worst. can anyone help me?

    i've already reset the entire iPod and that did not fix it.
    If you mean you restored the iPod, that is not the same as a reset.
    Try resetting:  Hold the On/Off Sleep/Wake button and the Home button down at the same time for at least ten seconds, until the Apple logo appears.
    If that doesn't help tap Settings > General > Reset > Reset All Settings
    You won't lose any data as a result of resetting your device.

Maybe you are looking for

  • HP Zbook 15, external monitor connected to docking station issue

    Dear all I have bought a HP Zbook 15 laptop and installed Ubuntu 12.04. It does not show anything on the external monitor when I mount the laptop on the docking station.  After installing the Ubuntu 12.04 and putting it on the docking station for the

  • Problem with PDFs

    [URL]http://www.casablanca.se/bilder/sitplan.pdf[/URL] This map i made in illustrator CS3. Placed in Indesign and made into a PDF. For some reason parts of the vector graphics turn to pixels. Cant figure out why. It doesn't matter how I make the PDF,

  • Safari gmail images

    I'm running OS X 10.8.2 and Safari 6.0.1 There appears to be a problem with Safari 6.0.1 displaying inline images. I notice this while using gmail's "canned email" feature where the inline images in the canned email is not displayed properly. Anyone

  • Iphoto starts to open but the time lapse wheel just spins and never gets to photos

    I have iPhoto 11 version 9.2.3.  Running on Mac OS X Version 10.6.8. Iphoto worked up to about a few weeks ago.  Now it opens to the iphoto screen but just stays there with the time lapse wheel spinning for hours and never opening to the photos.  Not

  • How to stop the screen saver?

    Twice in the past two weeks, the screen saver come on when i'm watching a moving and pressing the D key or esc doesn't get it to disappear.  I've been powering off entirely and i know this isn't good.  Any advice as to what might be causing this and