Skip to content

Commit bc57719

Browse files
authored
Create -monitoring-index.sql
1 parent 9b6d163 commit bc57719

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
REM Script for 23c: 7-monitoring-index.sql
2+
3+
-- Query USER_INDEXES to get basic information about the created index.
4+
col index_type format a10
5+
col ityp_owner format a10
6+
col table_owner format a10
7+
col table_name format a20
8+
9+
select index_type, table_owner, table_name, table_type, status, ityp_owner
10+
from user_indexes where index_name='SEARCH_PRODUCTS';
11+
12+
-- Query CTX_INDEX_VALUES to display values for each object used in the index. You need to have access on CTXSYS objects.
13+
14+
set linesize window
15+
16+
select ixv_class, ixv_object, ixv_attribute, ixv_value
17+
from ctxsys.ctx_index_values
18+
where ixv_index_owner='CO';

0 commit comments

Comments
 (0)