ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling
complimentary technical Workshops on Database Security for the first 30
Oracle Database customers located anywhere in North America, EMEA, LATAM, or
APAC that send an email to
asra_us@oracle.com. Request a Workshop for
your organization today.
Purpose
Undocumented
AUTHID
CURRENT_USER
Constants
Name
Data Type
Value
General
FMT_TEXT
VARCHAR2(10)
'TEXT'
FMT_XML
VARCHAR2(10)
'XML'
Token Types
TOKEN_TYPE_TEXT
NUMBER
0
TOKEN_TYPE_THEME
NUMBER
1
TOKEN_TYPE_ZONE_SEC
NUMBER
2
TOKEN_TYPE_ATTR_TEXT
NUMBER
4
TOKEN_TYPE_ATTR_SEC
NUMBER
5
TOKEN_TYPE_PREFIX
NUMBER
6
TOKEN_TYPE_PATH_SEC
NUMBER
7
TOKEN_TYPE_PATH_ATTR
NUMBER
8
TOKEN_TYPE_STEM
NUMBER
9
TOKEN_TYPE_ATTR_TXT_PFIX
NUMBER
604
TOKEN_TYPE_ATTR_TXT_STEM
NUMBER
904
Data Types
TYPE query_record IS RECORD(
times NUMBER,
query VARCHAR2(4000));
TYPE query_table IS TABLE OF query_record
INDEX BY BINARY_INTEGER;
Creates a report describing an index including index meta-data settings, indexing objects used, object attribute settings and index partition descriptions
Overload 1
ctx_report.describe_index(
index_name IN VARCHAR2,
report IN OUT NOCOPY CLOB,
report_format IN VARCHAR2 DEFAULT FMT_TEXT);
TBD
Overload 2
ctx_report.describe_index(
index_name IN VARCHAR2,
report_format IN VARCHAR2 DEFAULT FMT_TEXT)
RETURN CLOB;
Create a report showing the internal objects of a text index or text index partition, and their tablespaces, allocated, and used sizes
Overload 1
ctx_report.index_size(
index_name IN VARCHAR2,
report IN OUT NOCOPY CLOB,
part_name IN VARCHAR2 DEFAULT NULL,
report_format IN VARCHAR2 DEFAULT FMT_TEXT);
TBD
Overload 2
ctx_report.index_size(
index_name IN VARCHAR2,
part_name IN VARCHAR2 DEFAULT NULL,
report_format IN VARCHAR2 DEFAULT FMT_TEXT)
RETURN CLOB;
Create a report showing calculated text index statistics
ctx_report.index_stats(
index_name IN VARCHAR2,
report IN OUT NOCOPY CLOB,
part_name IN VARCHAR2 DEFAULT NULL,
frag_stats IN BOOLEAN DEFAULT TRUE,
list_size IN NUMBER DEFAULT 100,
report_format IN VARCHAR2 DEFAULT FMT_TEXT,
stat_type IN VARCHAR2 DEFAULT NULL);
ctx_report.offset_info(
index_name IN VARCHAR2,
docid IN VARCHAR2,
token_type IN NUMBER,
part_name IN VARCHAR2 DEFAULT NULL,
raw_info IN VARCHAR2 DEFAULT 'N',
decoded_info IN VARCHAR2 DEFAULT 'Y',
report_format IN VARCHAR2 DEFAULT FMT_TEXT)
RETURN CLOB;
Returns the most(least) frequent queries from the query log file
ctx_report.query_log_summary(
logfile IN VARCHAR2,
indexname IN VARCHAR2 DEFAULT NULL,
result_table IN OUT NOCOPY query_table,
row_num IN NUMBER DEFAULT 50,
most_freq IN BOOLEAN DEFAULT true,
has_hit IN BOOLEAN DEFAULT true);
Creates a report showing decoded token information
Overload 1
ctx_report.token_info(
index_name IN VARCHAR2,
report IN OUT NOCOPY CLOB,
token IN VARCHAR2,
token_type IN NUMBER,
part_name IN VARCHAR2 DEFAULT NULL,
raw_info IN BOOLEAN DEFAULT FALSE,
decoded_info IN BOOLEAN DEFAULT TRUE,
report_format IN VARCHAR2 DEFAULT FMT_TEXT);
TBD
Overload 2
ctx_report.token_info(
index_name IN VARCHAR2,
token IN VARCHAR2,
token_type IN NUMBER,
part_name IN VARCHAR2 DEFAULT NULL,
raw_info IN VARCHAR2 DEFAULT 'N',
decoded_info IN VARCHAR2 DEFAULT 'Y',
report_format IN VARCHAR2 DEFAULT FMT_TEXT)
RETURN CLOB;