Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Database trigger or Intermedia complexicity :closed

Re: Database trigger or Intermedia complexicity :closed

From: Praful Thakkar <thakkar_praful_at_yahoo.com>
Date: Fri, 28 Apr 2000 06:45:27 -0700 (PDT)
Message-Id: <10481.104411@fatcity.com>


Hi,

Drbgdml.sql is nothing but an SQL script continually scanning for DML to do on any index. It remains logged on and uses the concept of syncing the domain index. In this script, sleep time is just 5 seconds so chances for domain index getting fragmented is very high. On the other hand, CTXSRV builds the batch, which may contain many more words to sync simultaneously. This depends on the default memory allocated to CTXSRV process. By specifying high default memory, chances of fragmentation of domain index are lower compared to the background process.

Another disadvantage is - you'll have to kill this background process when you shutdown the database. 'SHUTDOWN IMMEDIATE' to shutdown database may not work because of the active connection from this script. Even in 8.1.6, there is no mechanism equivalent to shutting down the CTXSRV for the background script.

BTW, you can modify the script to change sleep time for your needs. You can specify memory for syncing domain index, too. Alternately, use DBMS_JOB to submit the job for syncing the domain indexes every 'n' second.

HTH.


Do You Yahoo!?
Talk to your friends online and get email alerts with Yahoo! Messenger. Received on Fri Apr 28 2000 - 08:45:27 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US