Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Overall executions at DB level
"Spendius" <spendius_at_muchomail.com> wrote in news:1155213159.808984.286920
@b28g2000cwb.googlegroups.com:
> Hi,
> Do you think doing
> SQL> SELECT SUM(executions) FROM V$SQL[AREA]
> at regular intervals relevantly reflects the number of total
> SQL executions whatsoever in your database ?
> (I'm not sure as I've noticed sometimes that substracting
> a value from the next one returns a negative number
> - guess it's because in the meantime Oracle rid V$SQL
> of a few statements...)
>
> Thanks.
> Spendius
>
>
SO?
Not all SQL is created equal.
SELECT SYSDATE FROM DUAL;
is much less resource intensive than a SELECT doing a 12 table join.
By your methodology they both would count the same.
Received on Thu Aug 10 2006 - 08:25:46 CDT
![]() |
![]() |