--- Daniel Hanks <[EMAIL PROTECTED]> wrote:
> Is there any way to check on the progress of an
> index rebuild? (Oracle 8i). I.e., it would be nice
> to get some indicator as to how far an index rebuild
> has gone, something like "75% done...".
> 

Daniel,

v$session_longops, perhaps?
(at least for the sort operation).
I'd run a test, but stomach tells me otherwise.

There is a window in OEM, if you edit the session,
that will show a progress bar. methinks that it is
hitting v$session_longops under the hood. pretty easy
to see which sql (in v$sql) belongs to OEM, as it is
hinted with "OEM" in it.

Paul

> As a rough indicator, I've noticed when
> rebuilding/moving an index to a different
> tablespace, Oracle will allocate temporary extents
> in the tablespace to which the index is being moved.
> So, in theory, I suppose I could see how big (in
> terms of extents) the index is before moving it and
> use that as a rough indicator to see how far along
> the rebuild is by counting the number of temporary
> extents allocated in the new tablespace (taking into
> account the extent size in the new tablespace). 
> 
> Are there better ways to see the progress of an
> index rebuild?
> 
> Thanks for any help.
> 
> -- Dan
>
========================================================================
>    Daniel Hanks - Systems/Database Administrator
>    About Inc., Web Services Division
>
========================================================================
> -- 
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.net
> -- 
> Author: Daniel Hanks
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services    -- 858-538-5051
> http://www.fatcity.com
> San Diego, California        -- Mailing list and web
> hosting services
>
---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from).  You may
> also send the HELP command for other information
> (like subscribing).


__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Paul Drake
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to