Oracle Text Storage Issue

Hi Everyone,
My name is John and I just have 3 small queries which your expertise and assistance is greatly needed and appreciated.
I'm currently using Oracle Text on Oracle 10g Enterprise Edition Release 10.2.0.2.0 database and experiencing some kind of space storage problem. I have a table with 2 BLOB columns. One of the column is storing the TIF image file and the other column is storing the TIF's OCR version in PDF format. We are indexing on the PDF format column for rapid text retrieval. As we are loading them into the table, the index and table tablespaces were used up very rapidly. I've used and created my context index storage using the statements below:
ctx_ddl.create_preference('OCR_DOC_OCR_CONTENT_I_STORAGE','BASIC_STORAGE');
ctx_ddl.set_attribute('OCR_DOC_OCR_CONTENT_I_STORAGE','I_INDEX_CLAUSE',
'tablespace TS_OCR_IDX_LGE compress 2');
ctx_ddl.set_attribute('OCR_DOC_OCR_CONTENT_I_STORAGE','I_TABLE_CLAUSE',
'tablespace TS_OCR_IDX_LGE');
ctx_ddl.set_attribute('OCR_DOC_OCR_CONTENT_I_STORAGE','K_TABLE_CLAUSE',
'tablespace TS_OCR_IDX_LGE');
ctx_ddl.set_attribute('OCR_DOC_OCR_CONTENT_I_STORAGE','N_TABLE_CLAUSE',
'tablespace TS_OCR_IDX_LGE');
ctx_ddl.set_attribute('OCR_DOC_OCR_CONTENT_I_STORAGE','P_TABLE_CLAUSE',
'tablespace TS_OCR_IDX_LGE');
ctx_ddl.set_attribute('OCR_DOC_OCR_CONTENT_I_STORAGE','R_TABLE_CLAUSE',
'tablespace TS_OCR_IDX_LGE lob (data) store as (cache)');
I've created my table using the following commands below:
create table OCR_DOCUMENT (
DOC_ID number
,DOC_NAME varchar2(255)
,DOC_DIRECTORY varchar2(255)
,DOC_EXTENSION varchar2(10)
,DOC_CONTENT blob
,OCR_EXTENSION varchar2(10)
,OCR_CONTENT blob
,HAS_BLOB varchar2(1)
,CREATED_DATETIME date
,FILE_NAME VARCHAR2(2000)
,DW_DOC_ID NUMBER
,PAGE_NO NUMBER
,DOC_TYPE VARCHAR2(100)
,DOC_CLASS VARCHAR2(100)
,DOC_DESCRIPTION VARCHAR2(2000)
,PAGES NUMBER(10)
,CLT_NUMBER NUMBER(10)
,TAXENT_NUMBER NUMBER(10)
,REG_DATE DATE
,TAX_YEAR VARCHAR2(20)
,ORIG_FILE_NAME VARCHAR2(2000)
tablespace TS_OCR_TBL_LGE
pctfree 5 initrans 2 maxtrans 255
nologging noparallel;
My first question is, is there anything wrong with my storage clauses so I can improve and save some additional space?
Second question is, is there a way that I can compress and save some space on the table blob columns, i.e. DOC_CONTENT and OCR_CONTENT, without affecting the document service retreival?
Because at the beginning of the project, I've used utl_compress.lz_uncompress to compress the BLOB content before storing them to the table but I soon ditched such idea after finding out when I attempt to retrieve the compressed BLOB content using ctx_doc.markup for highlight document service (to highlight the text which I've used in my searching), it displayed some sort of garbage text information and I could not find any workaround to it.
Also, if we are preapred NOT to use the THEME and GIST features of Oracle Text, can I perhaps remove them to save some addition space? Any feedback that I can save space would be welcomed and appreciated. Have a nice day.
Thanks and Regards,
John

The BEST solution to your problem is to move to 11gRelease1
I am not sure how feasible that will be on your part, but 11gR1 have exactly the same capabilities as you are looking for.
You can compress, deduplicate all the LOB fields (with SECUREFILE clause) in all the tables including internal index tables ($R etc) and the base table (OCR_DOCUMENT).
This is just for your information.
I dont reallyhave any other information to share with you to resolve your problem :(

Similar Messages

  • Oracle Text/Intermedia issue

    Hi Friends,
    To implement search capabilities in my oracle database, iam trying to install and configure intermedia. While doing this i came across a few issues:
    1. In Our current setup we wish to use Oracle intermedia. All we need is to be able to create ctxsys.context index and query our tables using “CONTAINS” keyword. Do we need to install Oracle intermedia for this or Oracle Text is enough or these two are tied together?
    2. After intermedia install, I found that 4-5 tables with names DR$indexname are created. Do we need to take into account any memory allocation issues while creating this index(ctxsys.context )?
    3. Also the query takes longer time to retrieve results. What are the considerations to optimize the query? (The table that I am querying has about 5000 records and I created ctxsys.context index for two fields of sizes varchar2(4000) and varchar2(2000) )
    Any help on this wd be highly appreciated.
    Thanks in Anticipation.
    Deeps

    1. In Oracle 9i you need only Oracle Text, no need to install Intermedia
    2. Yes and you can control in which tablespace you want to create this table. You can control this when creating the datastore (Please double check about datastore as I don't remember exactly where to specify the storage clause)
    3. This is difficult to answer unless we have more details like tables, query and execution plan etc. But in general you should analyze the table and indexes as well. Are you using fuzzy, soundex, stem or % search?

  • Oracle Text Issue XE

    I have an XE Database 11.2 on Windows, with Oracle text 11.2.0.2.0, all object verified, which has one imported Apex Application that was exported form Oracle 10 without issue.
    I used data pump to populate the underlying application tables, which has also been successful, but need to recreate the text indexes in the target 11.2 instance.
    I used ctx_report.create_index_script to create the 4 scripts I needed, no issue.
    When running the first script on the target instance it all executed OK except for the  "create index" section, and I cant seem to get around the issue.
    The part of the script that fails is
    create index "SCHEMA_OWNER"."A_INDEX1"
    on "SCHEMA_OWNER"."A"
    ("A1")
    indextype is ctxsys.context
    parameters('
    datastore       "A_INDEX1_DST"
    filter              "A_INDEX1_FIL"
    section group   "A_INDEX1_SGP"
    lexer           "A_INDEX1_LEX"
    wordlist        "A_INDEX1_WDL"
    stoplist        "A_INDEX1_SPL"
    storage         "A_INDEX1_STO"
    Which returns the following errors
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-50857: oracle error in drvxtab.create_index_tables
    ORA-00905: missing keyword
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
    Can anyone help point me in the right direction, going slightly mad.

    Thanks for the help, it's much appreciated.
    I have truncated the stoplist, but otherwise here is the complete script as created by ctx_report.create_index_script.
    = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    begin                                                                          
      ctx_ddl.create_preference('"A_INDEX1_DST"','DIRECT_DATASTORE');     
    end;                                                                           
    begin                                                                          
      ctx_ddl.create_preference('"A_INDEX1_FIL"','AUTO_FILTER');          
    end;                                                                           
    begin                                                                          
      ctx_ddl.create_section_group('"A_INDEX1_SGP"','HTML_SECTION_GROUP');
    end;                                                                           
    begin                                                                          
      ctx_ddl.create_preference('"A_INDEX1_LEX"','BASIC_LEXER');          
    end;                                                                           
    begin                                                                          
      ctx_ddl.create_preference('"A_INDEX1_WDL"','BASIC_WORDLIST');       
      ctx_ddl.set_attribute('"A_INDEX1_WDL"','STEMMER','ENGLISH');        
      ctx_ddl.set_attribute('"A_INDEX1_WDL"','FUZZY_MATCH','GENERIC');    
    end;                                                                           
    begin                                                                          
      ctx_ddl.create_stoplist('"A_INDEX1_SPL"','BASIC_STOPLIST');         
      ctx_ddl.add_stopword('"A_INDEX1_SPL"','Mr');                        
      ctx_ddl.add_stopword('"A_INDEX1_SPL"','Mrs');                       
      ctx_ddl.add_stopword('"A_INDEX1_SPL"','Ms');
      ctx_ddl.add_stopword('"A_INDEX1_SPL"','might');                     
      ctx_ddl.add_stopword('"A_INDEX1_SPL"','yours');                     
    end;                                                                           
    begin                                                                          
      ctx_ddl.create_preference('"A_INDEX1_STO"','BASIC_STORAGE');        
      ctx_ddl.set_attribute('"A_INDEX1_STO"','R_TABLE_CLAUSE','lob (data) store as (cache)');                                                             
      ctx_ddl.set_attribute('"A_INDEX1_STO"','I_INDEX_CLAUSE','compress 2')
    end;                                                                           
    begin                                                                          
      ctx_output.start_log('A_INDEX1_LOG');                               
    end;                                                                           
    create index "SCHEMA_OWNER"."A_INDEX1"                                 
      on "SCHEMA_OWNER"."A"                                                
          ("A1")                                                            
      indextype is ctxsys.context                                                  
      parameters('                                                                 
        datastore       "A_INDEX1_DST"                                    
        filter          "A_INDEX1_FIL"                                    
        section group   "A_INDEX1_SGP"                                    
        lexer           "A_INDEX1_LEX"                                    
        wordlist        "A_INDEX1_WDL"                                    
        stoplist        "A_INDEX1_SPL"                                    
        storage         "A_INDEX1_STO"                                    
    begin                                                                          
      ctx_output.end_log;                                                          
    end;                                                                           
    = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    Hope this helps

  • Oracle 10g RAC using ASM - Storage Issue

    I’ve an issue related to Oracle 10g RAC.
    I’ve 2 node cluster each being Dell 2850 Server with RHEL 4.0
    I’ve EMC CX300 SAN storage with following partitions
    /orasoft     10 Gb          OCFS2 File system
    /oracrs          2 Gb          OCFS2 File system
    /orabackup      100 Gb          OCFS2 File system
    The datafiles are on ASM which is not directly visible in OS.
    I’ve common Oracle Home installed in /orasoft/db_1 which is shared by both nodes in cluster.
    I’ve faced an issue recently related to EMC storage.
    The /orasoft partition displays 1.4 Gb space available using df command.
    With both nodes sharing the common Oracle Home (/orasoft/db_1), when ever I try to touch a file I get an error as No Space left on device. I’m unable to start any service with the same reason.
    Is this setup correct ??
    Can anyone help me with this storage issue ??

    Need a clarification here...what do you mean by "Storage System"...do you mean a server/node or the SAN storage system. If you are referring to a server/node's local storage, then it would NOT be possible for use by RAC, since the disk space has to be shared among the nodes.
    Here is what you can do:
    - Create two partitions/devices (for example Disk_1 and Disk_2) in the SAN storage
    - Create a ASM disk group which would mirror Disk_1 to Disk_2.
    Again, please note that the partitions have to be visible and be accessible read/write from both the nodes/servers.
    HTH
    Thanks
    Chandra Pabba

  • Oracle 10g RAC+ASM - Storage Issue

    I’ve an issue related to Oracle 10g RAC.
    I’ve 2 node cluster each being Dell 2850 Server with RHEL 4.0
    I’ve EMC CX300 SAN storage with following partitions
    /orasoft     10 Gb          OCFS2 File system
    /oracrs          2 Gb          OCFS2 File system
    /orabackup      100 Gb          OCFS2 File system
    The datafiles are on ASM which is not directly visible in OS.
    I’ve common Oracle Home installed in /orasoft/db_1 which is shared by both nodes in cluster.
    I’ve faced an issue recently related to EMC storage.
    The /orasoft partition displays 1.4 Gb space available using df command.
    With both nodes sharing the common Oracle Home (/orasoft/db_1), when ever I try to touch a file I get an error as No Space left on device. I’m unable to start any service with the same reason.
    Is this setup correct ??
    Can anyone help me with this storage issue ??

    Hi,
    If you create a new diskgroup you may be to add the same diskgroup to parameter file or spfile and which will be needing down time.
    sugestion: Instead of creating new diskgroup you should to add disk to existing group.if you add asm disk to existing group your all problem will be solved and Oracle itself will be managing all.And than i am sure no need to add entry in the parameter or spfile like +db_create_file_dest=.....
    regards,
    Sher khan

  • Issues using Oracle Text conditions

    Hi all,
    I'm facing an issue executing a query on a VIEW using Oracle Text Indexes.
    The DB version I'm using is "Enterprise 9.2.0.5".
    TEST_VIEW is an sql-view that has a query on several tables where one of them has two Oracle Text indexes, one on field FIELD2 and another on FIELD3
    executing this query I get 10 rows:
    select *
    from TEST_VIEW
    where FIELD1 = 1001 -- regular condition
    and (contains(FIELD2, 'Blitz') > 0 ) -- Oracle text condition
    But if I add another condition on an existent Oracle Text Index, I'll get only 1 row:
    select *
    from TEST_VIEW
    where FIELD1 = 1001
    where (contains(FIELD2, 'Blitz') > 0 OR contains(FIELD3, 'Blitz') > 0)
    As you can see the third condition was added using a logical OR, so I should get at least 10 rows ...
    Can anyone help me ?
    ThaNks in advance.
    Eduardo.

    Eduardo,
    Without a full test case, it is hard to see if there is something wrong or not. I did the following, and all worked fine on my 10g instance. I had to assume some things, but I at least think I have the basic gist of your inquiry in this example. Run it/change it to match your situation, and post back when you can.
    Thanks,
    Ron
    CREATE TABLE Z_TEST1 (
    FIELD1 VARCHAR2(30));
    INSERT INTO Z_TEST1
    VALUES ('QUICK');
    INSERT INTO Z_TEST1
    VALUES ('BROWN');
    INSERT INTO Z_TEST1
    VALUES ('FOX');
    INSERT INTO Z_TEST1
    VALUES ('QUICK');
    INSERT INTO Z_TEST1
    VALUES ('BROWN');
    INSERT INTO Z_TEST1
    VALUES ('FOX');
    CREATE TABLE Z_TEST2 (
    FIELD2 VARCHAR2(30));
    INSERT INTO Z_TEST2
    VALUES ('JUMPED');
    INSERT INTO Z_TEST2
    VALUES ('OVER');
    INSERT INTO Z_TEST2
    VALUES ('LAZY');
    INSERT INTO Z_TEST2
    VALUES ('DOG');
    INSERT INTO Z_TEST2
    VALUES ('QUICK');
    INSERT INTO Z_TEST2
    VALUES ('BROWN');
    INSERT INTO Z_TEST2
    VALUES ('FOX');
    commit;
    CREATE VIEW TEST_VIEW
    AS
    SELECT Z_TEST1.FIELD1 AS "FIELD1", Z_TEST2.FIELD2 AS "FIELD2"
    FROM Z_TEST1, Z_TEST2;
    CREATE INDEX Z_TEST1_IDX ON Z_TEST1(FIELD1)
    INDEXTYPE IS CTXSYS.CONTEXT;
    CREATE INDEX Z_TEST2_IDX ON Z_TEST2(FIELD2)
    INDEXTYPE IS CTXSYS.CONTEXT;
    select *
    from TEST_VIEW
    where CONTAINS(FIELD1, 'FOX') > 0;
    14 rows
    select *
    from TEST_VIEW
    where (CONTAINS(FIELD1, 'FOX') > 0 OR CONTAINS(FIELD2, 'FOX') > 0);
    18 rows

  • Performance issue with Oracle Text index

    Hi Experts,
    We are on Oracle 11.2..0.3 on Solaris 10. I have implemented Oracle Text in our environment and I am facing a strange performance issue that is happening in our environment.
    One sql having CONTAINS clause is taking forever - more than 20 minutes and still does not complete. This sql has a contains clause and an exists clause and a not exists clause.
    Now if I remove the exists clause and a not exists clause , it completes fast. but with those two clauses it is just taking forever. It is late night so i am not able to post the table and sql query details and will do so tomorrow but based on this general description, are there any pointers for me to review?
    sql query doing fine:
    SELECT
        U.CLNT_OID, U.USR_OID, S.MAILADDR
    FROM
        access_usr U
        INNER JOIN access_sia S
            ON S.USR_OID = U.USR_OID AND S.CLNT_OID = U.CLNT_OID
        WHERE U.CLNT_OID = 'ABCX32S'
        AND CONTAINS(LAST_NAME , 'TO%' ) >0
    --sql query that hangs forever:
    SELECT
        U.CLNT_OID, U.USR_OID, S.MAILADDR
    FROM
        access_usr U
        INNER JOIN access_sia S
            ON S.USR_OID = U.USR_OID AND S.CLNT_OID = U.CLNT_OID
        WHERE U.CLNT_OID = 'ABCX32S'
        AND CONTAINS(LAST_NAME , 'TO%' ) >0
    and exists (--one clause here wiht a few table joins)
    and not exists (--one clause here wiht a few table joins);
    --Now another strange thing I found is if instead of 'TO%' in this sql, if I were to use 'ZZ%' or 'L1%' it works fast but for 'TO%' it goes slow with those two exists not exists clauses!
    I will be most thankful for the inputs.
    OrauserN

    Hi Barbara,
    First of all, thanks a lot for reviewing the issue.
    Unluckily making the change to empty_stoplist did not work out. I am today copying the entire sql here that has this issue and will be most thankful for more insights/pointers on what can be done.
    Here is the entire sql:
    SELECT U.CLNT_OID,
           U.USR_OID,
           S.EMAILADDRESS,
           U.FIRST_NAME,
           U.LAST_NAME,
           S.JOBCODE,
           S.LOCATION,
           S.DEPARTMENT,
           S.ASSOCIATEID,
           S.ENTERPRISECOMPANYCODE,
           S.EMPLOYEEID,
           S.PAYGROUP,
           S.PRODUCTLOCALE
      FROM    ACCESS_USR U
           INNER JOIN
              ACCESS_SIA S
           ON S.USR_OID = U.USR_OID AND S.CLNT_OID = U.CLNT_OID
    WHERE     U.CLNT_OID = 'G39NY3D25942TXDA'
           AND EXISTS
                  (SELECT 1
                     FROM ACCESS_USR_GROUP_XREF UGX
                          INNER JOIN ACCESS_GROUP RELG
                             ON     RELG.CLNT_OID = UGX.CLNT_OID
                                AND RELG.GROUP_OID = UGX.GROUP_OID
                          INNER JOIN ACCESS_GROUP G
                             ON     G.CLNT_OID = RELG.CLNT_OID
                                AND G.GROUP_TYPE_OID = RELG.GROUP_TYPE_OID
                    WHERE     UGX.CLNT_OID = U.CLNT_OID
                          AND UGX.USR_OID = U.USR_OID
                          AND G.GROUP_OID = 920512943
                          AND UGX.INCLUDED = 1)
           AND NOT EXISTS
                      (SELECT 1
                         FROM    ACCESS_USR_GROUP_XREF UGX
                              INNER JOIN
                                 ACCESS_GROUP G
                              ON     G.CLNT_OID = UGX.CLNT_OID
                                 AND G.GROUP_OID = UGX.GROUP_OID
                        WHERE     UGX.CLNT_OID = U.CLNT_OID
                              AND UGX.USR_OID = U.USR_OID
                              AND G.GROUP_OID = 920512943
                              AND UGX.INCLUDED = 1)
           AND CONTAINS (U.LAST_NAME, 'Bon%') > 0;
    Like I said before if the EXISTS and NOT EXISTS clause are removed it works in sub-second. But with those EXISTS and NOT EXISTS CLAUSE IT TAKES ANY WHERE FROM 25 minutes to more than one hour.
    NOte also that it was not TO% but Bon% in the CONTAINS clause that is giving the issue - sorry that was wrong on my part.
    Also please see below the ORACLE TEXT index defined on the table ACCESS_USER:
    --definition of preferences used in the index:
    SET SERVEROUTPUT ON size unlimited
    WHENEVER SQLERROR EXIT SQL.SQLCODE
    DECLARE
       v_err       VARCHAR2 (1000);
       v_sqlcode   NUMBER;
       v_count     NUMBER;
    BEGIN
       ctxsys.ctx_ddl.create_preference ('cust_lexer', 'BASIC_LEXER');
       ctxsys.ctx_ddl.set_attribute ('cust_lexer', 'base_letter', 'YES'); -- removes diacritics
    EXCEPTION
       WHEN OTHERS
       THEN
          v_err := SQLERRM;
          v_sqlcode := SQLCODE;
          v_count := INSTR (v_err, 'DRG-10701');
          IF v_count > 0
          THEN
             DBMS_OUTPUT.put_line (
                'The required preference named CUST_LEXER with BASIC LEXER is already set up');
          ELSE
             RAISE;
          END IF;
    END;
    DECLARE
       v_err       VARCHAR2 (1000);
       v_sqlcode   NUMBER;
       v_count     NUMBER;
    BEGIN
       ctxsys.ctx_ddl.create_preference ('cust_wl', 'BASIC_WORDLIST');
       ctxsys.ctx_ddl.set_attribute ('cust_wl', 'SUBSTRING_INDEX', 'true'); -- to improve performance
    EXCEPTION
       WHEN OTHERS
       THEN
          v_err := SQLERRM;
          v_sqlcode := SQLCODE;
          v_count := INSTR (v_err, 'DRG-10701');
          IF v_count > 0
          THEN
             DBMS_OUTPUT.put_line (
                'The required preference named CUST_WL with BASIC WORDLIST is already set up');
          ELSE
             RAISE;
          END IF;
    END;
    --now below is the code of the index:
    CREATE INDEX ACCESS_USR_IDX3 ON ACCESS_USR
    (FIRST_NAME)
    INDEXTYPE IS CTXSYS.CONTEXT
    PARAMETERS('LEXER cust_lexer WORDLIST cust_wl SYNC (ON COMMIT)');
    CREATE INDEX ACCESS_USR_IDX4 ON ACCESS_USR
    (LAST_NAME)
    INDEXTYPE IS CTXSYS.CONTEXT
    PARAMETERS('LEXER cust_lexer WORDLIST cust_wl SYNC (ON COMMIT)');
    The strange thing is that, like I said, If I remove the exists clause the query returns very fast. Also if I modify the query to use only one NOT EXISTS clause and remove the other EXISTS clause it returns in less than one second.  Also if I remove the EXISTS clause and use only the NOT EXISTS  clause it returns in less than 4 seconds. But with both clauses it runs forever!
    When I tried to get dbms_xplan.display_cursor to get the query plan (for the case of both exists and not exists clause in the query), it said that previous statement's sql id was 0 or something like that so that I was not able to see the query plan. I will keep trying to get this plan (it takes 25 minutes to one hour each time but will get this info soon). Again any pointers are most helpful.
    Regards
    OrauserN

  • Oracle text - issue with contains query

    Hello,
    Need urgent help.
    Following code in my procedure is giving me error.
    TYPE c_1 is ref cursor;
    result_cursor c1;
    i_text2 := 'NEW%';
    open result_cursor for
    'select /*+ INDEX_SS_DESC(e cad_addr_idx2 )*/
    from cad_address
    where
    contains(text, {:i_text2}, 1) > 0
    and rec_type in (1,2,3,4)
    order by occur_count desc'
    using
    i_text2;
    ORA-00936: missing expression
    ORA-06512: at "AV_OWNER.MY_PROC", line 43
    ORA-06512: at line 6
    Oracle version is 11.2.0.3.0.
    Thanks,

    check your table is 'text indexed' on this 'Text' column.To knoow more about 'text index' go to
    http://docs.oracle.com/cd/B19306_01/text.102/b14217/ind.htm
    Also refer to the below thread where someone had faced issues with CONTAINS clause.
    ORA-20000: Oracle Text error: DRG-10599: column is not indexed

  • Performance issues and options to reduce load with Oracle text implementation

    Hi Experts,
    My database on Oracle 11.2.0.2 on Linux. We have Oracle Text implemented for fuzzy search. Our oracle text indexes are defined as sync on commit as we can not afford to have stale data.  Now our application does literally thousands of inserts/updates/deletes to those columns where we have these Oracle text indexes defined. As a result, we are seeing a lot of performance impact due to the oracle text sync routines being called on each commit. We are doing the index optimization every night (full optimization every night at 3 am).  The oracle text index related internal operations are showing up as top sql in our AWR report and there are concerns that it is causing lot of load on the DB.  Since we do the full index optimization only once at night, I am thinking should I change that , and if I do so, will it help us?
    For example here are some data from my one day's AWR report:
    Elapsed Time (s)
    Executions
    Elapsed Time per Exec (s)
    %Total
    %CPU
    %IO
    SQL Id
    SQL Module
    SQL Text
    27,386.25
    305,441
    0.09
    16.50
    15.82
    9.98
    ddr8uck5s5kp3
    begin ctxsys.drvdml.com_sync_i...
    14,618.81
    213,980
    0.07
    8.81
    8.39
    27.79
    02yb6k216ntqf
    begin ctxsys.syncrn(:idxownid,...
    Full Text of above top sql:
    ddr8uck5s5kp3
    begin ctxsys.drvdml.com_sync_index(:idxname, :idxmem, :partname);
    end
    02yb6k216ntqf
    begin ctxsys.syncrn(:idxownid, :idxoname, :idxid, :ixpid, :rtabnm, :flg); end;
    Now if I do the full index optimization more often and not just once at night 3 PM, will that mean, the load on DB due to sync on commit will decrease? If yes how often should I optimized and doesn't the optimization itself lead to some load? Can someone suggest?
    Thanks,
    OrauserN

    You can query the ctx_parameters view to see what your default and maximum memory values are:
    SCOTT@orcl12c> COLUMN bytes    FORMAT 9,999,999,999
    SCOTT@orcl12c> COLUMN megabytes FORMAT 9,999,999,999
    SCOTT@orcl12c> SELECT par_name AS parameter,
      2          TO_NUMBER (par_value) AS bytes,
      3          par_value / 1048576 AS megabytes
      4  FROM   ctx_parameters
      5  WHERE  par_name IN ('DEFAULT_INDEX_MEMORY', 'MAX_INDEX_MEMORY')
      6  ORDER  BY par_name
      7  /
    PARAMETER                               BYTES      MEGABYTES
    DEFAULT_INDEX_MEMORY               67,108,864             64
    MAX_INDEX_MEMORY                1,073,741,824          1,024
    2 rows selected.
    You can set the memory value in your index parameters:
    SCOTT@orcl12c> CREATE INDEX EMPLOYEE_IDX01
      2  ON EMPLOYEES (EMP_NAME)
      3  INDEXTYPE IS CTXSYS.CONTEXT
      4  PARAMETERS ('SYNC (ON COMMIT) MEMORY 1024M')
      5  /
    Index created.
    You can also modify the default and maximum values using CTX_ADM.SET_PARAMETER:
    http://docs.oracle.com/cd/E11882_01/text.112/e24436/cadmpkg.htm#CCREF2096
    The following contains general guidelines for what to set the max_index_memory parameter and others to:
    http://docs.oracle.com/cd/E11882_01/text.112/e24435/aoptim.htm#CCAPP9274

  • Oracle Text Issue

    Hi ,
    Any Idea Of this Below Error
    SQL> CREATE INDEX "TOTALPLANT"."IP_TAG_LONGTAGNAME_SEARCH" ON "IP_TAG"
      2  ("LONG_TAGNAME" ) INDEXTYPE IS "CTXSYS"."CONTEXT" PARAMETERS ('SYNC (ON
      3  COMMIT)') ;
    CREATE INDEX "TOTALPLANT"."IP_TAG_LONGTAGNAME_SEARCH" ON "IP_TAG"
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-11000: invalid keyword ON
    COMMIT
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 364

    Try this:
    CREATE INDEX IP_TAG_LONGTAGNAME_SEARCH ON IP_TAG(LONG_TAGNAME) INDEXTYPE IS CTXSYS.CONTEXT PARAMETERS ('SYNC (ON COMMIT)') ;i.e remove the quotes, etc. Just to see if something odd happened.

  • Pre-loading Oracle text in memory with Oracle 12c

    There is a white paper from Roger Ford that explains how to load the Oracle index in memory : http://www.oracle.com/technetwork/database/enterprise-edition/mem-load-082296.html
    In our application, Oracle 12c, we are indexing a big XML field (which is stored as XMLType with storage secure file) with the PATH_SECTION_GROUP. If I don't load the I table (DR$..$I) into memory using the technique explained in the white paper then I cannot have decent performance (and especially not predictable performance, it looks like if the blocks from the TOKEN_INFO columns are not memory then performance can fall sharply)
    But after migrating to oracle 12c, I got a different problem, which I can reproduce: when I create the index it is relatively small (as seen with ctx_report.index_size) and by applying the technique from the whitepaper, I can pin the DR$ I table into memory. But as soon as I do a ctx_ddl.optimize_index('Index','REBUILD') the size becomes much bigger and I can't pin the index in memory. Not sure if it is bug or not.
    What I found as work-around is to build the index with the following storage options:
    ctx_ddl.create_preference('TEST_STO','BASIC_STORAGE');
    ctx_ddl.set_attribute ('TEST_STO', 'BIG_IO', 'YES' );
    ctx_ddl.set_attribute ('TEST_STO', 'SEPARATE_OFFSETS', 'NO' );
    so that the token_info column will be stored in a secure file. Then I can change the storage of that column to put it in the keep buffer cache, and write a procedure to read the LOB so that it will be loaded in the keep cache. The size of the LOB column is more or less the same as when creating the index without the BIG_IO option but it remains constant even after a ctx_dll.optimize_index. The procedure to read the LOB and to load it into the cache is very similar to the loaddollarR procedure from the white paper.
    Because of the SDATA section, there is a new DR table (S table) and an IOT on top of it. This is not documented in the white paper (the white paper was written for Oracle 10g). In my case this DR$ S table is much used, and the IOT also, but putting it in the keep cache is not as important as the token_info column of the DR I table. A final note: doing SEPARATE_OFFSETS = 'YES' was very bad in my case, the combined size of the two columns is much bigger than having only the TOKEN_INFO column and both columns are read.
    Here is an example on how to reproduce the problem with the size increasing when doing ctx_optimize
    1. create the table
    drop table test;
    CREATE TABLE test
    (ID NUMBER(9,0) NOT NULL ENABLE,
    XML_DATA XMLTYPE
    XMLTYPE COLUMN XML_DATA STORE AS SECUREFILE BINARY XML (tablespace users disable storage in row);
    2. insert a few records
    insert into test values(1,'<Book><TITLE>Tale of Two Cities</TITLE>It was the best of times.<Author NAME="Charles Dickens"> Born in England in the town, Stratford_Upon_Avon </Author></Book>');
    insert into test values(2,'<BOOK><TITLE>The House of Mirth</TITLE>Written in 1905<Author NAME="Edith Wharton"> Wharton was born to George Frederic Jones and Lucretia Stevens Rhinelander in New York City.</Author></BOOK>');
    insert into test values(3,'<BOOK><TITLE>Age of innocence</TITLE>She got a prize for it.<Author NAME="Edith Wharton"> Wharton was born to George Frederic Jones and Lucretia Stevens Rhinelander in New York City.</Author></BOOK>');
    3. create the text index
    drop index i_test;
      exec ctx_ddl.create_section_group('TEST_SGP','PATH_SECTION_GROUP');
    begin
      CTX_DDL.ADD_SDATA_SECTION(group_name => 'TEST_SGP', 
                                section_name => 'SData_02',
                                tag => 'SData_02',
                                datatype => 'varchar2');
    end;
    exec ctx_ddl.create_preference('TEST_STO','BASIC_STORAGE');
    exec  ctx_ddl.set_attribute('TEST_STO','I_TABLE_CLAUSE','tablespace USERS storage (initial 64K)');
    exec  ctx_ddl.set_attribute('TEST_STO','I_INDEX_CLAUSE','tablespace USERS storage (initial 64K) compress 2');
    exec  ctx_ddl.set_attribute ('TEST_STO', 'BIG_IO', 'NO' );
    exec  ctx_ddl.set_attribute ('TEST_STO', 'SEPARATE_OFFSETS', 'NO' );
    create index I_TEST
      on TEST (XML_DATA)
      indextype is ctxsys.context
      parameters('
        section group   "TEST_SGP"
        storage         "TEST_STO"
      ') parallel 2;
    4. check the index size
    select ctx_report.index_size('I_TEST') from dual;
    it says :
    TOTALS FOR INDEX TEST.I_TEST
    TOTAL BLOCKS ALLOCATED:                                                104
    TOTAL BLOCKS USED:                                                      72
    TOTAL BYTES ALLOCATED:                                 851,968 (832.00 KB)
    TOTAL BYTES USED:                                      589,824 (576.00 KB)
    4. optimize the index
    exec ctx_ddl.optimize_index('I_TEST','REBUILD');
    and now recompute the size, it says
    TOTALS FOR INDEX TEST.I_TEST
    TOTAL BLOCKS ALLOCATED:                                               1112
    TOTAL BLOCKS USED:                                                    1080
    TOTAL BYTES ALLOCATED:                                 9,109,504 (8.69 MB)
    TOTAL BYTES USED:                                      8,847,360 (8.44 MB)
    which shows that it went from 576KB to 8.44MB. With a big index the difference is not so big, but still from 14G to 19G.
    5. Workaround: use the BIG_IO option, so that the token_info column of the DR$ I table will be stored in a secure file and the size will stay relatively small. Then you can load this column in the cache using a procedure similar to
    alter table DR$I_TEST$I storage (buffer_pool keep);
    alter table dr$i_test$i modify lob(token_info) (cache storage (buffer_pool keep));
    rem: now we must read the lob so that it will be loaded in the keep buffer pool, use the prccedure below
    create or replace procedure loadTokenInfo is
      type c_type is ref cursor;
      c2 c_type;
      s varchar2(2000);
      b blob;
      buff varchar2(100);
      siz number;
      off number;
      cntr number;
    begin
        s := 'select token_info from  DR$i_test$I';
        open c2 for s;
        loop
           fetch c2 into b;
           exit when c2%notfound;
           siz := 10;
           off := 1;
           cntr := 0;
           if dbms_lob.getlength(b) > 0 then
             begin
               loop
                 dbms_lob.read(b, siz, off, buff);
                 cntr := cntr + 1;
                 off := off + 4096;
               end loop;
             exception when no_data_found then
               if cntr > 0 then
                 dbms_output.put_line('4K chunks fetched: '||cntr);
               end if;
             end;
           end if;
        end loop;
    end;
    Rgds, Pierre

    I have been working a lot on that issue recently, I can give some more info.
    First I totally agree with you, I don't like to use the keep_pool and I would love to avoid it. On the other hand, we have a specific use case : 90% of the activity in the DB is done by queuing and dbms_scheduler jobs where response time does not matter. All those processes are probably filling the buffer cache. We have a customer facing application that uses the text index to search the database : performance is critical for them.
    What kind of performance do you have with your application ?
    In my case, I have learned the hard way that having the index in memory (the DR$I table in fact) is the key : if it is not, then performance is poor. I find it reasonable to pin the DR$I table in memory and if you look at competitors this is what they do. With MongoDB they explicitly says that the index must be in memory. With elasticsearch, they use JVM's that are also in memory. And effectively, if you look at the awr report, you will see that Oracle is continuously accessing the DR$I table, there is a SQL similar to
    SELECT /*+ DYNAMIC_SAMPLING(0) INDEX(i) */    
    TOKEN_FIRST, TOKEN_LAST, TOKEN_COUNT, ROWID    
    FROM DR$idxname$I
    WHERE TOKEN_TEXT = :word AND TOKEN_TYPE = :wtype    
    ORDER BY TOKEN_TEXT,  TOKEN_TYPE,  TOKEN_FIRST
    which is continuously done.
    I think that the algorithm used by Oracle to keep blocks in cache is too complex. A just realized that in 12.1.0.2 (was released last week) there is finally a "killer" functionality, the in-memory parameters, with which you can pin tables or columns in memory with compression, etc. this looks ideal for the text index, I hope that R. Ford will finally update his white paper :-)
    But my other problem was that the optimize_index in REBUILD mode caused the DR$I table to double in size : it seems crazy that this was closed as not a bug but it was and I can't do anything about it. It is a bug in my opinion, because the create index command and "alter index rebuild" command both result in a much smaller index, so why would the guys that developped the optimize function (is it another team, using another algorithm ?) make the index two times bigger ?
    And for that the track I have been following is to put the index in a 16K tablespace : in this case the space used by the index remains more or less flat (increases but much more reasonably). The difficulty here is to pin the index in memory because the trick of R. Ford was not working anymore.
    What worked:
    first set the keep_pool to zero and set the db_16k_cache_size to instead. Then change the storage preference to make sure that everything you want to cache (mostly the DR$I) table come in the tablespace with the non-standard block size of 16k.
    Then comes the tricky part : the pre-loading of the data in the buffer cache. The problem is that with Oracle 12c, Oracle will use direct_path_read for FTS which basically means that it bypasses the cache and read directory from file to the PGA !!! There is an event to avoid that, I was lucky to find it on a blog (I can't remember which, sorry for the credit).
    I ended-up doing that. the events to 10949 is to avoid the direct path reads issue.
    alter session set events '10949 trace name context forever, level 1';
    alter table DR#idxname0001$I cache;
    alter table DR#idxname0002$I cache;
    alter table DR#idxname0003$I cache;
    SELECT /*+ FULL(ITAB) CACHE(ITAB) */ SUM(TOKEN_COUNT),  SUM(LENGTH(TOKEN_INFO)) FROM DR#idxname0001$I;
    SELECT /*+ FULL(ITAB) CACHE(ITAB) */ SUM(TOKEN_COUNT),  SUM(LENGTH(TOKEN_INFO)) FROM DR#idxname0002$I;
    SELECT /*+ FULL(ITAB) CACHE(ITAB) */ SUM(TOKEN_COUNT),  SUM(LENGTH(TOKEN_INFO)) FROM DR#idxname0003$I;
    SELECT /*+ INDEX(ITAB) CACHE(ITAB) */  SUM(LENGTH(TOKEN_TEXT)) FROM DR#idxname0001$I ITAB;
    SELECT /*+ INDEX(ITAB) CACHE(ITAB) */  SUM(LENGTH(TOKEN_TEXT)) FROM DR#idxname0002$I ITAB;
    SELECT /*+ INDEX(ITAB) CACHE(ITAB) */  SUM(LENGTH(TOKEN_TEXT)) FROM DR#idxname0003$I ITAB;
    It worked. With a big relief I expected to take some time out, but there was a last surprise. The command
    exec ctx_ddl.optimize_index(idx_name=>'idxname',part_name=>'partname',optlevel=>'REBUILD');
    gqve the following
    ERROR at line 1:
    ORA-20000: Oracle Text error:
    DRG-50857: oracle error in drftoptrebxch
    ORA-14097: column type or size mismatch in ALTER TABLE EXCHANGE PARTITION
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.CTX_DDL", line 1141
    ORA-06512: at line 1
    Which is very much exactly described in a metalink note 1645634.1 but in the case of a non-partitioned index. The work-around given seemed very logical but it did not work in the case of a partitioned index. After experimenting, I found out that the bug occurs when the partitioned index is created with  dbms_pclxutil.build_part_index procedure (this enables  enables intra-partition parallelism in the index creation process). This is a very annoying and stupid bug, maybe there is a work-around, but did not find it on metalink
    Other points of attention with the text index creation (stuff that surprised me at first !) ;
    - if you use the dbms_pclxutil package, then the ctx_output logging does not work, because the index is created immediately and then populated in the background via dbms_jobs.
    - this in combination with the fact that if you are on a RAC, you won't see any activity on the box can be very frightening : this is because oracle can choose to start the workers on the other node.
    I understand much better how the text indexing works, I think it is a great technology which can scale via partitioning. But like always the design of the application is crucial, most of our problems come from the fact that we did not choose the right sectioning (we choosed PATH_SECTION_GROUP while XML_SECTION_GROUP is so much better IMO). Maybe later I can convince the dev to change the sectionining, especially because SDATA and MDATA section are not supported with PATCH_SECTION_GROUP (although it seems to work, even though we had one occurence of a bad result linked to the existence of SDATA in the index definition). Also the whole problematic of mixed structured/unstructured searches is completly tackled if one use XML_SECTION_GROUP with MDATA/SDATA (but of course the app was written for Oracle 10...)
    Regards, Pierre

  • Oracle Text index hangs(Oracle 11g linux enterprise edition)

    Hi guru,
    One very criticial and showstopper issue coming in Oracle Text Indexing.
    I have table ResourceTable(ResId,Contents blob ,docformat)
    I am creating text index on Contents column by using follwing command:
    create index [IndexName] on [TableName] (contents) indextype is ctxsys.context ('lexer mylex stoplist ctxsys.default_stoplist format column ISDOCFORMAT sync(every "sysdate+1/24") storage my_text_storage memory 200M')parallel 2
    I found there is one document of text/html type which hangs oracle text indexing thread.Oracle doest not give any error message keep using CPU 100% and no progress.
    I then create test table with same stucture and put this corrupted documet record in this table.and did indexing again but its not doing index /not ignoring it and hangs .We have also tried to use timeout feature of inso filter so that if such type of document comes at the time of indexing oracle text indexing process will bypass it after specific time interval but still same issue comes and oracle is not bypassing such faulty document.
    This is realy show stopper issue and any kind of help will be greatly appricited.

    You need to raise an SR with Oracle Support for this, and send them the file which is causing the hang. It should then be easy to investigate the problem and schedule a fix.
    If you don't have a support contract, you could send the file to me and I'll raise a bug. However, if we fix it you won't be able to get the fix until it appears in the next downloadable version.
    - Roger
    roger.ford @ oracle.com

  • 11gr2 installation hanging at  step 7 during Processing Oracle Text 11.2.0.

    Hi,
    I am trying to install 11gr2 software on my linux 64 bit server.
    I had installled the same 11gr2 software successfully on the same server without any issues.
    Now i want another oracle home. But the installation is hanging at step 7, 8% was completed.
    The details tab showing
    Verifying whether Central Inventory is locked by any other OUI session...
    Central Inventory is not locked.
    Loading products list. Please wait.
    Loading products. Please wait.
    Analyzing dependencies
    Setting up install types
    Executing pre-requisites
    Loading Oracle Database 11g
    Loading Enterprise Edition Options
    Loading Oracle Partitioning
    Loading Oracle Spatial
    Loading Oracle OLAP
    Loading Oracle Database 11g
    Loading Oracle Net Services
    Loading Oracle Text
    Loading Oracle Net Listener
    Loading Oracle Enterprise Manager Console DB
    Loading HAS Files for DB
    Loading Oracle Internet Directory Client
    Loading Oracle Advanced Security
    Loading Oracle JVM
    Loading Oracle XML Development Kit
    Loading Database Configuration and Upgrade Assistants
    Loading Oracle Net
    Loading Oracle Multimedia
    Loading Oracle Multimedia Locator
    Loading Oracle Call Interface (OCI)
    Loading SQL*Plus
    Loading Oracle Netca Client
    Loading Enterprise Manager Agent
    Loading Oracle Database Utilities
    Loading Oracle Programmer
    Loading Oracle Database Gateway for ODBC
    Loading Generic Connectivity Common Files
    Loading PL/SQL
    Loading Oracle Recovery Manager
    Loading Assistant Common Files
    Loading Buildtools Common Files
    Loading Oracle LDAP administration
    Loading Oracle Help for the Web
    Loading Installation Common Files
    Loading Precompiler Common Files
    Loading HAS Common Files
    Loading Enterprise Manager plugin Common Files
    Loading Oracle UIX
    Loading Oracle Clusterware RDBMS Files
    Loading Cluster Verification Utility Common Files
    Loading Oracle Wallet Manager
    Loading Oracle Security Developer Tools
    Loading XML Parser for Java
    Loading Enterprise Manager Minimal Integration
    Loading Oracle Notification Service
    Loading Oracle Database User Interface
    Loading Oracle ODBC Driver
    Loading SQL*Plus Files for Instant Client
    Loading Required Support Files
    Loading Oracle Globalization Support
    Loading Database SQL Scripts
    Loading OLAP SQL Scripts
    Loading PL/SQL Embedded Gateway
    Loading Oracle Locale Builder
    Loading Character Set Migration Utility
    Loading Oracle Java Client
    Loading Oracle Multimedia Client Option
    Loading Oracle JDBC/THIN Interfaces
    Loading Oracle Universal Connection Pool
    Loading Secure Socket Layer
    Loading Oracle Net Required Support Files
    Loading Oracle Code Editor
    Loading Oracle Containers for Java
    Loading JAccelerator (COMPANION)
    Loading Perl Interpreter
    Loading Oracle Quality of Service Management (Client)
    Loading Deinstallation Tool
    Loading Perl Modules
    Loading Enterprise Manager Common Files
    Loading Installation Plugin Files
    Loading Expat libraries
    Loading XML Parser for Oracle JVM
    Loading Oracle XML Query
    Loading Oracle Message Gateway Common Files
    Loading Oracle Starter Database
    Loading Sample Schema Data
    Loading Oracle Help For Java
    Loading Oracle Core Required Support Files
    Loading Oracle Multimedia Locator RDBMS Files
    Loading Oracle JDBC/OCI Instant Client
    Loading Oracle Multimedia Annotator
    Loading Oracle Multimedia Java Advanced Imaging
    Loading Oracle Database 11g Multimedia Files
    Loading Precompiler Required Support Files
    Loading Oracle Text Required Support Files
    Loading Oracle Notification Service (eONS)
    Loading Oracle 11g Warehouse Builder Required Files
    Loading Parser Generator Required Support Files
    Loading regexp
    Loading Agent Required Support Files
    Loading Enterprise Manager Agent Core Files
    Loading Enterprise Manager Common Core Files
    Loading Enterprise Manager Grid Control Core Files
    Loading Enterprise Manager Database Plugin -- Agent Support
    Loading Enterprise Manager Repository Core Files
    Loading Enterprise Manager Database Plugin -- Repository Support
    Loading Provisioning Advisor Framework
    Loading Exadata Storage Server
    Loading Oracle Globalization Support
    Loading RDBMS Required Support Files
    Loading Database Workspace Manager
    Loading SQLJ Runtime
    Loading RDBMS Required Support Files for Instant Client
    Loading XDK Required Support Files
    Loading Oracle Application Express
    Loading Oracle SQL Developer
    Loading Oracle JDBC Server Support Package
    Loading Oracle Ice Browser
    Loading Oracle Display Fonts
    Loading SQL*Plus Required Support Files
    Loading Oracle RAC Required Support Files-HAS
    Loading Oracle Database Vault option
    Loading Platform Required Support Files
    Loading Oracle OLAP API
    Loading Oracle OLAP RDBMS Files
    Loading Oracle Data Mining RDBMS Files
    Loading Oracle Label Security
    Loading Oracle Database Vault J2EE Application
    Loading Oracle Real Application Testing
    Loading Oracle JFC Extended Windowing Toolkit
    Loading Oracle Extended Windowing Toolkit
    Loading Bali Share
    Loading SSL Required Support Files for InstantClient
    Loading LDAP Required Support Files
    Loading Oracle ODBC Driverfor Instant Client
    Loading Oracle Configuration Manager
    Loading Oracle Database Deconfiguration
    Loading Oracle RAC Deconfiguration
    Loading Oracle DBCA Deconfiguration
    Loading Oracle Configuration Manager Deconfiguration
    Loading Oracle Universal Installer
    Loading Oracle One-Off Patch Installer
    Loading Installer SDK Component
    Loading Sun JDK
    Loading dialogs for Oracle Database 11g
    Loading dialogs for Enterprise Edition Options
    Loading dialogs for Oracle Partitioning
    Loading dialogs for Oracle Spatial
    Loading dialogs for Oracle OLAP
    Loading dialogs for Oracle Database 11g
    Loading dialogs for Oracle Net Services
    Loading dialogs for Oracle Text
    Loading dialogs for Oracle Net Listener
    Loading dialogs for Oracle Enterprise Manager Console DB
    Loading dialogs for HAS Files for DB
    Loading dialogs for Oracle Internet Directory Client
    Loading dialogs for Oracle Advanced Security
    Loading dialogs for Oracle JVM
    Loading dialogs for Oracle XML Development Kit
    Loading dialogs for Database Configuration and Upgrade Assistants
    Loading dialogs for Oracle Net
    Loading dialogs for Oracle Multimedia
    Loading dialogs for Oracle Multimedia Locator
    Loading dialogs for Oracle Call Interface (OCI)
    Loading dialogs for SQL*Plus
    Loading dialogs for Oracle Netca Client
    Loading dialogs for Enterprise Manager Agent
    Loading dialogs for Oracle Database Utilities
    Loading dialogs for Oracle Programmer
    Loading dialogs for Oracle Database Gateway for ODBC
    Loading dialogs for Generic Connectivity Common Files
    Loading dialogs for PL/SQL
    Loading dialogs for Oracle Recovery Manager
    Loading dialogs for Assistant Common Files
    Loading dialogs for Buildtools Common Files
    Loading dialogs for Oracle LDAP administration
    Loading dialogs for Oracle Help for the Web
    Loading dialogs for Installation Common Files
    Loading dialogs for Precompiler Common Files
    Loading dialogs for HAS Common Files
    Loading dialogs for Enterprise Manager plugin Common Files
    Loading dialogs for Oracle UIX
    Loading dialogs for Oracle Clusterware RDBMS Files
    Loading dialogs for Cluster Verification Utility Common Files
    Loading dialogs for Oracle Wallet Manager
    Loading dialogs for Oracle Security Developer Tools
    Loading dialogs for XML Parser for Java
    Loading dialogs for Enterprise Manager Minimal Integration
    Loading dialogs for Oracle Notification Service
    Loading dialogs for Oracle Database User Interface
    Loading dialogs for Oracle ODBC Driver
    Loading dialogs for SQL*Plus Files for Instant Client
    Loading dialogs for Required Support Files
    Loading dialogs for Oracle Globalization Support
    Loading dialogs for Database SQL Scripts
    Loading dialogs for OLAP SQL Scripts
    Loading dialogs for PL/SQL Embedded Gateway
    Loading dialogs for Oracle Locale Builder
    Loading dialogs for Character Set Migration Utility
    Loading dialogs for Oracle Java Client
    Loading dialogs for Oracle Multimedia Client Option
    Loading dialogs for Oracle JDBC/THIN Interfaces
    Loading dialogs for Oracle Universal Connection Pool
    Loading dialogs for Secure Socket Layer
    Loading dialogs for Oracle Net Required Support Files
    Loading dialogs for Oracle Code Editor
    Loading dialogs for Oracle Containers for Java
    Loading dialogs for JAccelerator (COMPANION)
    Loading dialogs for Perl Interpreter
    Loading dialogs for Oracle Quality of Service Management (Client)
    Loading dialogs for Deinstallation Tool
    Loading dialogs for Perl Modules
    Loading dialogs for Enterprise Manager Common Files
    Loading dialogs for Installation Plugin Files
    Loading dialogs for Expat libraries
    Loading dialogs for XML Parser for Oracle JVM
    Loading dialogs for Oracle XML Query
    Loading dialogs for Oracle Message Gateway Common Files
    Loading dialogs for Oracle Starter Database
    Loading dialogs for Sample Schema Data
    Loading dialogs for Oracle Help For Java
    Loading dialogs for Oracle Core Required Support Files
    Loading dialogs for Oracle Multimedia Locator RDBMS Files
    Loading dialogs for Oracle JDBC/OCI Instant Client
    Loading dialogs for Oracle Multimedia Annotator
    Loading dialogs for Oracle Multimedia Java Advanced Imaging
    Loading dialogs for Oracle Database 11g Multimedia Files
    Loading dialogs for Precompiler Required Support Files
    Loading dialogs for Oracle Text Required Support Files
    Loading dialogs for Oracle Notification Service (eONS)
    Loading dialogs for Oracle 11g Warehouse Builder Required Files
    Loading dialogs for Parser Generator Required Support Files
    Loading dialogs for regexp
    Loading dialogs for Agent Required Support Files
    Loading dialogs for Enterprise Manager Agent Core Files
    Loading dialogs for Enterprise Manager Common Core Files
    Loading dialogs for Enterprise Manager Grid Control Core Files
    Loading dialogs for Enterprise Manager Database Plugin -- Agent Support
    Loading dialogs for Enterprise Manager Repository Core Files
    Loading dialogs for Enterprise Manager Database Plugin -- Repository Support
    Loading dialogs for Provisioning Advisor Framework
    Loading dialogs for Exadata Storage Server
    Loading dialogs for Oracle Globalization Support
    Loading dialogs for RDBMS Required Support Files
    Loading dialogs for Database Workspace Manager
    Loading dialogs for SQLJ Runtime
    Loading dialogs for RDBMS Required Support Files for Instant Client
    Loading dialogs for XDK Required Support Files
    Loading dialogs for Oracle Application Express
    Loading dialogs for Oracle SQL Developer
    Loading dialogs for Oracle JDBC Server Support Package
    Loading dialogs for Oracle Ice Browser
    Loading dialogs for Oracle Display Fonts
    Loading dialogs for SQL*Plus Required Support Files
    Loading dialogs for Oracle RAC Required Support Files-HAS
    Loading dialogs for Oracle Database Vault option
    Loading dialogs for Platform Required Support Files
    Loading dialogs for Oracle OLAP API
    Loading dialogs for Oracle OLAP RDBMS Files
    Loading dialogs for Oracle Data Mining RDBMS Files
    Loading dialogs for Oracle Label Security
    Loading dialogs for Oracle Database Vault J2EE Application
    Loading dialogs for Oracle Real Application Testing
    Loading dialogs for Oracle JFC Extended Windowing Toolkit
    Loading dialogs for Oracle Extended Windowing Toolkit
    Loading dialogs for Bali Share
    Loading dialogs for SSL Required Support Files for InstantClient
    Loading dialogs for LDAP Required Support Files
    Loading dialogs for Oracle ODBC Driverfor Instant Client
    Loading dialogs for Oracle Configuration Manager
    Loading dialogs for Oracle Database Deconfiguration
    Loading dialogs for Oracle RAC Deconfiguration
    Loading dialogs for Oracle DBCA Deconfiguration
    Loading dialogs for Oracle Configuration Manager Deconfiguration
    Loading dialogs for Oracle Universal Installer
    Loading dialogs for Oracle One-Off Patch Installer
    Loading dialogs for Installer SDK Component
    Loading dialogs for Sun JDK
    Processing Oracle Database 11g 11.2.0.1.0
    Processing Enterprise Edition Options 11.2.0.1.0
    Processing Oracle Partitioning 11.2.0.1.0
    Processing Oracle Spatial 11.2.0.1.0
    Processing Oracle OLAP 11.2.0.1.0
    Processing Oracle Database 11g 11.2.0.1.0
    Processing Oracle Net Services 11.2.0.1.0
    Processing Oracle Text 11.2.0.1.0
    Thanks,
    Kavitha

    Hi,
    First ORACLE Home : /u02/oracle/11.2.0
    Now using ORACLE Home: /u03/HFMDCP/11.2.0
    The log showing below information:
    driveName = /dev/shm
    returnInMegaBytes = true
    INFO: Query Returned: 3992
    INFO: Setting variable 'n_POSIXMemSize' to '3992'. Received the value from the variable calculation.
    INFO: Setting value of child variable b_useRegistration of oracle.sysman.ccr 10.3.1.1.0 to false
    INFO: *** Entering Component: oracle.options installation
    INFO: Processing Enterprise Edition Options 11.2.0.1.0
    INFO: Processing Enterprise Edition Options 11.2.0.1.0
    INFO: *** Entering Component: oracle.rdbms.partitioning installation
    INFO: Processing Oracle Partitioning 11.2.0.1.0
    INFO: Processing Oracle Partitioning 11.2.0.1.0
    INFO: Calling Query generalQueries10.2.0.2.0 getOSName
    INFO: Query Returned: Linux
    INFO: Setting variable 's_operatingSystem' to 'Linux'. Received the value from the variable calculation.
    INFO: Setting variable 's_makeLogFile' to 'make.log'. Received the value from the variable calculation.
    INFO: Calling Query generalQueries10.2.0.2.0 isCurrentPlatformInGroup
    platGroup = WINDOWS
    INFO: Query Returned: false
    INFO: Setting variable 'b_isWINDOWS' to 'false'. Received the value from the variable calculation.
    INFO: Setting variable 's_installLogDir' to '/u03/HFMDCP/11.2.0/install/'. Received the value from the variable calculation.
    INFO: *** Entering Component: oracle.sdo installation
    INFO: Processing Oracle Spatial 11.2.0.1.0
    INFO: Processing Oracle Spatial 11.2.0.1.0
    INFO: Calling Query generalQueries10.2.0.2.0 getOSName
    INFO: Query Returned: Linux
    INFO: Setting variable 's_operatingSystem' to 'Linux'. Received the value from the variable calculation.
    INFO: Setting variable 's_makeLogFile' to 'make.log'. Received the value from the variable calculation.
    INFO: Setting variable 's_OPSSelectedNodes' to ''. Received the value from the variable calculation.
    INFO: Calling Query generalQueries10.2.0.2.0 isCurrentPlatformInGroup
    platGroup = UNIX
    INFO: Query Returned: true
    INFO: Setting variable 'b_isUNIX' to 'true'. Received the value from the variable calculation.
    INFO: Setting variable 'VERSION' to '9.2.0.0.0 Beta'. Received the value from the variable calculation.
    INFO: Setting variable 'ORDSYS_PASSWORD' to '*Protected value, not to be logged*'. Received the value from the variable calculation.
    INFO: Setting variable 'MDSYS_PASSWORD' to '*Protected value, not to be logged*'. Received the value from the variable calculation.
    INFO: Setting variable 'MD' to 'md'. Received the value from the variable calculation.
    INFO: Setting variable 'DESCRIPTION' to 'Oracle8 Spatial Cartridge'. Received the value from the variable calculation.
    INFO: Setting variable 's_sourceInstallScript' to '/u03/HFMDCP/11.2.0/md/admin/mdinst.sql'. Received the value from the variable calculation.
    INFO: Setting variable 's_sourceDeinstallScript' to '/u03/HFMDCP/11.2.0/md/admin/mddins.sql'. Received the value from the variable calculation.
    INFO: Setting variable 's_sourceDeinstallScript' to '/u03/HFMDCP/11.2.0/md/admin/mddins.sql'. Received the value from the variable calculation.
    INFO: Setting variable 's_installLogDir' to '/u03/HFMDCP/11.2.0/install/'. Received the value from the variable calculation.
    INFO: Setting variable 's_destInstallScript' to '/u03/HFMDCP/11.2.0/md/admin/mdinst.sql'. Received the value from the variable calculation.
    INFO: Setting variable 's_destDeinstallScript' to '/u03/HFMDCP/11.2.0/md/admin/mddins.sql'. Received the value from the variable calculation.
    INFO: Setting variable 'sl_processList' to '/u03/HFMDCP/11.2.0/bin/oracle'. Received the value from the variable calculation.
    INFO: *** Entering Component: oracle.oraolap installation
    INFO: Processing Oracle OLAP 11.2.0.1.0
    INFO: Processing Oracle OLAP 11.2.0.1.0
    INFO: Calling Query generalQueries10.2.0.2.0 getOSName
    INFO: Query Returned: Linux
    INFO: Setting variable 's_operatingSystem' to 'Linux'. Received the value from the variable calculation.
    INFO: Setting variable 's_makeLogFile' to 'make.log'. Received the value from the variable calculation.
    INFO: Setting variable 's_installLogDir' to '/u03/HFMDCP/11.2.0/install/'. Received the value from the variable calculation.
    INFO: *** Entering Component: oracle.rdbms installation
    INFO: Processing Oracle Database 11g 11.2.0.1.0
    INFO: Processing Oracle Database 11g 11.2.0.1.0
    INFO: Calling Query unixQueries10.1.0.2.0 getGroups
    INFO: Query Returned: dba
    INFO: Setting variable 'sl_groupChoices' to 'dba'. Received the value from the variable calculation.
    INFO: Setting variable 's_version' to '9.2.0.0.0'. Received the value from the variable calculation.
    INFO: Setting variable 's_verifierName' to 'verifier15.jar'. Received the value from the variable calculation.
    INFO: Setting variable 's_sidToMigrate' to ''. Received the value from the variable calculation.
    INFO: Calling Query generalQueries10.2.0.2.0 getOSName
    INFO: Query Returned: Linux
    INFO: Setting variable 's_operatingSystem' to 'Linux'. Received the value from the variable calculation.
    INFO: Calling Query generalQueries10.2.0.2.0 getenv
    name = LD_LIBRARY_PATH
    INFO: Query Returned: /tmp/OraInstall2011-05-11_10-43-27AM/jdk/jre/lib/amd64/server:/tmp/OraInstall2011-05-11_10-43-27AM/jdk/jre/lib/amd64:/tmp/OraInstall2011-05-11_10-43-27AM/jdk/jre/../lib/amd64
    INFO: Setting variable 's_oldLDLibPath' to '/tmp/OraInstall2011-05-11_10-43-27AM/jdk/jre/lib/amd64/server:/tmp/OraInstall2011-05-11_10-43-27AM/jdk/jre/lib/amd64:/tmp/OraInstall2011-05-11_10-43-27AM/jdk/jre/../lib/amd64'. Received the value from the variable calculation.
    INFO: Setting variable 's_ojdbc5Name' to 'ojdbc5.jar'. Received the value from the variable calculation.
    INFO: Setting variable 's_nameOfBundle' to 'EE'. Received the value from the variable calculation.
    INFO: Setting variable 's_makeLogFile' to 'make.log'. Received the value from the variable calculation.
    INFO: Setting variable 's_lowResourceDialogPrompt' to ''. Received the value from the variable calculation.
    INFO: Setting variable 's_ldapjclntName' to 'ldapjclnt11.jar'. Received the value from the variable calculation.
    INFO: Setting variable 's_jssl11Name' to 'jssl-1_1.jar'. Received the value from the variable calculation.
    INFO: Calling Query areasQueries10.2.0.1.0 getProductHome
    name = oracle.jdk
    startVersion = 1.5.0.0.0
    endVersion = 9.9.9.9.9
    acceptCompatible = null
    INFO: Query Returned: /u03/HFMDCP/11.2.0/jdk
    INFO: Setting variable 's_jreLocation' to '/u03/HFMDCP/11.2.0/jdk/jre/'. Received the value from the variable calculation.
    INFO: Setting variable 's_javaxssl12Name' to 'javax-ssl-1_2.jar'. Received the value from the variable calculation.
    INFO: Setting variable 's_groupDialogPrompt' to ''. Received the value from the variable calculation.
    INFO: Setting variable 's_filemapLocation' to '/opt/ORCLfmap'. Received the value from the variable calculation.
    INFO: Setting variable 's_emailServer' to ''. Received the value from the variable calculation.
    INFO: Setting variable 's_emailAddress' to ''. Received the value from the variable calculation.
    INFO: Setting variable 's_defaultDBName' to ''. Received the value from the variable calculation.
    INFO: Setting variable 's_c' to ''. Received the value from the variable calculation.
    INFO: Setting variable 's_OPSSelectedNodes' to ''. Received the value from the variable calculation.
    INFO: Setting variable 's_OPSNodeInfoString' to 'NO_VALUE'. Received the value from the variable calculation.
    INFO: Setting variable 's_OPSClusterUser' to 'NO_VALUE'. Received the value from the variable calculation.
    INFO: Setting variable 's_OPSClusterPassword' to '*Protected value, not to be logged*'. Received the value from the variable calculation.
    INFO: Setting variable 's_DBNamePrompt' to 'Every Oracle 11g database is uniquely identified by a Global Database Name, typically of the form "name.domain". Enter the Global Database Name for this database.'. Received the value from the variable calculation.
    INFO: Setting variable 's_DBName' to ''. Received the value from the variable calculation.
    INFO: Setting variable 's_DBDomain' to ''. Received the value from the variable calculation.
    INFO: Setting variable 'init_shared_pool_size' to '10000000'. Received the value from the variable calculation.
    INFO: Setting variable 'init_sequence_cache_hash_buckets' to '10'. Received the value from the variable calculation.
    INFO: Setting variable 'init_sequence_cache_entries' to '10'. Received the value from the variable calculation.
    INFO: Setting variable 'init_processes' to '59'. Received the value from the variable calculation.
    INFO: Setting variable 'init_path' to ''. Received the value from the variable calculation.
    INFO: Setting variable 'init_open_links' to '4'. Received the value from the variable calculation.
    INFO: Setting variable 'init_log_buffer' to '8192'. Received the value from the variable calculation.
    INFO: Setting variable 'init_job_queue_processes' to '2'. Received the value from the variable calculation.
    INFO: Setting variable 'init_job_queue_interval' to '10'. Received the value from the variable calculation.
    INFO: Setting variable 'init_dml_locks' to '100'. Received the value from the variable calculation.
    INFO: Setting variable 'init_distributed_transactions' to '5'. Received the value from the variable calculation.
    INFO: Setting variable 'init_distributed_lock_timeout' to '300'. Received the value from the variable calculation.
    INFO: Setting variable 'init_db_file_multiblock_read_count' to '8'. Received the value from the variable calculation.
    INFO: Setting variable 'init_db_block_buffers' to '1000'. Received the value from the variable calculation.
    INFO: Setting variable 'build_log_path' to ''. Received the value from the variable calculation.
    INFO: Setting variable 'b_promptForGroups' to 'false'. Received the value from the variable calculation.
    INFO: Setting variable 'b_orabaseContainsOrahome' to 'true'. Received the value from the variable calculation.
    INFO: Setting variable 'b_lowResource' to 'false'. Received the value from the variable calculation.
    INFO: Setting variable 'b_launchDBMA' to 'false'. Received the value from the variable calculation.
    INFO: Setting variable 'b_javaOptionBeingInstalled' to 'false'. Received the value from the variable calculation.
    INFO: Calling Query generalQueries10.2.0.2.0 isCurrentPlatformInGroup
    platGroup = WINDOWS
    INFO: Query Returned: false
    INFO: Setting variable 'b_isWINDOWS' to 'false'. Received the value from the variable calculation.
    INFO: Calling Query generalQueries10.2.0.2.0 isCurrentPlatformInGroup
    platGroup = UNIX
    INFO: Query Returned: true
    INFO: Setting variable 'b_isUNIX' to 'true'. Received the value from the variable calculation.
    INFO: Setting variable 'b_isDBup' to 'true'. Received the value from the variable calculation.
    INFO: Setting variable 'b_giInstall' to 'false'. Received the value from the variable calculation.
    INFO: Setting variable 's_xslLocation' to '/u03/HFMDCP/11.2.0/rdbms/xml/xsl'. Received the value from the variable calculation.
    INFO: Setting variable 's_verifierDir' to '/u03/HFMDCP/11.2.0/jlib'. Received the value from the variable calculation.
    INFO: Setting variable 's_shPath' to '/u03/HFMDCP/11.2.0/demo/schema/sales_history/'. Received the value from the variable calculation.
    INFO: Setting variable 's_pmPath' to '/u03/HFMDCP/11.2.0/demo/schema/product_media/'. Received the value from the variable calculation.
    INFO: Setting variable 's_oradimlocation' to '/u03/HFMDCP/11.2.0\bin'. Received the value from the variable calculation.
    INFO: Setting variable 's_oradbalocation' to '/u03/HFMDCP/11.2.0\Database'. Received the value from the variable calculation.
    INFO: Setting variable 's_operGroup' to 'dba'. Received the value from the variable calculation.
    INFO: Setting variable 's_oePath' to '/u03/HFMDCP/11.2.0/demo/schema/order_entry/'. Received the value from the variable calculation.
    INFO: Setting variable 's_netAPILoc' to '/u03/HFMDCP/11.2.0/jlib'. Received the value from the variable calculation.
    INFO: Setting variable 's_mkdirFile' to '/u03/HFMDCP/11.2.0/demo/schema/mk_dir.sql'. Received the value from the variable calculation.
    INFO: Setting variable 's_logPath' to '/u03/HFMDCP/11.2.0/demo/schema/log/'. Received the value from the variable calculation.
    INFO: Setting variable 's_libDir' to '/u03/HFMDCP/11.2.0/jdbc/lib'. Received the value from the variable calculation.
    INFO: Setting variable 's_jlibDir' to '/u03/HFMDCP/11.2.0/rdbms/jlib'. Received the value from the variable calculation.
    INFO: Setting variable 's_installLogDir' to '/u03/HFMDCP/11.2.0/install/'. Received the value from the variable calculation.
    INFO: Setting variable 's_instMkdirFile' to '/u03/HFMDCP/11.2.0/demo/schema/mk_dir.sql.sbs'. Received the value from the variable calculation.
    INFO: Setting variable 's_initmetaSource' to '/u03/HFMDCP/11.2.0/rdbms/install/sbs/initmeta.sbs'. Received the value from the variable calculation.
    INFO: Setting variable 's_initmetaDest' to '/u03/HFMDCP/11.2.0/rdbms/admin/initmeta.sql'. Received the value from the variable calculation.
    INFO: Setting variable 's_ezLocation' to '/u03/HFMDCP/11.2.0/instantclient'. Received the value from the variable calculation.
    INFO: Setting variable 's_dbmssmlSource' to '/u03/HFMDCP/11.2.0/rdbms/install/sbs/dbmssml.sbs'. Received the value from the variable calculation.
    INFO: Setting variable 's_dbmssmlDest' to '/u03/HFMDCP/11.2.0/rdbms/admin/dbmssml.sql'. Received the value from the variable calculation.
    INFO: Setting variable 's_dbaGroup' to 'dba'. Received the value from the variable calculation.
    INFO: Setting variable 's_asmGroup' to ''. Received the value from the variable calculation.
    INFO: Setting variable 's_RDBMS81' to '/u03/HFMDCP/11.2.0\RDBMS'. Received the value from the variable calculation.
    INFO: Setting variable 'b_isUXW' to 'false'. Received the value from the variable calculation.
    INFO: Setting variable 'b_isSolaris' to 'false'. Received the value from the variable calculation.
    INFO: Setting variable 'b_isSequent' to 'false'. Received the value from the variable calculation.
    INFO: Setting variable 'b_isIntel_Solaris' to 'false'. Received the value from the variable calculation.
    INFO: Setting variable 'b_isHPI' to 'false'. Received the value from the variable calculation.
    INFO: Setting variable 'b_isHP' to 'false'. Received the value from the variable calculation.
    INFO: Setting variable 'b_isDec' to 'false'. Received the value from the variable calculation.
    INFO: Setting variable 'b_isDG' to 'false'. Received the value from the variable calculation.
    INFO: Setting variable 'b_isAix' to 'false'. Received the value from the variable calculation.
    INFO: Setting variable 'sl_processList' to '/u03/HFMDCP/11.2.0/bin/ctxsrv,/u03/HFMDCP/11.2.0/bin/dbsnmp,/u03/HFMDCP/11.2.0/bin/extproc,/u03/HFMDCP/11.2.0/bin/oracle'. Received the value from the variable calculation.
    INFO: Setting variable 's_OSDSharelibExt' to '.so'. Received the value from the variable calculation.
    INFO: Setting variable 'SO_EXT' to 'so'. Received the value from the variable calculation.
    INFO: Setting variable 's_unixConfigFile' to '/u03/HFMDCP/11.2.0/rdbms/lib/config.c'. Received the value from the variable calculation.
    INFO: Setting value of child variable s_emailServer of oracle.sysman.console.db 11.2.0.1.0 to
    INFO: Setting value of child variable s_emailAddress of oracle.sysman.console.db 11.2.0.1.0 to
    INFO: *** Entering Component: oracle.network installation
    INFO: Processing Oracle Net Services 11.2.0.1.0
    INFO: Processing Oracle Net Services 11.2.0.1.0
    INFO: *** Entering Component: oracle.ctx installation
    INFO: Processing Oracle Text 11.2.0.1.0
    INFO: Processing Oracle Text 11.2.0.1.0
    INFO: Setting variable 's_version' to '9.2.0.0.0 Beta'. Received the value from the variable calculation.
    INFO: Calling Query generalQueries10.2.0.2.0 getOSName
    INFO: Query Returned: Linux
    INFO: Setting variable 's_operatingSystem' to 'Linux'. Received the value from the variable calculation.
    INFO: Setting variable 's_makeLogFile' to 'make.log'. Received the value from the variable calculation.
    INFO: Setting variable 's_OPSSelectedNodes' to ''. Received the value from the variable calculation.
    INFO: Calling Query generalQueries10.2.0.2.0 isCurrentPlatformInGroup
    platGroup = UNIX
    INFO: Query Returned: true
    INFO: Setting variable 'b_isUNIX' to 'true'. Received the value from the variable calculation.
    INFO: Setting variable 's_installLogDir' to '/u03/HFMDCP/11.2.0/install/'. Received the value from the variable calculation.
    INFO: Setting variable 's_OracleHomeKeyWow6432Node' to 'Wow6432Node'. Received the value from the variable calculation.
    INFO: Setting variable 'b_isWinX64' to 'false'. Received the value from the variable calculation.
    INFO: Setting variable 'sl_processList' to '/u03/HFMDCP/11.2.0/bin/ctxsrv,/u03/HFMDCP/11.2.0/bin/oracle'. Received the value from the variable calculation.
    INFO: Setting variable 'oracle_key' to ''. Received the value from the variable calculation.
    INFO: Setting variable 's_ctxx_old_location' to '/u03/HFMDCP/11.2.0/ctx/lib/libctxx9.so'. Received the value from the variable calculation.
    INFO: Setting variable 's_ctxx_location' to '/u03/HFMDCP/11.2.0/lib/libctxx9.so'. Received the value from the variable calculation.
    INFO: Calling Query RunningProcessQuery11.2.0.1.0 getRunningProcess
    multiParamName = /u03/HFMDCP/11.2.0/bin/ctxsrv,/u03/HFMDCP/11.2.0/bin/oracle
    Thanks,
    Kavitha

  • Oracle Text - CTX Context Index Soundex Problem

    Hi,
    I'm running into a problem with Oracle Text when searching using the ! (soundex) option. I've created a simple test example to highlight the issue.
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
    Windows 2008 Server 64-bit
    create table test_tab (test_col  varchar2(200));
    insert all
      into test_tab (test_col) values ('ab-tönes')
      into test_tab (test_col) values ('ab-tones')
      into test_tab (test_col) values ('abtones')
      into test_tab (test_col) values ('ab tones')
      into test_tab (test_col) values ('ab-tanes')
      select * from dual
    select * from test_tab
    begin
          ctx_ddl.create_preference ('test_lex1', 'basic_lexer');
          ctx_ddl.set_attribute ('test_lex1', 'whitespace', '/\|-_+&''');
          ctx_ddl.set_attribute('test_lex1','base_letter','YES');
          -- ctx_ddl.set_attribute('test_lex1','skipjoins','-');
    end;
    create index test_idx on test_tab (test_col)
      indextype is ctxsys.context
        parameters
          ('lexer        test_lex1'     
    select token_text from dr$test_idx$i;
    TOKEN_TEXT
    AB
    ABTONES
    TANES
    TONES
    select * from test_tab where contains (test_col, '!ab tones') > 0;
    TEST_COL
    ab-tönes
    ab-tones
    ab tones
    select * from test_tab where soundex(test_col) = soundex('ab tones');
    TEST_COL
    ab-tönes
    ab-tones
    abtones
    ab tones
    ab-tanes
    So my question is, can anyone suggest an approach whereby I can get the Oracle Text Context index (or CTXCAT index if it's more appropriate) to return all 5 rows like the simple Soundex is doing?
    I can't really use soundex as this search query will form part of a search screen for a multi-language application. Soundex is limited to English sounding words, so I need the solution to be able to compare strings that may not "sound" English.
    It must be an attribute of the BASIC_LEXER, and I've tried skipjoins, start/end-joins, stop lists, but I just cannot get the Soundex feature of Oracle Text to function like the SOUNDEX() function!
    Looking at how the tokens are stored dr$test_idx$i I need Oracle Text to almost concat 'AB' and 'TONES' to search as a single string.
    Any help greatly appreciated.
    Thanks,

    I am not getting the same problem that you are getting with the umlat, but I don't see what is different.  Please post the result of:
    select ctx_report.create_index_script ('test_idx') from dual;
    Here are the results on my system.  Perhaps you can spot the difference.  I added an empty_stoplist, so that it won't print out a long list of stopwords.
    SCOTT@orcl12c> create table test_tab (test_col    varchar2(200))
      2  /
    Table created.
    SCOTT@orcl12c> insert all
      2    into test_tab (test_col) values ('ab-tönes')
      3    into test_tab (test_col) values ('ab-tones')
      4    into test_tab (test_col) values ('abtones')
      5    into test_tab (test_col) values ('ab tones')
      6    into test_tab (test_col) values ('ab-tanes')
      7  select * from dual
      8  /
    5 rows created.
    SCOTT@orcl12c> select * from test_tab
      2  /
    TEST_COL
    ab-tönes
    ab-tones
    abtones
    ab tones
    ab-tanes
    5 rows selected.
    SCOTT@orcl12c> begin
      2    ctx_ddl.create_preference ('test_lex1', 'basic_lexer');
      3    ctx_ddl.set_attribute('test_lex1','base_letter','YES');
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> create or replace procedure test_proc
      2    (p_rowid in          rowid,
      3      p_clob    in out nocopy clob)
      4  as
      5  begin
      6    select replace (translate (test_col, '/\|-_+&''', '      '), ' ', '')
      7    into   p_clob
      8    from   test_tab
      9    where  rowid = p_rowid;
    10  end test_proc;
    11  /
    Procedure created.
    SCOTT@orcl12c> show errors
    No errors.
    SCOTT@orcl12c> begin
      2    ctx_ddl.create_preference ('test_ds', 'user_datastore');
      3    ctx_ddl.set_attribute ('test_ds', 'procedure', 'test_proc');
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> create index test_idx on test_tab (test_col)
      2    indextype is ctxsys.context
      3    parameters
      4       ('lexer    test_lex1
      5         datastore    test_ds
      6         stoplist    ctxsys.empty_stoplist')
      7  /
    Index created.
    SCOTT@orcl12c> select token_text from dr$test_idx$i
      2  /
    TOKEN_TEXT
    ABTANES
    ABTONES
    2 rows selected.
    SCOTT@orcl12c> variable search_string varchar2(100)
    SCOTT@orcl12c> exec :search_string := 'ab tones'
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> select * from test_tab
      2  where  contains
      3            (test_col,
      4             '!' || replace (:search_string, ' ', ' !') ||
      5             ' or !' || replace (:search_string, ' ', '')) > 0
      6  /
    TEST_COL
    ab-tönes
    ab-tones
    abtones
    ab tones
    ab-tanes
    5 rows selected.
    SCOTT@orcl12c> exec :search_string := 'abtones'
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> /
    TEST_COL
    ab-tönes
    ab-tones
    abtones
    ab tones
    ab-tanes
    5 rows selected.
    SCOTT@orcl12c> exec :search_string := 'ab tönes'
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> /
    TEST_COL
    ab-tönes
    ab-tones
    abtones
    ab tones
    ab-tanes
    5 rows selected.
    SCOTT@orcl12c> select ctx_report.create_index_script ('test_idx') from dual
      2  /
    CTX_REPORT.CREATE_INDEX_SCRIPT('TEST_IDX')
    begin
      ctx_ddl.create_preference('"TEST_IDX_DST"','USER_DATASTORE');
      ctx_ddl.set_attribute('"TEST_IDX_DST"','PROCEDURE','"SCOTT"."TEST_PROC"');
    end;
    begin
      ctx_ddl.create_preference('"TEST_IDX_FIL"','NULL_FILTER');
    end;
    begin
      ctx_ddl.create_section_group('"TEST_IDX_SGP"','NULL_SECTION_GROUP');
    end;
    begin
      ctx_ddl.create_preference('"TEST_IDX_LEX"','BASIC_LEXER');
      ctx_ddl.set_attribute('"TEST_IDX_LEX"','BASE_LETTER','YES');
    end;
    begin
      ctx_ddl.create_preference('"TEST_IDX_WDL"','BASIC_WORDLIST');
      ctx_ddl.set_attribute('"TEST_IDX_WDL"','STEMMER','ENGLISH');
      ctx_ddl.set_attribute('"TEST_IDX_WDL"','FUZZY_MATCH','GENERIC');
    end;
    begin
      ctx_ddl.create_stoplist('"TEST_IDX_SPL"','BASIC_STOPLIST');
    end;
    begin
      ctx_ddl.create_preference('"TEST_IDX_STO"','BASIC_STORAGE');
      ctx_ddl.set_attribute('"TEST_IDX_STO"','R_TABLE_CLAUSE','lob (data) store as (
    cache)');
      ctx_ddl.set_attribute('"TEST_IDX_STO"','I_INDEX_CLAUSE','compress 2');
    end;
    begin
      ctx_output.start_log('TEST_IDX_LOG');
    end;
    create index "SCOTT"."TEST_IDX"
      on "SCOTT"."TEST_TAB"
          ("TEST_COL")
      indextype is ctxsys.context
      parameters('
        datastore       "TEST_IDX_DST"
        filter          "TEST_IDX_FIL"
        section group   "TEST_IDX_SGP"
        lexer           "TEST_IDX_LEX"
        wordlist        "TEST_IDX_WDL"
        stoplist        "TEST_IDX_SPL"
        storage         "TEST_IDX_STO"
    begin
      ctx_output.end_log;
    end;
    1 row selected.

  • Text wrap issue:ShowDetaillItem chop-off in the PanelAccordion.

    Issue: Text wrap issue in ShowDetailItem header. Tittle of the S+howDetaillItem+ chop-off does not display completely in the PanelAccordion.
    I have a few texts that does not wrap in ShowDetailItem Header used for the panel accordion. I could not fix it after trying a few options like changing the css skin, and in the design property inspector.
    Please suggest a way to fix this.
    Oracle Jdeveloper 11.1.1.5 is the version.
    Windows XP professional sp3
    Edited by: 899970 on Nov 30, 2011 11:34 AM

    Thanks for your response.
    Yes, we dont have enough room on the page.
    I want the text to wrap and display in the second line as it has more no. of letters compared to the other texts available.
    Please suggest me a way to get the text displayed the way I want it to be.
    Thanks
    Sam
    Edited by: 899970 on Nov 30, 2011 3:13 PM

Maybe you are looking for

  • Can any one help me with these eroors

    Hi i have following errors while installing Oracle 8.1.6 on Redhat 7.1 All the errors are with linking and ivoking following make files 1. ins_net_client.mk 2. ins_ldap.mk 3. ins_net_server.mk 4. ins_oemagent.mk 5. ins_odg.mk 6. ins_otrace.mk 7. ins_

  • How can I find out the age of my imac

    How can I find out the age of my computer to see if it will be able to download latest operating system

  • Why does alpha conversion not work?

    Hi guys, I have an alpha conversion in  an infoObjekt, and this infoObjekt is used in one inforsource, and I have set the check box "conversion" in the transfer rule, but the alpha conversion didn't work. But when I call 'CONVERSION_EXIT_ALPHA_INPUT'

  • Move entire music library

    I run out of hard disk space so I got an external one. I think I could make use of the external one to hold my entire iTunes library, which is kind of huge, so that the internal storage can be freed up a bit. But I know moving the entire library is n

  • Internal Module Error - When trying to Update N80!

    When i try and update my N80 it Keeps coming up with Internal Module Error. Anyone any idea what the problem is?