Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
52 views1 page

Index Status

This SQL query selects the table name, index name, and monitoring statistics from the v$object_usage view where the table name matches the value passed into the '&1' substitution variable and the index name matches either the value passed into '&2' or includes all indexes if '&2' is set to 'ALL'.

Uploaded by

Biplab Parida
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views1 page

Index Status

This SQL query selects the table name, index name, and monitoring statistics from the v$object_usage view where the table name matches the value passed into the '&1' substitution variable and the index name matches either the value passed into '&2' or includes all indexes if '&2' is set to 'ALL'.

Uploaded by

Biplab Parida
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

SELECT table_name,

index_name,
monitoring
FROM v$object_usage
WHERE table_name = UPPER('&1')
AND index_name = DECODE(UPPER('&2'), 'ALL', index_name, UPPER('&2'));

You might also like