答案是肯定的,与DBA_TABLES和DBA_TAB_PARTITIONS不同,DBA_IND_PARTITIONS是DBA_INDEXES里面被分区的indexes内容的复制。
SQL> select count(0) from dba_indexes where table_name like '%MV' and table_owner='ADWGD';
COUNT(0)
----------
2152
SQL> select COUNT(distinct(index_name)) from dba_ind_partitions where index_owner='ADWGD';
COUNT(DISTINCT(INDEX_NAME))
---------------------------
2411
SQL> select distinct(index_name) from dba_ind_partitions where index_owner='ADWGD'
2 minus
3 select index_name from dba_indexes where table_name like '%MV' and table_owner='ADWGD';
INDEX_NAME
--------------------------------------------------------------------------------
。。。。。。
259 rows selected.
259= 2152 - 2411, 而且select出来的索引都为非分区索引。[@more@]
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/661919/viewspace-1003115/
,如需转载,请注明出处,否则将追究法律责任。