Hi,
I have a SQL SERVER 2012 query that gives me the "avg_fragmentation_in_percent" for all the indexes that i created against each table.
Query:
SELECT *
FROM sys.dm_db_index_physical_stats(DB_ID(), NULL, NULL, NULL, NULL)
ORDER BY avg_fragmentation_in_percent DESC

I want the same in oracle.
Could anyone help me here.
Thanks in advance.