Skip to Main Content

SQL & PL/SQL

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!

Sequence Used Percentage

User_LYGSLSep 10 2012 — edited Sep 10 2012
Hi

I would like to monitor the sequence usage where cycle_flag=N by querying dba_sequences . I can get the renaming values of a sequence (assuming CACHE_SIZE=0) by to_char(abs(max_value-last_number)) which shows a huge number .

How can i get the sequence percentage used using an SQL query ? So that in can be used in a monitoring tool where i can define a threshold .

Appreciate if some one can help me with the query .

I can get the remanin
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 8 2012
Added on Sep 10 2012
2 comments
1,409 views