How to get the query execution time without running...?

Hello

I had one condition... as follows...
I had 3 sql statements. I need to run only sql what runtime is very less.

Can someone help me, how to get the time query and run this query without using explain plan... ?

Thank you
Rajesh

I can't think in any way at all to get the query execution time without running the query.

You might get an estimate ( approximation ) If you are using explain plan.

But you have governed to explain plan for a reason, so I can't help you.
Why you do not want to use don't explain plan?

Tags: Database

Similar Questions

  • How to get the query of the region "PL/SQL function body returns the query string"?

    Hello

    is it possible to get the query string from the region of type "PL/SQL function body returns the query string"?

    I can get the definition of the region as a PL/SQL procedure, but I am interested in the returned query. I tried to write something like

    < pre > v_return_query: = «...» » ;
    : P49_QUERY: = v_return_query;
    Return v_return_query; < / pre >

    to save the return on hidden item P49_QUERY string, but it does not work. I get the error message: ERR-1002 cannot find the item for the "P49_QUERY" element ID in the application '4000 '.

    Kind regards
    Przemek

    If you need to make reference to a page element in the block then you can use this type of control to avoid having to use generic column names:

    if apex_application.get_current_flow_sgid(:APP_ID) = apex_application.get_sgid then-- runtime  :P9_SQL := vSQL;else-- design time  null;end if;
    

    But if all you want to do is capture the SQL debugging you can take all the references element in the block and use the insert statement (in a debug table) as I showed earlier.

    Scott

  • Lights of Fireworks MX (oldschool) - how to describe the text several times, without jagged edges

    Hi pros FW... I hope it's always OK to ask questions about the MX version...

    What I'm trying to do is to create a text with several layers of contours, different colors. An example of what I am trying to learn is like this creation of logo here... http://thunderfuel.com - the logo is the text THUNDERFUEL, which has a drop shadow, then an outer edge surrounding, then another shade.

    When I create a text - no problem.

    When I do the shadow - no problem

    But when I select the text and the increase of the marquis of selection to create the external environment of color (like the outside of this logo plate) - filling becomes jagged. I tried feathering of the selection before choosing, after selection, the fill property feathered - but there always is by stairs, or too little sharp.

    Someone there advice how to use fw - mx to create this kind of described multiple text effects, or do I have to use something else like iilustrator or PS, or something else? (if all goes well no cause I have not either, but whatever...)

    Appreciate very much all the advice, or even some links tutorial for this effect in fw - MX would be perfect - thanks!
    TREV

    Thanks a lot Jerry and Linda - using paths is totally cool, and I understand what you're saying. I get the operation of dragging pen tool and adjust the corners - it's like a whole new world has just opened!

    -won't get much sleep tonight, I guess - just got creative doors blown just behind the car and in my neighbor's yard, it's fantastic. Can't believe that I never used before railways...

    Thank you ever so kindly for the detailed answers-

    take care, thanks,
    /TREV

  • How to change the name of VirtualSwitch without running virtual MAchines of braking?

    Does anyone know how to change the name of the virtual switch (used by VM) without braking the VM running in this cluster?

    The best way to do this without losing network connectivity is add a group of ports with the new name and connect the virtual machines to the new group of port and when the initial group of port is empty remove - remember that it's the port group named not the vswitch.

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful

  • How to get the VM with or without thin disk in VC Server

    I need to get my Vm list all in my server VC who have the fine disc and one of them is not a thin disk.

    I do not understand it can be done in CLI power and I have Vmware Vsphere CLI installed power. I also find some scripts on the net, but I don't know how to use them

    Please suggest step by step how to run these scripts and where console as well?

    Thank you

    Deepak

    If you have the names of these servers in a CSV file with this provision.

    Name
    server1
    server2
    ....
    

    You can use a script like this

    $report = @()
    Import-Csv "C:\My-Csv-file.csv" | %{
         $vm = Get-VM $_.Name
         $vm | Get-HardDisk | %{
              $row = "" | Select VMname, Folder, HDname, HDformat
              $row.VMname = $vm.Name
              $row.Folder = (Get-View $vm.FolderId).Name
              $row.HDname = $_.Name
              $row.HDformat = $_.StorageFormat
              $report += $row
         }
    }
    $report | Export-Csv "C:\VM-disk.csv" -NoTypeInformation -UseCulture
    

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • How to get the date and time that a procedure/function has been modified for the last time?

    Hi all

    In Oracle Developer Tools for Visual Studio 2005 can I highlight a function, or a procedure and in the Properties window, it shows me the func/proc has been changed for the last time, and also when it was created

    Where can I get this information?

    See you soon
    CJ

    table object last_ddl_time

  • How to get the OS on labtop without recovery or software CD?

    Hard drive of my labtop came out and supposed to be the backup OS was disk a hard artificial created on the main hard drive.  I was not allowed to do recovery CD.  I have the COA on the labtop but I just need to know my next course of action.  Is it possible to get it from the hard drive or not?  If it helps my labtop is a Compaq Presario V2610 with AMD Mobile Sempron 3000 + 1.8 Ghz if that helps.

    Thank you
    Gabe

    Hello Gabriel,

    Here, your best bet is to contact the manufacturer on this issue and see if you can get a recovery of their own media.

    Best regards

    Matthew_Ha

  • How to get the folio on iPad without going through the Adobe servers?

    Hello

    Is there a way to create a folio in InDesign and transfer manually on the Viewer Adobe app on an iPad?

    Reason being that download the folio on Folio producer seems to take forever and is far too unreliable given the urgency of dealing with creative projects.

    Thank you

    REDA

    Mac only:

    Attach the iPad to the computer via the USB cable and open Adobe Content Viewer. In the Folio Builder Panel, select the folio and then choose Preview > Preview on "device name".

    There is no way to do it on Windows.

  • How to get the 'Cup-calendar-assist"you run again?

    Hello guys,.

    When you work with PP I must have pressed a wrong button and now without help of timing there are longer. My bigggest problem, is that I don't know even what his name really is, so I'm going to explain to you what I mean:

    Whenever I've shortened / moved a clip in my project there was some assistens to synchronize beginnings / endings / cut-outs used clips. -You know, when you get close enough to the point, the race jumps automatically.

    Any of you know how I can activate it again? It would speed up my Cup so still...

    If the answer is already given somewhere I apologize deeply but: as I said I don't even know what to look for and so I did not find a happy even if I tried.

    My specs:

    OS: Win 7

    P. c.: 2015.3

    Thanks in advance

    Victor

    Hi Victor,

    Is the component feature snap-in that you talk too much.

    The shortcut key because it is "S" and the icon is available in the right timeline below the timecode (the magnet icon).

    Vinay

  • How to get the output (!) during procedure-run / RAS dbms_output.put_line

    Hello again,

    during a migration script written in plsql, we print several status information on-screen using dbms_output.put_line.

    for your information:

    the script commits each lines x during a massive update. A commit is carried out whenever I want to have the output: Timestamp + number of lines committed themselves.

    Unfortunately the output by dbms_output.put_line is emptied to sqldeveloper once the procedure is complete.
    So I have all the time after the migration is complete, but if possible I need the information when it is put into the stack of the dbms_output.
    Is it possible to flush the output while the process is still ongoing? Are the alternatives to dbms_output.put_line who could help?

    Oracle is 10.2.0.4

    Thank you very much
    Andreas

    Published by: Andreas s. the 11.03.2011 01:38

    Note:
    Messages sent using the DBMS_OUTPUT are not actually sent until full subprogramme of the shipment or the relaxation. > There is no mechanism to flush the output during execution of a procedure.

    http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_output.htm

    you could just write your output to a table?

  • How to get the malware removal software will run after your infected.

    Malware in the form of XP repair tool has infected my system. I can not get any form of antivirus software or withdrawal from work. He starts, but he is quickly terminated and nothing I've tried has worked. I used the Malware Bytes, Rkill and Hitman Pro to try to get something to clean out the infection. Any suggestions?

    Hello

    Have you read and follow this? There are still manual methods.

    Remove Windows XP Repair (Uninstall Guide)<-- read="" this="" link="" for="" removal="">
    http://www.bleepingcomputer.com/virus-removal/remove-win-7-Internet-Security-2011

    Have you tried to rename (the ladies of malware) programs you need to run a .COM extension?

  • How to get the logical processing Page to run?

    I'm a newbie struggling to overcome the learning curve. I created a very simple page that consists of an element (which do not refer to a database object) and a button. After the user enters a value and click on the button, I want to a PL/SQL code block always fire. I created a new anonymous PL/SQL block in the section of the process. See hierarchy of Application Builder below.

    The page definition
    Page processing
    Treatment
    Process

    The code is very simple.

    Start
    HTP.p ("in the custom code. The htp.p message');
    dbms_output.put_line (' in the custom code.) Dbms_output message');
    insert into PT_ERR_LOG (RUN_UNIT_ACTVTY_TXT) values ('in the custom code.");
    end;

    It was designed simply to let me know that the code is accessed. When I run the page, however, I'm not either of the messages from the code or y at - it a line written in PT_ERR_LOG (I created this table).

    The question is: "why isn't the enforcement code?

    In the area of process Point, to the point of process article is set to "On submit - after calculations" and Validations
    The enforcement process is defined on ' once per visit or when Reset.

    In the region of Conditions, Type of Condition is "point value / column in Expression 1 is NOT NULL.
    The value of Expression1 is: P6_PGNT_ID, which is the name of the lonely field on the page.

    I tried different combinations of values of the Apex in and around the page in the Page processing. What I am doing wrong?

    Thank you
    Kim
    In the Conditions region, Condition Type is set to "Value of Item / Column In Expression 1 Is NOT NULL".
    The value of Expression1 is :P6_PGNT_ID, which is the name of the lone field on the page.
    

    That's the problem. The value must not be P6_PGNT_ID: P6_PGNT_ID (remove the colon)

    P.S. Please configure a user name other than 952822.

    Robert
    http://apexjscss.blogspot.com

  • How to get the time of the device

    Hello

    I'm developing an application in which I send location of the device in lat, long for every 10 minutes.  I want to send some time also with lat, long. This time must be peripheral situation updates for every 10 minutes.  Can someone tell me how do I do this?

    It is not obvious to your OP exactly what you ask.

    Ask you in a certain way a consistent recording time no matter what time zone are you in?

    Or are you just asking how to get the date and time?

    If it's the last QDateTime is one of the ways to get the date and time...

    http://developer.BlackBerry.com/native/reference/Cascades/QDateTime.html

    If you ask for the first answer more complex, you will probably need to check the time against an external clock (say GMT) and then re-reading use the contact information you have saved to determine what the weather was (including a calculation of DST) at this point in this particular time zone.

    Relying on the phone to change accurately that it is time that you move in time zones will not give accurate results.

  • How to get the SQL query running of af: search?

    I use JDeveloper 11.1.2.3.0. I have a page where I've set up an af:query and an array of result. The problem is that I can't get the exact query that is used during the execution of this component in a managed bean method. Is it possible to get the query string that is run within the af: query?

    Thank you

    Hello

    Method of the ViewObject getQuery() returns what you need;

    You can replace the executeQueryForCollection(), and prior to calling super, you can print the result of getQuery() method:

    public void executeQueryForCollection (rowset Object,

    Object [] params,

    {int noUserParams)

    System.out.println ("SQL =" + getQuery());

    call the super method here...

    }

  • How to get the total runtime of a file of tkprof

    Hello

    I have a file tkprof. How can I get the total execution time. Through the file I guess than the sum of "Total expected" would give the total time in the section "elapsed time are waiting on the following events:

    . Sample tkprof is given below.
    SQL ID: gg52tq1ajzy7t Plan Hash: 3406052038
    
    SELECT POSTED_FLAG 
    FROM
     AP_INVOICE_PAYMENTS WHERE CHECK_ID = :B1 UNION ALL SELECT POSTED_FLAG FROM 
      AP_PAYMENT_HISTORY APH, AP_SYSTEM_PARAMETERS ASP WHERE CHECK_ID = :B1 AND 
      NVL(APH.ORG_ID, -99) = NVL(ASP.ORG_ID, -99) AND 
      (NVL(ASP.WHEN_TO_ACCOUNT_PMT, 'ALWAYS') = 'ALWAYS' OR 
      (NVL(ASP.WHEN_TO_ACCOUNT_PMT, 'ALWAYS') = 'CLEARING ONLY' AND 
      APH.TRANSACTION_TYPE IN ('PAYMENT CLEARING', 'PAYMENT UNCLEARING'))) 
    
    
    call     count       cpu    elapsed       disk      query    current        rows
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    Parse        1      0.00       0.00          0          0          0           0
    Execute    442      0.08       0.13          0          0          0           0
    Fetch      963      0.22       4.72        350      16955          0         521
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    total     1406      0.31       4.85        350      16955          0         521
    
    Misses in library cache during parse: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: 173     (recursive depth: 1)
    Number of plan statistics captured: 1
    
    Rows (1st) Rows (avg) Rows (max)  Row Source Operation
    ---------- ---------- ----------  ---------------------------------------------------
             1          1          1  UNION-ALL  (cr=38 pr=3 pw=0 time=139 us)
             1          1          1   TABLE ACCESS BY INDEX ROWID AP_INVOICE_PAYMENTS_ALL (cr=5 pr=0 pw=0 time=124 us cost=6 size=12 card=1)
             1          1          1    INDEX RANGE SCAN AP_INVOICE_PAYMENTS_N2 (cr=4 pr=0 pw=0 time=92 us cost=3 size=0 card=70)(object id 27741)
             0          0          0   NESTED LOOPS  (cr=33 pr=3 pw=0 time=20897 us)
             0          0          0    NESTED LOOPS  (cr=33 pr=3 pw=0 time=20891 us cost=12 size=41 card=1)
             1          1          1     TABLE ACCESS FULL AP_SYSTEM_PARAMETERS_ALL (cr=30 pr=0 pw=0 time=313 us cost=9 size=11 card=1)
             0          0          0     INDEX RANGE SCAN AP_PAYMENT_HISTORY_N1 (cr=3 pr=3 pw=0 time=20568 us cost=2 size=0 card=1)(object id 27834)
             0          0          0    TABLE ACCESS BY INDEX ROWID AP_PAYMENT_HISTORY_ALL (cr=0 pr=0 pw=0 time=0 us cost=3 size=30 card=1)
    
    
    Elapsed times include waiting on following events:
      Event waited on                             Times   Max. Wait  Total Waited
      ----------------------------------------   Waited  ----------  ------------
      db file sequential read                       350        0.15          4.33
      Disk file operations I/O                        3        0.00          0.00
      latch: shared pool                              1        0.17          0.17
    ********************************************************************************

    user13019948 wrote:
    Hello

    I have a tkprof file. How can I get the total execution time.
    call count cpu elapsed disk query current rows
    ------- ------ -------- ---------- ---------- ---------- ---------- ----------
    total 1406 0.31 4.85 350 16955 0 521

    TOTAL ELAPSED TIME is 4.85 seconds from line above

Maybe you are looking for

  • Where can I download an update to MacOS mavericks to yosemite?

    Where can I download an update to MacOS mavericks to yosemite? Because El Capitan didn t work properly on my older iMac (2007 average). Thank you for the help

  • OfficeJet 4630: business card printing

    Software = MS DeskTop Publisher 2010 = AVERY 8373 card Photo quality glossy paper (8 to a 8.5 x 11.0 sheet) Thanks to the MS Publisher software, I tried to print a full sheet of cards.  The top cards of 6 print perfect.  The bottom two cards do NOT p

  • How to answer email from *.

    Hello world I am so embarrassed to ask this question. but, it was my problem. I had problem ro Exchange my gift card. So, I filled out a form online. I received an email from * about my problem and they asked me to send them information. I responded

  • upgrade Windows 6720 s

    I want to upgrade the operating system on my HP Compaq 6720 laptop PC s (with processor Celeron) Vista to Windows 7. Could someone tell me if the system supports the 64 bit version of Windows 7, and if there is no problem to find 64-bit drivers? Than

  • How to combine libraries of photos with pictures in Windows Media Center

    I want to know how to combine images with windows media center libraries pictures how it's done? Original title: search search index indexing re-indexing re-index research research research service troubleshooting troubleshooting