Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Insert Rate/Second
> --- Bruce McCartney
> <bruce.mccartney_at_dbinfosystems.com> wrote:
>
> > Hi Mohammed,
> >
> > If you want an accurate reading by table you can
> use
> > dba_tab_modifications;
> > something like this, I used SYSTEM so had to grant
> > access:
> >
> > grant all on SYS.DBA_TAB_MODIFICATIONS to system
> > with grant option;
> >
> >-----------8<-------------
>
> Hi Bruce,
more snippage.....
--------------8<--------------------
No...wait, Bruce's script and idea is accurate if you also include the conversion-to-seconds factor, it was me who screwed up. When the script runs, it issues a dbms_lock.sleep(30). If you multiply the INS_RATE by 30, you'll get a figure close to 7k rows/sec.
In fact, changing sleep(30) to sleep(1) also gives a value close 7k rows/sec. Getting rid of it altogether, also works.
So what was the idea behind the sleep?
Thanks again.
-- mohammed ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs -- http://www.freelists.org/webpage/oracle-lReceived on Wed Aug 24 2005 - 14:02:00 CDT
![]() |
![]() |