Connor, Rich,

There is no "real-time" update of an interMedia Text index.  Even ctxsrv
does the update periodically.  According to the 8.1.6 docs (referring to the
ctxsrv server)...
"This server synchronizes the index with ALTER INDEX at regular intervals."

Actually, you don't want real-time updates anyway.  The more frequently
(with smaller batches of new and/or updated rows) you sync your index, the
more fragmented and "trashy" it gets, which degrades performance.  Keep in
mind that an interMedia Text index is *nothing* like a "regular" index.

We sync the interMedia Text index on our main production table daily, after
typically inserting 50,000 to 200,000 new CLOB documents into a 2-3 million
row table.  It takes 40 min. to a couple of hours (we're on 8.1.6 on Win2k).
We used to use ctxsrv, but now use CTX_DDL.Sync_Index and life is good.
;-)

Jack

--------------------------------
Jack C. Applewhite
Database Administrator/Developer
OCP Oracle8 DBA
iNetProfit, Inc.
Austin, Texas
www.iNetProfit.com
[EMAIL PROTECTED]
(512)327-9068


-----Original Message-----
McDonald
Sent: Tuesday, November 13, 2001 2:23 PM
To: Multiple recipients of list ORACLE-L


There is a server process that can run in the
background to do this.  Check out ctxsrv

hth
connor

 --- "Jesse, Rich" <[EMAIL PROTECTED]> wrote: >
Hey all,
>
> So, there we are, testing out InterMedia in 8i, in
> the hopes of using Oracle
> Text in 9i.  Is there a way to automagically update
> the context index
> real-time?  I tried a call to CTX_DDL.SYNC_INDEX in
> a trigger body, but of
> course the wrapped procedure does a COMMIT.
>
> The idea right now is to sync the index every minute
> via DBMS_JOB, but that
> just seems too hokey to me.  Apparently, under
> ConText in Oracle7, the
> INT_RX procedure could be used in a trigger, but
> it's been desupported.
> (I'm guessing that locking was an issue?)
>
> Anyone have any ideas?
>
> TIA!
> Rich Jesse                          System/Database
> Administrator
> [EMAIL PROTECTED]             Quad/Tech
> International, Sussex, WI USA

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jack C. Applewhite
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to