11.07.2015 Views

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER <strong>11</strong> ■ APPLICATION DEVELOPMENT 485Figure <strong>11</strong>-7. XMLIndex optionsThere are additional options on this screen; the XML Subsetting and Asynchronous optionswill be explained in the upcoming sections.Now, the XMLIndex is created, so let’s see how you can retrieve this information from thedata dictionary. You can query DBA_/ALL_/USER_INDEXES to retrieve high-level informationabout what table has XMLIndex indexes:SQL> select table_name, index_name , index_type2 from dba_indexes3 where owner='SH'4* and ityp_name= 'XMLINDEX'SQL> /TABLE_NAME INDEX_NAME INDEX_TYPE------------- ------------------ --------------------EDBA_SECURITY EDBA_SECURITY FUNCTION-BASED DOMAINXMLINDEXEDBA_PO EDBA_PO_XMLINDEX FUNCTION-BASED DOMAINEarlier, the XMLIndex was referred to as a domain-level index, and querying the DBA_INDEXES view indicates that the XMLIndex is a function-based domain index type. Also, notethe ITYP_NAME column has the new value for XMLIndex.You can also query the DBA_/ALL_/USER_XML_INDEXES view to get detailed informationpertaining to an XMLIndex:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!