Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Performance of DBMS_STATS vs ANALYZE
v$session_longops will be populated with the full table scans and sort operations that occur during the dbms_stats execution.
1 select opname, count(1), sum(elapsed_seconds)
2 from v$session_longops
3* group by opname
system_at_QA25> /
OPNAME COUNT(1)SUM(ELAPSED_SECONDS)
----------------------------------- ---------- -------------------- Gather Table's Index Statistics 108 9 Hash Join 16 460 Table Scan 1 7
3 rows selected.
hth.
Pd
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Fri May 21 2004 - 09:58:47 CDT
![]() |
![]() |