Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Determine how far an alter statement update global indexes has got still running

user5716448Jan 26 2016 — edited Jan 27 2016

Hi,

There is an etl job within the system which drops partitions from a partitioned table then updates global indexes.

Often we use sql similar to below to determine progress of some sqls.

Donnot see this running when look at sql below but looks to be when look in oracle enterprise manager

Using 11.2.0.3

select distinct v.SID, v.SQL_ID, vs.SQL_TEXT

from v$sql_plan_monitor v,v$sql vs

where

v.STATUS = 'EXECUTING'

and

v.SQL_ID = vs.SQL_ID

Is there a way to determine how far it has got in terms of percentage complete?

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 24 2016
Added on Jan 26 2016
11 comments
1,858 views