Estimating how much time a sql will take

Is there a way to estimate how long a sql will take. Is there a command in sql to estimate the time?
Is there a direct correction when looking at the COST in the explain plan to the amount of time a sql will take? Thank you in advance.

No. You might as well ignore the cost number. Anything to do with the cost-based optimizer, Jonathan Lewis is your man. His interpretation of cost is "the time to completion of a query, but expressed in units of single block reads rather than in proper time units".
Of course, as Tom Kyte points out, the Explain Plan is only a mathematical model predicting the query's performance. Cost is an estimate not a guarantee.
Cheers, APC

Similar Messages

  • How much time does ipad 4 take to fully charge???

    how much time does ipad 4 take to fully charge???

    It will obviously vary depending on how drained the battery is, but figure on 3-4 hours for a full charge.

  • How much time does it usually takes for moderator approval for a post

    How much time does it usually takes for moderator approval for a post?
    I have a post posted on Mar 9 and it is still pending for moderator approval.

    It's impossible for anyone here to say. It could be very quick, or a given book may never appear. As RG said, it's completely up to the publisher in the applicable country.
    Regards.

  • How much time does an AP take to failover to secondary controller

    hi All,
    My query is to understand how much time will an AP take to failover to its secondary WLC(Backup) incase primary goes offline.
    Whats the heartbeat time for each AP to verify reachability to WLC.
    also what is the purpose of AP Fail over priority under each AP. i want to ensure AP's fall back to primary WLC once its back online.(Preemption)

    Hi Matehw,
    My query is to understand how much time will an AP take to failover to its secondary WLC(Backup) incase primary goes offline.
    We can not tell exact time but normally It takes 1-3 minutes.
    Whats the heartbeat time for each AP to verify reachability to WLC.
    AP Heartbeat Timeout - AP sends heartbeat to WLC (By default its 30s). Once the primary WLC(or where AP is connected to)goes down, With heartbeats, the AP realizes sooner that the controller has become unreachable.
    also what is the purpose of AP Fail over priority under each AP.
    First of all there are three types: it goes like this Cirtical...high...medium..low.
    ***To configure AP failover priority, we must enable AP Fallback feature globally and then individual APs with a suitable priority level. 
    *** When using both the local  and global backup configurations, the locally configured settings take precedence in the event of a controller failure. If an AP is not able to join any of the locally configured controllers, it then tries to join the global backup controllers.
    More info:
    http://rscciew.wordpress.com/2014/01/22/ap-failover/
    Regards
    Dont forget to rate helpful posts

  • How much time does a query take from start to end?

    How can i query the time a SQL command takes from start to end (it was a big query and started yesterday evening when we started work today it was ended)?
    i selected some values of v$sqlarea but i could not understand the result absolutely. is there a more practical way of getting this information?

    select sql_text, cpu_time/100000, elapsed_time/100000 from v$sql where sql_text like '
    If the SQL is still in memory, not 100% reliable and there is a Bug 2101311 V$SQL.CPU_TIME / ELAPSED_TIME wrong for DML statements

  • Why don't they put how much usage each update will take.  I am on broadband and not sure if I have enough GBs left to do an update.

    I have broadband and it just cost me $75 OVER my monthly bill to download Yosemite and the update for iphotos.  NOW, I have notice that it needs two more updates.  Why don't they tell us how much data will be used with an update so we can plan when and which updates to do now, and some later?  The old system they had, they did tell and I was able to ration out which ones to update over the months. 

    It all depends on how much you'll use the iPhone for internet access. Personally, I use it frequently (work email, browsing with Safari, the Amazon.com app, etc.,) and I use 200-300 MB per month. My wife does not use her iPhone for much outside of email, weather, etc., occasional Internet browsing, and she uses 40-50 MB per month. So, you should be fine with 150 MB.
    Hope that helps...

  • [solved] Measuring how much time a bash function takes to run?

    Hi there,
    a (hopefully) simple question for the bash gods out there :)
    Lets say i have a script looking like this:
    #!/bin/bash
    some_function() {
    doing something
    some_function
    How can i measure the time (preferably in human-readable form: minutes or even hours) the bash function takes for a run?
    I know about "time", but i want to do it directly inside the script...
    Google tells me nothing, apart from one site where i have to pay for a solution :/
    Thanks for any suggestions
    Jan
    Last edited by funkyou (2008-09-01 13:21:04)

    iphitus@laptop:~$ sh test.sh
    Hi
    Bye
    real 0m10.002s
    user 0m0.000s
    sys 0m0.003s
    iphitus@laptop:~$ cat test.sh
    somefunc(){
    echo "Hi"
    sleep 10
    echo "Bye"
    time somefunc
    Time appears to work within bash scripts too

  • Approx how much time should JDBC adapter take to insert 1.5 million record?

    Hi All,
              What is the optimum time for inserting 1.5 million records to Oracle Staging Table? My scenario ECC to Oracle is taking 3 hours.
    With your previous experience, what do you think about this. Is there a scope of improvement?
    We have a simple insert through JDBC datatype. i.e Action = INSERT.
    Kindly Advice.
    Regards,
    XIer
    Edited by: XIer on Mar 27, 2008 9:20 AM
    Edited by: XIer on Mar 27, 2008 10:02 AM

    Hi,
    >What do you think is the optimum time with your experience...
    We had Similar Situation  after adding Application Server  the time was reduced to 1 hour.  Now  how many App server are available in your XI system ?
    Regards
    Sangeetha

  • How much time should the installation take?

    It has been an hour and its still 50%.

    It is totally network dependant. Try to turn off security can speed up the process. Also, Try using a wired connection.

  • HT4623 I found an update ios6 in my iphone settings and then I tapped on  install ,but it is going on and nothing is displaying .Only apple logo is displaying  frequently.It has been happening  for 13 hours.my question is how much time it will take to upd

    Can anybody help in my concern below
    I found an update ios6 in my iphone settings and then I tapped on  install ,but it is going on and nothing is displaying .Only apple logo is displaying  frequently.It has been happening  for 13 hours.my question is how much time it will take to update ios

    Read this: iOS 4: Updating your device to iOS 5 or later
    ... oh I think it is a 3gs or a 3
    This makes a difference. What does it say in Settings > General > About?

  • Want to upgrade RAC 10.2.0.2 database (2 instances) to 10.2.0.5. DB size is 4 TB. Contains mostly .pdf files, reports. I do not have test/upgrade environment. How much time I can expect it will take?

    Want to upgrade RAC 10.2.0.2 database (2 instances) to 10.2.0.5. DB size is 4 TB. Contains mostly .pdf files, reports. I do not have test/upgrade environment. How much time I can expect it will take?
    How much the upgrade process depends of database size, in this case?
    I have fast boxes  IBM AIX 5.3 , 64 b.

    Appreciate your comments ...
    Yes, sound stupid, regarding test environment, but in reality, is not that much:
    -I do have "preprod" environment, (2 instances RAC) same releases of OS, OCW,RAC ... but DB size is 40 GB!!!  It has all the objects as production, but (again but) it does not have physical standby, as production has. This is not that unusual, knowing that production DB grows very fast, and very large, and business do not want to keep preprod, dev, test databases same HUGE size as production is. Savings ...
    -My DB upgrade depends if application  running on top of it is certified for higher RDBMS release ... looks like they have some problems.
    -Very encouraging sounds comment that DB upgrade does not depend that much of the DB size ...
    - i do not recall from where this info came, but I have heard that R 11.* treats PDF files in different way that R10 did it ... and because of that, process of upgrading big databases which have many items of that type (pdf) can take very long. Any idea about this?
    -Brian, thx ... I'm trying hard to provide DB simmilar size in UPG environment and face all possible pitfalls before I go in production...thx for youe advice. I'm relly interested in how upgrade to 11.* from 10.* traets my pdf-s ... All my TBs comming from pdfs. Everi advice will be wellcome ...

  • HT201274 i have choosen erase all content option on my iphone 4s but its only showing a small clock rotating, can u tell me how much time will it take.

    i have choosen erase all content option on my iphone 4s but its only showing a small clock rotating, can u tell me how much time will it take.

    Let it do the rotating thing for about 10-15 min. If it is still doing this, try wiping the phone in iTunes.

  • I published my app and it shows us (waiting for review) and how much time it will take to (Ready for sale) ?

    i published my app and it shows us (waiting for review) and how much time it will take to (Ready for sale) ?

    5-10 days or longer.

  • How much time will i take for the battery to drain, with white screen of death?

    Yesterday I updated the software of my iPod touch (4gen), and today while using facebook I got the white screen of death. I tried to holding the sleep and home buttons but I didn't help. Then I tried to connect to iTunes but iTunes does not recognize my iPod. It seems that the only solution is to let the battery drain. My question is how much time will it take for the battery to drain (I charged it yesterday). Am I damaging my iPod in anyway?( I am worried because the back is a little hot). Should Ii try co cool it by placing  it in front of a fan?

    Yes it will show the low battery picture. Then I just connected it to my PC and restored it.
    For the cold pack I used one of these gel-packs http://www.coldchaintech.com/products/gel-packs.php ( I had them at home).
    I don't think using ice is a good idea here is why:
    1. If you use an ice pack you should be careful to prevent water from entering your iPod.
    2. Your iPod should not get colder than 32° F which is the minimum Operating temperature. And ice is colder than 32° F.

  • How much time will take applyning SP11 level in ECC6.0

    Hi,
    How much time will take for appying SP11 level in ECC6.0.
    Regards,
    venkat reddy.

    hi,
    Make sure , that you increase the shared memory being utilized by database .
    In oracle we increase the SHARED POOLSIZE , that will reduce the time in ACT_700 .
    There is note which talks about the SHARED_POOL_SIZE , it should be minimum 500 mb , depending upon your total physical RAM and CPU.
    Thanks
    Prasanna

Maybe you are looking for

  • K7T Turbo Limited Edition d-led one green led 3 red leds is it my mobo?? that died

    Hi people   my girlfriend whas just printing somthing when the screen went black and te noise came out of my system... I wasn't there but when i came home i opened my system and turned it one ... the D-leds went on (1 green 2,3,4 red and some noise c

  • Firefox keeps crashing. I uninstalled/reinstalled/reset in safemode, still keeps crashing on startup.

    Please help me get Firefox up and running. I really like to use Firefox, plus all of my passwords are saved in it. Ever since last week, I have not been able to open Firefox. I read several articles on how to fix it and I tried but had no success. He

  • BDC for KE52

    Hi All,      I have created a BDC for KE52 to change the Profit center. The problem is when ever i am executing the BDC it is not going to the initial screen although i have done the RECORDING properly which run from the initial screen. If i am chang

  • Disabling Screen Lock..

    It appears that when I put my phone to sleep by pressing the sleep/wake button, it will lock the phone regardless of my auto-lock setting. It requires me to slice the lock to unlock the screen. Why can't I simply go back to home screen or last applic

  • Imported images from iphone are unsupported in aperture?

    When I try to import images from my iphone into aperture, they come in as gray boxes. When I click on these I get a message that the file format is unsupported. Anyone else running into this?!