Oracle Ultra Search Online Documentation
Release 9.2

Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

Configuring the Oracle Server for Ultra Search

none   Related Topics none
none none

The operations described in this document are database administration operations. They can be performed using Oracle Enterprise Manager or SQL*Plus.

This document lists the necessary steps for:

Configuration Steps

Step 1: Tune the Oracle Database

Step 2: Create and Assign the Temporary Tablespace to the CTXSYS User

Step 3: Create a Large Tablespace for Each Ultra Search Instance User

Step 4: Create and Configure New Database Users for Each Ultra Search Instance

Step 5: Gather Statistics for the Tables

If you notice performance degradation on the crawler, it might be because statistics have not been gathered for the tables. You should gather statistics for the following tables: wk$url, wk$doc, and dr$wk$doc_path_idx$i. Statistics for the wk$url table are the most important. You must regularly gather statistics, because statistics are used by the cost-based optimizer to generate the best execution plan. Make sure that the crawler is not running during the performance tuning period to avoid interference.

You can use the DBMS_STATS PL/SQL package or the ANALYZE procedure to gather statistics. The DBMS_STATS package can be run on either the table level or the schema level. Running on the schema level computes the statistics for the all the objects in the schema including the tables and indexes. Oracle Corporation recommends using the DBMS_STATS package.

Connect to the schema owning the Ultra Search instance. For example:

EXEC DBMS_STATS.GATHER_TABLE_STATS(‘<schema_name>', ‘<table_name>', null, DBMS_STATS.AUTO_SAMPLE_SIZE);
EXEC DBMS_STATS.GATHER_SCHEMA_STATS(‘<schema_name>', DBMS_STATS.AUTO_SAMPLE_SIZE);

or

ANALYZE TABLE <table_name> ESTIMATE STATISTICS SAMPLE 20 percent;

where <schema_name> for the owner of the Ultra Search instance and <table_name> is the table you want to gather statistics for (for example, wk$url).

Occasionally rebuilding the B-tree indexes could also improve performance by freeing up disk space. For example:

ALTER INDEX <index_name> REBUILD;

where <index_name> with the index that you want to rebuild.

To get a list of the indexes, run the following statement:

SELECT index_name FROM user_indexes WHEREindex_type='NORMAL'; 

Oracle
Copyright © 2002 Oracle Corporation.
All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback