How much time elapsed to this insert

This is my script.i would like to find out how much time elapsed.if i run this script
pls tell me how to see...
CREATE OR REPLACE procedure afterinsert(n number)
is
counter NUMBER;
sql_string VARCHAR2 (1000);
h number;
high1 number;
hh number;
hh1 number;
BEGIN
select count(max(id)) into high1 from employee_T1 group by id;
h:=high1+1;
hh:=h+n;
hh1:=hh-1;
FOR Outercounter IN 1 .. 100 LOOP
FOR Innercounter IN h .. hh1 LOOP
sql_string :='INSERT INTO employee_T' || OuterCounter
|| '(id, col_a ,col_b,col_c ,col_d ,col_e, col_f ,col_g ,col_h ,col_i ,col_j ,col_k,col_l,col_m,col_n,col_o,col_p,
col_q,col_r,col_s,col_t,col_u,col_v,col_w,col_x,col_y,col_z ) VALUES ('
|| innercounter || ',
''col_a'',
sysdate,
' || innercounter||
' ,''col_d'' ,''col_e'',''col_f'' ,''col_g'' ,sysdate ,''col_i'' ,''col_j'' ,sysdate,''col_l'',''col_m'',''col_n'',''col_o'',
'|| innercounter || ',sysdate,''col_r'',''col_s'','|| innercounter || ',''col_u'',''col_v'',''col_w'',sysdate,''col_y'',''col_z'')';
dbms_output.put_line(sql_string);
EXECUTE IMMEDIATE sql_string;
END LOOP;
END LOOP;
END;
thnks
abdul

Use the option :
SQL> set timing on;
SQL> select count(*) from tab;
  COUNT(*)
      1368
Elapsed: 00:00:00.03You can try with your procedure here.
Cheers, Bhupinder

Similar Messages

  • How much more range does this have over the old time capsule?

    how much more range does this have over the old time capsule?

    Maybe 5-10% better in my experience, but it is impossible to say what your results might be until you try it out in your home.

  • How much time take this applikation?

    Hello,
    I want to measurement the time, that a part of my applikation take.
    E.G.:
    int i = 3+4;
    I want to see how much time this part of code take.
    And then I want to print somethink like that:
    The applikation take 0.02 Milliseconds to summate 3 and 4.
    Thank and Sorry for my terrible English :-)
    Josef L�th

    Theorethically:long time = System.currentTimeMillis();
    int i = 3+4;
    time = System.currentTimeMillis() - time;However, consider that these operations have a precision dependent on the OS you're running them on, and that Java itself is not good at real timing operations. I suppose "time" will always be 0, since that sum operation will take just nanoseconds or less on every kind of modern CPU.

  • I bought a mac book pro and apple promised upgradation to lion aosx but yet nothing rcvd , want to ask how much time it takes for them to send me the code to download it (now its more than a week i purchased this mac)

    i bought a mac book pro and apple promised upgradation to lion aosx but yet nothing rcvd , want to ask how much time it takes for them to send me the code to download it (now its more than a week i purchased this mac)

    http://www.apple.com/macosx/uptodate/

  • My iphone5's camera is not working.The shutter freezes each time.How much time it normally takes to fix it.(i have an appointment this week). and if they can't will they give me a new iphone5 ?

    My iphone5's camera is not working.The shutter freezes each time.How much time it normally takes to fix it.(i have an appointment this week). and if they can't will they give me a new iphone5 ?

    Yes part of Apple Store
    You will get a service replacement ,maybe new maybe refurbed to new standard
    but in a "brown box" so no bits and pieces just unit for unit exchange
    They will know of iPhone history from their systems but always
    worth having proof of ownership but not essential (as far as I know )

  • How much time it take to rebuild an index for a table with 20 millions rows

    Hi all,
    i need to rebuild the index of a table containing 20 000 000 row (i don't know why the other people working on this didn't think of rebuilding the index regularly, because i asked and apparently it has never been done :cry: :cry:) i am not a sql developper nor a DBA so i can't mesure how long it take to rebuild the index, does any one have an idea (aproximativly of course :aie:), the other question is there any formula to use in order to calculate how often to rebuild the indexes (i can for example retieve how much rows are delated or inserted daily ...)
    Thanks again
    Taha

    taha wrote:
    :aie: that's why i am asking because i don't know (and to be sure which solution is best)
    so the table is like this (the columns) :
    45 varchar2, 5 timestamp, 30 Number no LOB columns, (15 indexes : 5 unique indexes and that those indexes uses at a maximum 4 columns)15 indexes - 100,000 deletes: this could mean 1,500,000 block visits to maintain index leaf blocks as the table rows are deleted. If you're unlucky this could turn into 1,500,000 physical block read requests; if you're lucky, or the system is well engineered this could be virtually no physical I/O. The difference in time could be huge. At any rate it is likely to be 1,500,000 redo entries at 250 - 300 bytes per entry for a total of about 400MB of redo (so how large are your redo logs and how many log switches are you going to cause).
    yes the tables is used by an application so (update, insert ) can take place at any time
    for the deletion , there is the batch which does a mass delete on the table ( 4 or 5 time each day)
    You haven't answered the question - how long does it take to do a sample batch delete.
    If you can enable SQL tracing, or take a before/after snapshot of v$sesstat or v$session_event for the session as it does the delete then you can get some idea of where the time is going - for all you know it might be spending most of its time waiting for a lock to do away.
    >
    "How many leaf blocks are currently allocated to the index(es) ?" how can i answer to this question ? may be if i check the all_objects table ?
    If you keep your statistics up to date then dba_indexes is a good place, cross-checked with dba_segments, and you can use the dbms_space package for more detail. I have a code sample on my blog which allows you to compare the current size of your indexes with the size they would be if rebuilt at some specific percentage: http://jonathanlewis.wordpress.com/index-sizing/ (It's such good code that Oracle Corp. has copied it into MOS note 989186.1)
    Regards
    Jonathan Lewis

  • How do I display time remaining in a captivate published video so the learning can know how much time is remaining in a video

    After I publish my video it just plays but there is no indication of how much time is remaining on the video while watching. How do I display this

    It is possible, but you have to know 'time' is bit different, depending if you are talking about the 'editors' time or the real time spent by the the trainee. Have a look at this old blog post, that tries to explain:
    http://blog.lilybiri.com/display-time-information
    Time can show on the TOC (editors time), and if you have a playbar with a progress bar that gives some indication as well, but both for pure linear projects.

  • Is there a way of checking how much time has been spent on an Adobe document?

    I would like to know how much time is spent preparing or completing Adobe forms for time keeping purposes.  Is there any record of this in the individual document metadata, or anywhere?

    Hi mikeq,
    I don't believe that's something that gets tracked in your Acrobat.com online account. There are  free time-tracking utilities, though. I did a quick Google search and found a number of them.
    Best,
    Sara

  • 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?

  • Is there a plug-in that tracks how much time you've spent in specific files?

    I want an easy way to track how much time I've spent on certain projects. I really just need a plug-in that tracks how long files have been open. I'm having trouble searching for one like that; does anyone know if this exists as a plug-in or even as a function of Photoshop (or Illustrator)? This would be very helpful for freelancers. Thanks.

    Found this link via Google. I have CS6 and it looks like this, don't know about CC.
    How to Keep a Log of Your Work in Photoshop - Digital Photography School

  • Possible to check how much time an update statement on a table would take ?

    Hello @all
    I have a table with a fragmented Index, the table has an actula "user_updates" from 226'699.
    How can i find out how much time an update on this table takes ?
    i would like to check if there is any performance increase when i regroup the index (rebuild), cause the index has a fragementation of 85% now... (or should i delete the index completely) cause there are no user_seeks... only user_updates on the table...
    and i thought that indexes only makes sense if users are reading from the table... am i wrong ? (cause on every update from the table, the index (indexes) have to be updated too...
    Thanks and Regards
    Dominic

    Rebuilding the index will not likely result in a modification be quicker. At least not more than marginal. In fact, it might wven be slower, since if you currently have space on the index page for the new row and then rebuild so you *don't* have space then
    the index rebuild will make that update be slower (at least for the cases where you get page splits). 
    However if the index isn't used to find rows (any of the other three columns), then you have an index which only cost you and doesn't help you!
    Tibor Karaszi, SQL Server MVP |
    web | blog
    Tibor, check out this forum thread:
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/64ad4f52-2fd8-4266-b4a4-5657c8870246/needed-more-answerers?forum=sqlgetstarted
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • How much time on alternate methods of browser testing?

    Here's a question for anyone who has done professional Web design on at least a part-time basis. I'm trying to help a friend decide whether to get an account with a company (browsercam.com) that lets you submit a URL and then see what it would look like using different combinations of screen sizes, operating systems and browsers. Apparently they use a "farm" of real computers to do this. It ain't cheap.
    For those of you designers not using the above-mentioned company or anyone similar, what do you prefer for testing your CSS/HTML for compatibility with the variety of website visitors out there, including those with mobile devices - AND - how much time do you think you use this way in a typical year? Or month? The Dreamweaver Browser Lab? Testing it out on several computers you have access to? Sending the link to several people using different computers and smart phones? Something else?
    Thanks!

    I'm not a big fan of screenshot services b/c a still image of one site page doesn't tell you much. This may be OK for quick layout checks but it isn't sufficient for usability and performance testing.  For that, you really must test in real browsers & devices. 
    I have current versions of the 5 major browsers installed on my workstation (IE, FF, Opera, Safari & Chrome).  Plus MyDebugBar's multi-IE tester for checking legacy IE.
    http://www.my-debugbar.com/wiki/IETester/HomePage
    If you're specifically targeting a particular make or model mobile device, it's best to buy or borrow one.  Given the staggering number of models on the market, it's not possible to check every one.   
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • How much time would you say a 3 G I pad would give you?

    Hi I am thinking about purchasing an I Pad with 3 G to take on a cruise so I would not have to depend on the internet on the ship.  Is this worth It?  How much time would I have if I were to purchase 2 GB from Verizon? 

    Matthew349 wrote:
    Hope this helped.
    I suspect that, in the last ten months, the OP has figured out their data needs.

  • How much time does 8.2 software have?

    I've been reviewing software revisions for the Cisco ASA 5500 family.  We have a few clients running 8.2 and the jump to 8.3 will require significant effort to make sure everything translates properly.  There are no features in 8.3 that these clients require so it seems in their, and our, best interest to let them ride the 8.2 software until an upgrade is necessary to continue receiving security patches.  I have looked for EOL notifications but have not found anything for 8.2.  I have also placed an inquiry with our SE at Cisco, but I thought I would ask if anyone knows anything about how much time 8.2 has before we could expect to see an EOL notification.

    Hi,
    Here is some information related to 8.1 Software.
    http://www.cisco.com/en/US/prod/collateral/vpndevc/ps6032/ps6094/ps6120/end_of_life_c51_640618.html
    Table 1. End-of-Life Milestones and Dates for the Cisco ASA 5500 Series Adaptive Security Appliance Software Release 8.1
    Milestone
    Definition
    Date
    End-of-Life Announcement Date
    The date the document that announces the end of sale and end of life of a product is distributed to the general public.
    January 15, 2011
    End-of-Sale Date
    The last date to order the product through Cisco point-of-sale mechanisms. The product is no longer for sale after this date.
    July 16, 2011
    Last Ship Date:
    OS SW
    The  last-possible ship date that can be requested of Cisco and/or its  contract manufacturers. Actual ship date is dependent on lead time.
    October 14, 2011
    End of SW Maintenance Releases Date:
    OS SW
    The  last date that Cisco Engineering may release any final software  maintenance releases or bug fixes. After this date, Cisco Engineering  will no longer develop, repair, maintain, or test the product software.
    July 15, 2012
    End of New Service Attachment Date:
    OS SW
    For  equipment and software that is not covered by a service-and-support  contract, this is the last date to order a new service-and-support  contract or add the equipment and/or software to an existing  service-and-support contract.
    July 15, 2012
    End of Service Contract Renewal Date:
    OS SW
    The last date to extend or renew a service contract for the product.
    October 11, 2015
    Last Date of Support:
    The  last date to receive service and support for the product. After this  date, all support services for the product are unavailable, and the  product becomes obsolete.
    July 31, 2016
    HW = Hardware OS SW = Operating System Software App. SW = Application Software
    I can't seem to find the same for the 8.2.
    Though I would consider that there are still alot of users happily going about with the very old PIX firewalls running software 6.x or even older. Not saying its a good thing but it work.
    And considering 8.2 is the latest software before the BIG NAT change I would imagine it will stay in use for a long time for those that dont want to learn/adopt the new NAT format.
    - Jouni

  • 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

Maybe you are looking for

  • About File To File using BPM

    Hi, Can any body send the file to file scenario using BPM and also  some other typical scenario's on BPM with screenshots. Thanks in advance . Regards, Prem.S

  • Why is the text going over the image????

    Please refer to video here http://www.youtube.com/watch?v=2rN6Ndm9sFo&feature=youtu.b Why is the text going over the image when the text layer is below the image layer?? It is so frustrating.

  • Can't get commit method to work with Data service

    Hello I am trying to write changes to a database from a combo box. I am using the commit method as follows TblsituationService.commit(); But I am getting the following error message 1061: Call to a possibly undefined method commit through a reference

  • H420 desktop won't install anything

    So far, I can;t install Adobe, Java, Microsoft updates and a VPN progam.  i get variety of messages amounting ot the action is not allowed or I don't have permission to install.   Most recently, the Microsoft install was rejected with message 2203.  

  • Enlarge the size of widgets on the screen

    I've loaded a number of widgets onto my iMac, but I find them difficult to view -- e.g. Solitare takes just about 15% of the screen. Is there a way to enlarge the board to 50%? 75% 100% of the screen? This questions applies to all widgets. Thanks JW