ADD_SOURCE

The DBMS_SEARCH.ADD_SOURCE procedure adds one or more data sources (tables or views) from different schemas to the DBMS_SEARCH index.

Syntax

DBMS_SEARCH.ADD_SOURCE (
index_name      VARCHAR2,
source_name     VARCHAR2,
memory          VARCHAR2 DEFAULT NULL,
parallel_degree NUMBER DEFAULT NULL);

Note: TheDBMS_SEARCH.ADD_SOURCE procedure has been upgraded in version 23.9 to support memory and parallel_degree parameters. These parameters are not available for use in earlier release versions.

index_name

Specify name of the index to which you want to add the table or view. You can also specify [schema].index_name.

source_name

Specify name of the table, view, or Duality view to add to the index. You can also specify [schema].table_or_view_name.

memory

Specify the amount of memory allocated for indexing of the added data source.

Note: Total memory usage is determined by multiplying the memory parameter by the parallel_degree.

parallel_degree

Specify the degree of parallelism used for indexing the added data source.

Notes

Examples

exec DBMS_SEARCH.ADD_SOURCE('MYINDEX','MYTABLE');
exec DBMS_SEARCH.ADD_SOURCE('MYINDEX','MYVIEW');
exec DBMS_SEARCH.ADD_SOURCE('DOCUSER.MYINDEX','DOCUSER.MYTABLE');

Related Topics