InterMedia Text with USER_DATASTORE and ORA-03113

Hi,
I have problems using Oracle's InterMedia Text-index with a
USER_DATASTORE. I'm using Oracle 8.1.7 on Windows NT 4.0.
What I try to do is to create a context-index on multiple columns
of multiple tables. I created a table containing the original
tablenames and primary keys plus a char(1)-column to index, a
user_datastore, a procedure in a user-schema, a
wrapping-procedure in ctxsys' schema and finally the index. All
works fine so far but I get an ORA-03113 "end-of-file on
communication channel" error when querying the table with
contains. The procedure itself works.
Here's what I tried in detail:
I created a table "alldocs" containing the tablename and
primary-key-value of each line of each table plus a dummy-column
for the index:
create table alldocs(
table varchar2(30) not null,
id number not null,
data char(1),
primary key(tabelle, id)
I filled this table:
insert into alldocs (select 'MYDOCS', id, 'a' from mydocs);
insert into alldocs (select 'OTHERDOCS', id, 'b' from otherdocs);
The user's procedure - only dummy for testing - is:
create procedure test.GetAllDocsData(row IN ROWID, data IN OUT
NOCOPY CLOB) IS
     tabname varchar2(30);
     myid     number;
     tmpclob clob;
begin
     dbms_lob.createtemporary(tmpclob, TRUE);
     dbms_lob.writeappend(tmpclob, 34, 'Ein Text mit ca. 20
Zeichen Ldnge.');
     data := tmpclob;
end;
In ctxsys' schema I defined the following procedure and the
datastore:
create or replace procedure sysGetAllDocsData(rid in rowid, tlob
in out clob) is
begin
test.GetAllDocsData(rid, tlob);
end sysGetAllDocsData;
grant execute on sysGetAllDocsData to test;
call ctx_ddl.create_preference('MyUserDS', 'user_datastore');
call ctx_ddl.set_attribute('MyUserDS', 'procedure',
'sysGetAllDocsData');
call ctx_ddl.set_attribute('MyUserDS', 'output_type', 'CLOB');
Finally I defined the index:
create index test.alldocs_ctx on test.alldocs(data)
     indextype is ctxsys.context
     parameters ('DATASTORE CTXSYS.MyUserDS FILTER
CTXSYS.INSO_FILTER LEXER BASIC_LEXER');
This all works without errors. But when querying like this:
select * from test.alldocs where contains('data', 'Text')>0
the answer is
ORA-03113: end-of-file on communication channel
I hope someone can help.
Greetings
Ralf

Hi Ralf,
please define first your own preferences like this:
exec CTX_DDL.drop_preference('MY_LEXER');
exec CTX_DDL.create_preference('MY_LEXER','BASIC_LEXER');
exec CTX_DDL.set_attribute('MY_LEXER','ALTERNATE_SPELLING',
'GERMAN');
exec CTX_DDL.set_attribute('MY_LEXER','BASE_LETTER','YES');
exec CTX_DDL.set_attribute('MY_LEXER','MIXED_CASE', 'NO');
exec CTX_DDL.set_attribute('MY_LEXER','INDEX_THEMES','NO');
exec CTX_DDL.set_attribute('MY_LEXER','INDEX_TEXT', 'YES');
exec CTX_DDL.set_attribute('MY_LEXER','COMPOSITE', 'GERMAN');
exec ctx_ddl.Drop_Preference ('MY_FILTER');
exec ctx_ddl.Create_Preference ('MY_FILTER','NULL_FILTER');
exec ctx_ddl.drop_section_group ('MY_SECTION');
exec ctx_ddl.create_section_group
('MY_SECTION','NULL_SECTION_GROUP');
and then create your index with this preferences. You only need
an INSO filter if you want to index pdf,word,...
create index test.alldocs_ctx on test.alldocs(data)
     indextype is ctxsys.context
     parameters ('DATASTORE CTXSYS.MyUserDS FILTER
CTXSYS.INSO_FILTER LEXER BASIC_LEXER');create index test.alldocs_ctx on test.alldocs(data)
     indextype is ctxsys.context
     parameters ('
DATASTORE CTXSYS.MyUserDS
lexer MY_LEXER
filter MY_FILTER
section group MY_SECTION');
Then see in the token table what tokens are in the index:
select token_text from dr$alldocs_ctx$i;
If you got also an ORA-3113 see in alert.log if there is a trace
referenced with this error and have a look in this file to find a
better error message.
Good luck.
Thomas

Similar Messages

  • Using InterMedia Text with FrameMaker, StarOffice...

    I'm planning to use InterMedia text with various kinds of documents, but inso filter does not support them. In particular, it does not support:
    - Framemaker
    - PostScript (I know it works on encapsulated PostScript)
    - Applix
    Where can I find the right filters?
    Is there a way to use InterMedia text with these documents?
    Thank you
    Paolo Bonanomi

    I'd suggest searching the web - there are a number of little freeware filters out there that could be used as user-filters.>Have anybody found a postscript filter and can post it here ?
    Regards,
    Mihai

  • ORA-02068 and ORA-03113

    Error 2068 trapped in 2PC on transaction 3.6.12908. Cleaning up.
    Error stack returned to user:
    ORA-02068: fatal error has occurred in Instance_name.WORLD.
    End-of-file has been detected in the communication channel: ORA-03113
    Can anyone please share with the cause and solution.
    Windows server and Database version : 9.2

    ORA-02068: following severe error from stringstring
    Cause:     A severe error (disconnect, fatal Oracle error) received from the indicated database link. See following error text.
    Action:     Contact the remote system administrator.
    ORA-03113: end-of-file on communication channel
    Cause:     The connection between Client and Server process was broken.
    Action:     There was a communication error that requires further investigation. First, check for network problems and review the SQL*Net setup. Also, look in the alert.log file for any errors. Finally, test to see whether the server process is dead and whether a trace file was generated at failure time.

  • Db links and ora-03113

    I currently run two 7.3.4 databases linked with a public database link. Every now and then my cobol process on my first db aborts due to ora-03113 while access my second db via the link. I restart the cobol process, and it works fine. It does not appear to correlate to and db or network events. Both are on same host (unix 11). first has shared pool size 10 x that of second-does that matter?
    What do I look for?

    I currently run two 7.3.4 databases linked with a public database link. Every now and then my cobol process on my first db aborts due to ora-03113 while access my second db via the link. I restart the cobol process, and it works fine. It does not appear to correlate to and db or network events. Both are on same host (unix 11). first has shared pool size 10 x that of second-does that matter?
    What do I look for?

  • How can I create transparent animated  text with Motion and Final Cut Pro?

    Hi all,
    I am trying to replicate an effect that a previous video editor did in a project, but I can't contact them.
    They made animated text in Live Type, and saved it as a QT movie. When this text is placed over existing video in the FCP project, the text is "transparent", basically it acts like text created in FCP (You can see the background image behind the text, like through the middle of the letter "o").
    I have made some animated text in Motion, but when I save it as a QT movie, and bring it into FCP, the whole 1280x720 screen is covered by this movie, and I have to crop it so it does not cover the background image. It is all black except for the text. And of course the text is not on a transparent layer. Any ideas how I can create this effect with animated text? I've tried messing with transparency and overlay settings, nothing seems to work.
    Running latest version of Final Cut Studio...
    Thanks
    Dave

    Just bring the Motion (.motn) project into FCP and lay it over your clip.
    The QT you're exporting has to carry the alpha channel (animation codec, million+ colors), but don't waste your time/disk space with that. Just bring the motion project into FCP.
    Patrick

  • Group texts with iPhone and Android

    I made a group text with 17 of my friends, some on iPhone and some on Android. It started out as one group text, thenme and a couple of other people found that it was creating different group texts. These new group texts wouldnt have certain people in each, there turned out to be about a total of four different group texts going on. What is a probable cause of this? And is there a way to fix the problem without making everyone turn to a third party app?

    Group texting is not one of the iPhone's stronger features. Group texting among a mix of iPhone and Android users is frequently a less than satisfactory experience. I'd go with the third party app. GroupMe is a nice cross platform app. It's free. It lets you mute certain groups if you don't want to be bothered for a while.

  • SDO_RELATE and ORA-03113 error

    Hello,
    I am trying to use the SDO_RELATE function and I receive the following error:
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    Using the following SQL
    SELECT ufi FROM ROADLINE A
    WHERE MDSYS.SDO_RELATE(
    A.GEOMETRY, mdsys.sdo_geometry( 2003,null,null,
    mdsys.sdo_elem_info_array(1,1003,3),
    mdsys.sdo_ordinate_array(132,-12,133,-11)),
    'mask=ANYINTERACT querytype=WINDOW') = 'TRUE'
    A similar search using the SDO_FILTER instead of SDO_RELATE and removing the mask=ANYINTERACT works ok.
    Can anyone suggest anything?
    Thanks in advance.
    Gunter

    Hi Gunter,
    It looks like there may be other issues. Can you post the version of Oracle you are using, and try debugging just a little bit more to try to narrow the problem down?
    This might help to determine which geometry the failure is occuring at:
    create table tt as select ufi,geometry
    from roadline where rownum < 1;
    declare
    ufi number ;
    window_geom mdsys.sdo_geometry := mdsys.sdo_geometry( 2003,null,null, mdsys.sdo_elem_info_array(1,1003,3),
    mdsys.sdo_ordinate_array(132,-12,133,-11));
    theGeom mdsys.sdo_geometry ;
    TYPE geomcursor is REF CURSOR ;
    aCursor geomcursor;
    relationship varchar2(30);
    begin
    open aCursor FOR 'SELECT ufi, geometry from roadline A WHERE SDO_filter( A.GEOMETRY,:WINDOW_GEOM, ''querytype=WINDOW'') = ''TRUE''' using window_geom;
    loop
    FETCH aCursor INTO ufi, theGeom ;
    EXIT WHEN aCursor%NOTFOUND ;
    execute immediate 'insert into tt values (:ufi,:theGeom)'
    using ufi,theGeom;
    execute immediate 'commit';
    relationship := sdo_geom.relate(theGeom,'anyinteract',window_geom,0.05);
    end loop;
    end;
    If you see the same error, hopefully it will be determining the relationship between the last geometry in the table tt and the query window. If you can check this, and if this is the case post the geometry that is failing as well as the contents of user_sdo_geom_metadata for roadline that would be great.
    Dan

  • DBMS_XSLPROCESSOR.processXSL and ORA-03113

    Hi,
    I got "ORA-03113: end-of-file on communication channel" error when use DBMS_XSLPROCESSOR.processXSL to transform an xml data.
    The dump file contains:
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    33C61A04 493 package body XDB.DBMS_XSLPROCESSOR
    33C61A04 520 package body XDB.DBMS_XSLPROCESSOR
    207BCF08 44 function DAN_DR_306.IMPACT1
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    _qmxdXobToLobStream           00000000            
    +190
    qmxdWriteToString+  CALLrel  qmxdXobToLobStream
    37 +0
    qmprprocessor_pxs CALLrel _qmxdWriteToString+  A6A4F90 0 7B4E358 7D0
    ldoc2buf+280 0
    __VInfreq__spefcmpa CALLreg 00000000 7CECD94 7B04D48 0 C 7B04D98 0
    +210 C 7B04C58 0 C 7B4E358 7B4EBCC
    7B4EBD4 7B4EBDC
    spefmccallstd+147   CALLrel  spefcmpa+0 7CECB08 E 7B4EB48 7CEC5B8 0
    Following is the simplified example that can be used to duplicate the error. If I use "<result/>" instead of "<!--result/-->" in the "xsldoc", the transformation works file. It seems the ora-03113 occurs when the transformation result is empty.
    CREATE OR REPLACE FUNCTION impact1 (
              tsiModelUniqueName          varchar2
         ) RETURN integer IS
    indoc VARCHAR2(2000);
    xsldoc CLOB;
    indomdoc DBMS_XMLDOM.DOMDocument;
    xsltdomdoc DBMS_XMLDOM.DOMDocument;
    myParser DBMS_XMLPARSER.parser;
    proc DBMS_XSLPROCESSOR.processor;
    xsl DBMS_XSLPROCESSOR.stylesheet;
    result CLOB;
    buf VARCHAR2(2000);
    BEGIN
    indoc := '<test>aaa</test>';
    xsldoc := '<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:output method="xml" version="1.0" encoding="UTF-8"/>
         <xsl:strip-space elements="*"/>
         <!-- process node comparison -->
         <xsl:template match="/test">     
         <!--result/-->     
         </xsl:template>
         </xsl:stylesheet>';
    -- Get the new xml parser instance
    myParser := DBMS_XMLPARSER.newParser;
    -- Get the new xsl processor instance
    proc := DBMS_XSLPROCESSOR.newProcessor;
    -- Parse the XML document
    DBMS_XMLPARSER.parseBuffer(myParser, indoc);
    -- Get the XML's DOM document
    indomdoc := DBMS_XMLPARSER.getDocument(myParser);
    -- Parse the XSL document
    DBMS_XMLPARSER.parseBuffer(myParser, xsldoc);
    -- Get the XSL's DOM document
    xsltdomdoc := DBMS_XMLPARSER.getDocument(myParser);
    xsl := DBMS_XSLPROCESSOR.newStyleSheet(xsltdomdoc, '');
    --apply stylesheet to DOM document  
    DBMS_XSLPROCESSOR.processXSL(proc, xsl, indomdoc, buf);
    DBMS_OUTPUT.put_line(buf);
    DBMS_XMLDOM.freeDocument(indomdoc);
    DBMS_XMLDOM.freeDocument(xsltdomdoc);
    DBMS_XMLPARSER.freeParser(myParser);
    DBMS_XSLPROCESSOR.freeProcessor(proc);
    RETURN 1;
    EXCEPTION
    WHEN OTHERS THEN
    raise_application_error(-20100, 'Exception occurred in XSL Processsing Function :'||SQLERRM);
    END;
    Thanks for the input. /dan

    The one I know if the DST patch. I am waiting for our DBA to let me know what has been installed since it last worked. I did notice that there are a number of SYS owned XML related JAVA CLASS objects with an INVALID statuses. They have "OracleXML" or "oracle/xdb/dom" in their names. I do not know if that is normal or not.
    Mike

  • BI Publisher -RTF Template issue: Output report not maintaining text with bullets and numberings.

    Hi All,
    I am currently working with generating reports using BI Publisher. My issue is that when I will preview the output(in PDF and RTF) format's  of the newly created template, then, if the data coming from DB have some bullets or numbering, then the BI publisher output will ignore the same and will show the complete data as one single line.
    For example if the data in the DB Field is like below:
    The XYZ has the below sub-parts:
    ABC : This again has two parts:
    abc1
    abc2
    CDE
    FGH
    Then  this data will appear as below in the BI Publisher output report's:
    The XYZ has the below sub-parts: •   ABC : This again has two parts:  o     abc1  o   abc2   •    CDE    •   FGH
    I want the format of the data (with bullets and number's) should be maintained in the BI Publisher Report as well, but I am unable to find any solution for the same.
    Any help on the same is much appreciated.
    Deep Bhoj

    in your query will u get all the columns always null when column1 is null
    in your template for each group u can write like below
    think G_1 as group in your xml
    <?for-each:G_1[COLUMN1!='']?><?COLUMN1?><?COMMENTS?><?end for each?>
    or if u are not sure u get null in both places every time u can write like below
    <?for-each:G_1[COLUMN1!='' and COMMENTS!='']?><?COLUMN1?><?COMMENTS?><?end for each?>

  • Intermedia indexes : "extproc_connection_data" error and ORA-28575

    1) I have migrated database from Rel2 to Rel3.,
    2) Migration of Db denied to migrate intermedia component,
    rest migration is successfull,
    3) With Rel2, intermedia indexes, lexer etc. were created
    and properly functioning with all default parameters,
    i do not remember any alteration, except the comment of
    mts entries in init.ora file,
    4) While creating intermedia indexes, it
    gives following errors :
    - ORA-20000
    - DRG-50704
    - ORA-28575
    - ORA-06512
    5) While issuing the following command, it returns error:
    > tnsping extproc_connection_data
    TNS-03505 : Failed to resolve name
    Furnishing the details of entries :-
    (A) TNSNAMES.ORA :
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)
    (KEY = EXTPROC0)))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)))
    (B) LISTENER.ORA :
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)
    (KEY = EXTPROC0)))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)
    (HOST = <host_name>)
    (PORT = 1521))))
    (DESCRIPTION =
    (PROTOCOL_STACK =
    (PRESENTATION = GIOP)
    (SESSION = RAW))
    (ADDRESS = (PROTOCOL = TCP)
    (HOST = <host_name>)
    (PORT = 2481))))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\Oracle\Ora81)
    (PROGRAM = extproc))
    (C) SQLNET.ORA :
    NAMES.DEFAULT_DOMAIN = <domain_name>
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH=(TNSNAMES, ONAMES, HOSTNAME)
    (D) SNMP_RO.ORA :
    snmp.SID.<sid_name>.matpl = <sid_name>
    snmp.oraclehome.<sid_name>.<domain_name> = d:\oracle\ora81
    snmp.address.<sid_name>.<domain_name> =
    (ADDRESS=(PROTOCOL=BEQ)(PROGRAM=ORACLE)
    (ARGV0=ORACLE<sid_name>)(ARGS='(DESCRIPTION=
    (LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))
    snmp.remoteaddress.<sid_name>.<domain_name> =
    (DESCRIPTION=(ADDRESS_LIST = (ADDRESS =
    (PROTOCOL = TCP)(HOST = <host_name>)
    (PORT =1521)))
    (CONNECT_DATA=(SID=<sid_name>)
    (SERVER=DEDICATED)))

    Thanks Omar, for proper diagnosis.
    Present Database Version in Oracle 8.1.7.0.0 and Oracle 9iAS 1.0.2.1 on Windows NT 4.0 platform.
    Regards,
    Ashwani
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Omar Alonso:
    Please post db version and platform.<HR></BLOCKQUOTE>
    null

  • Oracle Text with User_DataStore is not working

    Hi Expert,
    Based on this url  : http://docs.oracle.com/cd/B28359_01/text.111/b28304/cdatadic.htm#i1006810
    I was trying to create an oracle text index , but i wasn't able to retrieve the data
    here are my scripts:
    create table articles(
        id       number,
        author   varchar2(80),
        title    varchar2(120),
        text     clob );
        create procedure myproc(rid in rowid, tlob in out clob nocopy) is
      begin
          for c1 in (select author, title, text from articles
                      where rowid = rid)
          loop
          dbms_lob.writeappend(tlob, length(c1.title), c1.title);
       dbms_lob.writeappend(tlob, length(c1.author), c1.author);
       dbms_lob.writeappend(tlob, length(c1.text), c1.text);
           end loop;
        end;
        begin
    ctx_ddl.create_preference('myud', 'user_datastore');
    ctx_ddl.set_attribute('myud', 'procedure', 'myproc');
    ctx_ddl.set_attribute('myud', 'output_type', 'CLOB');
    end;
        create index myindex2 on articles(text)
      indextype is ctxsys.context
      parameters ('DATASTORE myud'); 
          insert into articles(id,author,title)values (1,'A','AAAAAA');commit;
          insert into articles(id,author,title)values (2,'B','BBBBBB');commit;
          insert into articles(id,author,title)values (3,'C','CCCCCC');commit;
          insert into articles(id,author,title)values (4,'D','DDDDDD');commit;
          EXEC CTX_DDL.SYNC_INDEX('myindex2','2M');
          select * from articles where contains(text,'B',1)>0;  -- this display nothing.
    Can anybody help me?

    It's absolutly essential to get into the details of Oracle Text if it is used for more than pretty simple things.
    Query the index tables and view the tokens stored.
    Is there any token like 'B'?
    I guess no. Because your function constructs something other ...
    What do you get, if you try 'B%' instead of 'B'?

  • Handling texts with SMARTFORMS and SE63

    Hi all
    I am having a strange situation I cannot understand: I am working on a form on two side:
    1) changing aspects with smartforms
    2) handling texts translations with se63
    The problem is that now if I made some change on text in smartform, I cannot see on output. Say I put a text in the middle of the form with "Hello world!" in, I cannot see in its output. why? Is this because I am working also with se63? I tried to leave transaction se63 to avoid eventual conflict, but still ... if now I go in smartforms transaction and try to change the form I cannot see any changes and till yesterday I did not have this kind of problem.
    Any idea ?
    thanks
    Gabriele

    The problem was that modifying form modifies were not visible .. I don't know if was because I was using also se63 on same form ... Now I solved and all is turned normal and change are visible: I closed and restart everything handling in different moment se63 and smartforms .. very strange ...
    thank you anyway
    Gabriele

  • 8.1.7 personal and ORA-03113 error

    Got a colleague trying to install 8.1.7 personal on to a laptop running XP on a P3 chip, 512 ram.
    Installation runs through to the creation of the database and then falls over with a 03113. Click on abort and install finishes. Go back and try to create the database manually and get the same error.
    An ides?

    Please Favour to me that i am asking about some installation guidlines from you
    1. can personal oracle 8 support for windows 2000 professional.
    2. personal oracle 8 for NT same For Windows 2000 professional.
    please Send me suggesstion soon as possible for my email account [email protected]

  • Search on text with diacritic, and case insensitive

    Hello to all,
    I'm using this condition in a query on XML:
    field[contains(@value, "gangesa" )
    If @value= 'Gaṅgeśa' I'd like to get this record also by using the word: "gangesa" So I need to map:
    ṅ = n
    ś = s
    And do it in case insensitive. Somebody can help me?
    Thank you,
    Cristian                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    ALTER SESSION SET NLS_COMP=LINGUISTIC;
    ALTER session set nls_sort='binary_ai'; -->accent insensitive
                 binary_ci -->case insensitive.
    with t as
    (select 'Gageśa' col1 from dual union all
    select 'GAgEśa'  from dual union all
    select 'gagEśA'  from dual union all
    select 'not Gageśa' from dual
    select * from t where col1 like '%gagesa';
    Gagesa
    GAgEsa
    gagEsA
    not Gagesaand do the search.
    Edited by: PhoenixBai on Aug 25, 2010 10:14 PM

  • How to extract sql text with SID and SERIAL#

    Hi,
    I am new to oracle database and recently i have started my journey in performance tuning.
    i need to extract sql text which is fired by user based ont SID and SERIAL#.
    Thanks in advance..
    prabha

    seankim wrote:
    Hi~
    select a.sid, a.serial#, b.sql_fulltext
    from   v$session a, v$sql b
    where  decode(a.sql_id,null,a.prev_sql_id, a.sql_id)=b.sql_id
    and    decode(a.sql_id,null,a.prev_child_number, a.sql_child_number)=b.child_number
    and    a.sid=&sid
    and    a.serial#=&serial;
    Also a bad idea - have you checked the exection plan ?
    Do you think it might be a good idea to think about the need for statistics on fixed objects ?
    Here's a possible plan from 11.1.0.7 - and it's not very nice.
    | Id  | Operation                  | Name              | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT           |                   |     1 |  2182 |     0   (0)| 00:00:01 |
    |   1 |  NESTED LOOPS              |                   |     1 |  2182 |     0   (0)| 00:00:01 |
    |   2 |   MERGE JOIN CARTESIAN     |                   |     1 |  2075 |     0   (0)| 00:00:01 |
    |   3 |    NESTED LOOPS            |                   |     1 |    39 |     0   (0)| 00:00:01 |
    |*  4 |     FIXED TABLE FIXED INDEX| X$KSLWT (ind:1)   |     1 |    26 |     0   (0)| 00:00:01 |
    |*  5 |     FIXED TABLE FIXED INDEX| X$KSLED (ind:2)   |     1 |    13 |     0   (0)| 00:00:01 |
    |   6 |    BUFFER SORT             |                   |     1 |  2036 |     0   (0)| 00:00:01 |
    |*  7 |     FIXED TABLE FULL       | X$KGLCURSOR_CHILD |     1 |  2036 |     0   (0)| 00:00:01 |
    |*  8 |   FIXED TABLE FIXED INDEX  | X$KSUSE (ind:1)   |     1 |   107 |     0   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       4 - filter("W"."KSLWTSID"=82)
       5 - filter("W"."KSLWTEVT"="E"."INDX")
       7 - filter("INST_ID"=USERENV('INSTANCE'))
       8 - filter("S"."INDX"=82 AND "S"."KSUSESER"=53 AND "S"."INST_ID"=USERENV('INSTANCE')
                  AND BITAND("S"."KSSPAFLG",1)<>0 AND BITAND("S"."KSUSEFLG",1)<>0 AND
                  "KGLOBT03"=DECODE("S"."KSUSESQI",NULL,"S"."KSUSEPSI","S"."KSUSESQI") AND
                  "KGLOBT09"=DECODE("S"."KSUSESQI",NULL,DECODE("S"."KSUSEPCH",65535,TO_NUMBER(NULL),"S"."K
                  SUSEPCH"),DECODE("S"."KSUSESCH",65535,TO_NUMBER(NULL),"S"."KSUSESCH")))You need to avoid the "full tablescan" of the library cache.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com

Maybe you are looking for