Sequence Used Percentage
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