Intermedia index creation problem

We are running Portal 3.0.6 on Solaris 3.8.
We are having trouble creating intermedia index. We get the "An unexpected error has occurred (WWS-32100)", when trying to create the index thru the UI.
We tried metalink's suggestion and executed inctxgrn.sql. The error Persists on the UI, when you click create index.
We tried to create the index from pl/sql, by executing ctxcrind.sql. we got the following error
ERROR at line 1:
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "SYS.OWA_UTIL", line 323
ORA-06512: at "SYS.HTP", line 859
ORA-06512: at "SYS.HTP", line 974
ORA-06512: at "SYS.HTP", line 992
ORA-06512: at "SYS.HTP", line 40
ORA-06512: at "PORTAL30.WWERR_API_ERROR_UI", line 109
ORA-06512: at "PORTAL30.WWERR_API_ERROR_UI", line 57
ORA-06512: at "PORTAL30.WWSBR_STDERR", line 350
ORA-06512: at "PORTAL30.WWSBR_ERROR", line 8
ORA-06512: at "PORTAL30.WWV_CONTEXT", line 377
ORA-20100:
ORA-06512: at "PORTAL30.WWSBR_STDERR", line 437
ORA-06512: at "PORTAL30.WWV_CONTEXT", line 218
ORA-20100:
ORA-06512: at "PORTAL30.WWSBR_STDERR", line 437
ORA-06512: at "PORTAL30.WWV_CONTEXT_UTIL", line 39
ORA-20000: interMedia Text error:
DRG-12603: CTXSYS does not own user datastore procedure: WWSBR_THING_CTX_41
ORA-06512: at line 4
Any help would be appreciated. Thank you in advance

There are some prerequisites to be able to run Intermedia on an Oracle database on Solaris. You might want to check the Intermedia documentation here on Technet.
Fenella
null

Similar Messages

  • Intermedia index creation error

    Hi,
    I am getting the following error while importing a table with intermedia index on it.
    error occured in execution of ODCIINDEXCREATE routine.
    intermedia text error : Lost RPC connection to external procedure agent.
    at CTXSYS.DRUE
    at CTXSYS.TEXTINDEXMETHODS
    Any help is appreciated.
    thanks,
    Manish.

    We are encountering this error, too. On my local server, running 8.1.6 on Win2k on a laptop, I can create indexes successfully. We have a range of content, including Office 200 file types, html , text, etc.
    The column being indexed is LONG RAW. I believe we are using patch 8.1.6.3 already. We are eager to resolve this problem.

  • Intermedia index creation error while taking import

    Hi,
    I tried taking an export dump from a intermedia text indexed schema , and re-importing into a new schema. All objects got created except intermedia indexes.
    Please suggest.
    IMP-00017: following statement failed with ORACLE error 6510:
    "BEGIN "
    "ctxsys.driimp.create_index('RESOURCE_SUMMARY_NDX','RESOURCES',USER,"
    "'RESOURCEID','2','RESOURCESUMMARYXML','1',"
    "'2000','48','8130','49',"
    "NULL, NULL, NULL );"
    regards,
    Manish Jain.

    Please see reply at:
    http://technet.oracle.com:89/ubb/Forum36/HTML/000661.html

  • XML DB Index creation problem

    We are facing issues in creating index on XMLTYPE elements. In the below example, when we try to create index on "/PurchaseOrder/LineItems/LineItem/Description" element, its throwing "ORA-29036: This feature is not supported" error. It is allowing us to create index on Description element if we remove "maxOccurs="unbounded" attribute either in "LineItem" element or "Part" element. Please provide pointers on this issue. Below are the sample code for schema, table and index creation.
    DECLARE
    XMLSCHEMADOC VARCHAR2(32767);
    BEGIN
    XMLSCHEMADOC := '
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb"
    version="1.0" xdb:storeVarrayAsTable="true">
    <xs:element name="PurchaseOrder" type="PurchaseOrderType"/>
    <xs:complexType name="PurchaseOrderType">
    <xs:sequence>
    <xs:element name="Reference" type="ReferenceType"/>
    <xs:element name="Actions" type="ActionsType"/>
    <xs:element name="Reject" type="RejectionType" minOccurs="0"/>
    <xs:element name="Requestor" type="RequestorType"/>
    <xs:element name="User" type="UserType"/>
    <xs:element name="CostCenter" type="CostCenterType"/>
    <xs:element name="ShippingInstructions" type="ShippingInstructionsType"/>
    <xs:element name="SpecialInstructions" type="SpecialInstructionsType"/>
    <xs:element name="LineItems" type="LineItemsType"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="LineItemsType">
    <xs:sequence>
    <xs:element name="LineItem" type="LineItemType" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="LineItemType">
    <xs:sequence>
    <xs:element name="Description" type="DescriptionType"/>
    <xs:element name="Part" type="PartType" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="ItemNumber" type="xs:integer"/>
    </xs:complexType>
    <xs:complexType name="PartType">
    <xs:attribute name="Id">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:minLength value="10"/>
    <xs:maxLength value="14"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="Quantity" type="moneyType"/>
    <xs:attribute name="UnitPrice" type="quantityType"/>
    </xs:complexType>
    <xs:simpleType name="ReferenceType">
    <xs:restriction base="xs:string">
    <xs:minLength value="18"/>
    <xs:maxLength value="30"/>
    </xs:restriction>
    </xs:simpleType>
    <xs:complexType name="ActionsType">
    <xs:sequence>
    <xs:element name="Action" maxOccurs="4">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="User" type="UserType"/>
    <xs:element name="Date" type="DateType" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="RejectionType">
    <xs:all>
    <xs:element name="User" type="UserType" minOccurs="0"/>
    <xs:element name="Date" type="DateType" minOccurs="0"/>
    <xs:element name="Comments" type="CommentsType" minOccurs="0"/>
    </xs:all>
    </xs:complexType>
    <xs:complexType name="ShippingInstructionsType">
    <xs:sequence>
    <xs:element name="name" type="NameType" minOccurs="0"/>
    <xs:element name="address" type="AddressType" minOccurs="0"/>
    <xs:element name="telephone" type="TelephoneType" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    <xs:simpleType name="moneyType">
    <xs:restriction base="xs:decimal">
    <xs:fractionDigits value="2"/>
    <xs:totalDigits value="12"/>
    </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="quantityType">
    <xs:restriction base="xs:decimal">
    <xs:fractionDigits value="4"/>
    <xs:totalDigits value="8"/>
    </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="UserType">
    <xs:restriction base="xs:string">
    <xs:minLength value="1"/>
    <xs:maxLength value="10"/>
    </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="RequestorType">
    <xs:restriction base="xs:string">
    <xs:minLength value="0"/>
    <xs:maxLength value="128"/>
    </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="CostCenterType">
    <xs:restriction base="xs:string">
    <xs:minLength value="1"/>
    <xs:maxLength value="4"/>
    </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="VendorType">
    <xs:restriction base="xs:string">
    <xs:minLength value="0"/>
    <xs:maxLength value="20"/>
    </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="PurchaseOrderNumberType">
    <xs:restriction base="xs:integer"/>
    </xs:simpleType>
    <xs:simpleType name="SpecialInstructionsType">
    <xs:restriction base="xs:string">
    <xs:minLength value="0"/>
    <xs:maxLength value="2048"/>
    </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="NameType">
    <xs:restriction base="xs:string">
    <xs:minLength value="1"/>
    <xs:maxLength value="20"/>
    </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="AddressType">
    <xs:restriction base="xs:string">
    <xs:minLength value="1"/>
    <xs:maxLength value="256"/>
    </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="TelephoneType">
    <xs:restriction base="xs:string">
    <xs:minLength value="1"/>
    <xs:maxLength value="24"/>
    </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="DateType">
    <xs:restriction base="xs:date"/>
    </xs:simpleType>
    <xs:simpleType name="CommentsType">
    <xs:restriction base="xs:string">
    <xs:minLength value="1"/>
    <xs:maxLength value="2048"/>
    </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="DescriptionType">
    <xs:restriction base="xs:string">
    <xs:minLength value="1"/>
    <xs:maxLength value="256"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:schema>
    DBMS_XMLSCHEMA.registerSchema(
         SCHEMAURL => 'purchaseorder1.xsd',
         SCHEMADOC => XMLSCHEMADOC,
              LOCAL => TRUE,
              GENTYPES => TRUE,
              GENTABLES => TRUE,
              genbean => FALSE,
              enablehierarchy => 1,
              force => FALSE);
    END;
    CREATE TABLE PURCHASEORDER (
    PURCHASE_ORDER_ID NUMBER PRIMARY KEY,
    PURCHASE_ORDER_CONTENTS XMLType
    XMLTYPE COLUMN PURCHASE_ORDER_CONTENTS
    XMLSCHEMA "purchaseorder1.xsd"
    ELEMENT "PurchaseOrder"
    VARRAY PURCHASE_ORDER_CONTENTS."XMLDATA"."LineItems"."LineItem"
    STORE AS table ACTION_TABLE
    ((primary key (NESTED_TABLE_ID, SYS_NC_ARRAY_INDEX$))
    organization index overflow);
    create index po_lineitem_org_idx on PURCHASEORDER(extractValue(PURCHASE_ORDER_CONTENTS,'/PurchaseOrder/LineItems/LineItem/Description'));

    Hi,
    Thanks for your reply. Please find below my issues
    issue 1 : (index creation using extractvalue)
    I am able to create index on Description element if I remove maxoccurs="unbounded" from Part element. I am not able to understand, how i am able to create index if I remove maxoccurs="unbounded" from its sibiling.
    issue 2 : (Creating an Index for Direct Access to an Ordered Collection Table)
    When i tried to create table i am getting the following error.
    SQL> CREATE TABLE PURCHASEORDER (
    2 PURCHASE_ORDER_ID NUMBER PRIMARY KEY,
    3 PURCHASE_ORDER_CONTENTS XMLType
    4 )
    5 XMLTYPE COLUMN PURCHASE_ORDER_CONTENTS
    6 XMLSCHEMA "purchaseorder1.xsd"
    7 ELEMENT "PurchaseOrder"
    8 VARRAY PURCHASE_ORDER_CONTENTS."XMLDATA"."LineItems"."LineItem"
    9 STORE AS table LINEITEM_TABLE
    10 ((primary key (NESTED_TABLE_ID, SYS_NC_ARRAY_INDEX$)))
    11 VARRAY PURCHASE_ORDER_CONTENTS."XMLDATA"."LineItems"."LineItem"."Part"
    12 STORE AS table PART_TABLE
    13 ((primary key (NESTED_TABLE_ID, SYS_NC_ARRAY_INDEX$)));
    VARRAY PURCHASE_ORDER_CONTENTS."XMLDATA"."LineItems"."LineItem"."Part"
    ERROR at line 11:
    ORA-22809: nonexistent attribute
    Please provide pointers.

  • Spatial Index Creation Problem - 11g

    Dear all,
    I have a customer with a problem creating a spatial index in her database. The thing is, she is also storing rasters in the database in a different schema and those indices are created OK. Also in 2 other databases, mine & another consultant, the indices are created OK. The error is:
    Error starting at line 1 in command:
    CREATE INDEX rs_idxSPAT ON road_segments(RD_GEOMETRY)
    INDEXTYPE IS mdsys.spatial_index
    PARAMETERS ('SDO_INDX_DIMS=2 SDO_RTR_PCTFREE=20 geodetic = false layer_gtype=LINE')
    Error at Command Line:1 Column:13
    Error report:
    SQL Error: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13205: internal error while parsing spatial parameters
    ORA-13249: Stmt-Execute Failure: SELECT DBMS_ASSERT.QUALIFIED_SQL_NAME( :1 ) FROM DUAL
    ORA-29400: data cartridge error
    ORA-44004: invalid qualified SQL name
    ORA-06512: at "SYS.DBMS_ASSERT", line 188
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10
    29855. 00000 - "error occurred in the execution of ODCIINDEXCREATE routine"
    *Cause:    Failed to successfully execute the ODCIIndexCreate routine.
    *Action:   Check to see if the routine has been coded correctly.
    The table road_segments is empty when the statement is executed.
    Any thoughts, anyone?
    Thanks very much,
    Jim Greetham

    Jim,
    We typically don't support these kind of schema names for Spatial schemas
    as they have to be created with double quotes.
    Like create user "3droads".
    In this case, the schema name is the problem. They should pick a schema name
    they can create without using the double quotes.
    siva

  • Intermedia text index creation error

    My intermedia text was working fine, but now when create one index, it failed and it gave me the following error message:
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: ConText error:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: ld.so.1: extprocPLSExtProc: fatal: libskgxp8.so: open failed: No such file or directory
    ORA-06512: at "CTXSYS.DRUE", line 122
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 34
    ORA-06512: at line 1
    The listener itself is fine, is it because some library need to be re-created?
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Alexander Bogomolov ([email protected]):
    I've installed Intermedia text. During sample index creation i've get following error messages:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: Unable to load DLL
    ORA-06512: at "CTXSYS.DRUE", line 126
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 54
    ORA-06512: at line 1...
    seems to be incorrect NET8 settings. How can I solve this problem?
    thanks.
    Sorry for bad English. regards!<HR></BLOCKQUOTE>
    *** check your listener.ora file
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = oracle_home)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = global dbname)
    (ORACLE_HOME = oracle_home)
    (SID_NAME = sidname)
    for the correct location of extproc
    null

  • Strange: Conditional Error in Intermedia Text Index Creation

    Hi All,
    I am facing a strange error while creating the Intermedia Text index on 8.1.6 release for NT 4.0.
    I have one database instance installed on the server. When i connect to Oracle through SQL plus as: connect username/password;
    The index creation works fine!
    But, if i connect using: username/password@servicename;
    The index creation does not work!
    The following error occurs.
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000:intermedia Text error:
    ORA-50704:Net8 listener is not running or cannot start external procedures
    ORA-28575:unable to open RPC connection to external procedure agent
    ORA-12154:TNS:could not resolve service name
    ORA-06512:at "CTXSYS.DRUE", line 126
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 54
    ORA-06512:at line 1
    Could anyone please help as to why it works without when connected without the service name but not otherwise?
    Thanking you in advance!
    Thanks and Regards
    Anurag Agarwal

    Hi All,
    I am facing a strange error while creating the Intermedia Text index on 8.1.6 release for NT 4.0.
    I have one database instance installed on the server. When i connect to Oracle through SQL plus as: connect username/password;
    The index creation works fine!
    But, if i connect using: username/password@servicename;
    The index creation does not work!
    The following error occurs.
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000:intermedia Text error:
    ORA-50704:Net8 listener is not running or cannot start external procedures
    ORA-28575:unable to open RPC connection to external procedure agent
    ORA-12154:TNS:could not resolve service name
    ORA-06512:at "CTXSYS.DRUE", line 126
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 54
    ORA-06512:at line 1
    Could anyone please help as to why it works without when connected without the service name but not otherwise?
    Thanking you in advance!
    Thanks and Regards
    Anurag Agarwal

  • ORA-28579 during Intermedia indexing

    The following error occured during the creation of an Intermedia
    index:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: interMedia Text error:
    ORA-28579: network error during callback from external procedure agent
    ORA-06512: at "CTXSYS.DRUE", line 126
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 54
    ORA-06512: at line 1
    Any idea what to do ? This error is reproducable.
    Andreas Jung

    We are encountering this error, too. On my local server, running 8.1.6 on Win2k on a laptop, I can create indexes successfully. We have a range of content, including Office 200 file types, html , text, etc.
    The column being indexed is LONG RAW. I believe we are using patch 8.1.6.3 already. We are eager to resolve this problem.

  • ORA-01480 aborts index creation/syncronization

    I have a intermedia index and I have got an error creating the
    index.
    I you run this script, you will see the problem:
    drop table test_ferran;
    create table test_ferran (id number primary key, txt clob);
    create index ctx_test_ferran
    on test_ferran(txt) indextype is ctxsys.context
    parameters ('nopopulate section group
    ctxsys.auto_section_group');
    insert into test_ferran values(1,
    '<bbb
    b<ccccccccccccccccccccccccccccccccc<ddddddddddddddddddddddddd
    <e>'
    commit;
    begin
    ctx_ddl.sync_index('CTX_TEST_FERRAN');
    end;
    ORA-20000: Error d'interMedia Text:
    DRG-50857: oracle error in dreii0fsh
    ORA-01480: manca el carScter nul a la cua de la cadena STR
    ORA-06512: a "CTXSYS.DRUE", line 126
    ORA-06512: a "CTXSYS.CTX_DDL", line 1298
    ORA-06512: a line 2
    In this other case (just adding a space) there is no problem:
    drop table test_ferran;
    create table test_ferran (id number primary key, txt clob);
    create index ctx_test_ferran
    on test_ferran(txt) indextype is ctxsys.context
    parameters ('nopopulate section group
    ctxsys.auto_section_group');
    insert into test_ferran values(1,
    '<bbb b<cc
    ccccccccccccccccccccccccccccccc<ddddddddddddddddddddddddd <e>'
    commit;
    begin
    ctx_ddl.sync_index('CTX_TEST_FERRAN');
    end;
    The error is not reported in ctx_errors. Oracle just abort the
    index creation,
    why?
    .

    Just tried your test on 9i and works. Which db/platform are you
    using?
    SQL> create index ctx_test_ferran
    on test_ferran(txt) indextype is ctxsys.context 2
    3 parameters ('nopopulate section group
    ctxsys.auto_section_group');
    Index created.
    SQL> insert into test_ferran values(1,
    '<bbb 2
    3
    b<ccccccccccccccccccccccccccccccccc<ddddddddddddddddddddddddd
    4 <e>');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> exec ctx_ddl.sync_index('CTX_TEST_FERRAN');
    PL/SQL procedure successfully completed.

  • Errors in index creation

    Hi,
    I'm using Oracle Intermedia on Oracle 8.1.7.0.0 to index some columns of type LONG.
    During the index creation I'm having some errors with some tables:
    [type 1 error]
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: interMedia Text error:
    DRG-50857: oracle error in drekalc startid
    DRG-50858: OCI error: OCI_NO_DATA
    ORA-06512: at "CTXSYS.DRUE", line 126
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 78
    ORA-06512: at line 1
    [type 2 error]
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    In this second case the result is also that I'm no longer connected to Oracle.
    Do you have some hints?
    Patchset 2 can solve these problems?
    Best Regards. Riccardo Girardi

    There has been some bugs with LONG so try to get the latest patchset. I suggest going to 8.1.7.4

  • Too many recursive statements in PRO*C in comparing to SQLPLUS for Intermedia Index.

    Hi,
    I hope someone can help about this Problem. I don't know ehther its Intermedia Index or Database Problem...
    The following Query;
    SELECT SCORE(1),D.DOCUMENT_ID,DOCU_DATE_NUM,DOC_TYPE_ID
    FROM
    DOCUMENT D WHERE CONTAINS(SEARCH_INDEX,:b1,1) > 0 ORDER BY SCORE(1) DESC,
    DOCU_DATE_NUM DESC
    takes approx 7 sec in SQLPLUS , but in PRO*C it takes approx 55 sec. They call the same PL/SQL Stored Proc including the SQL above returning REF Cursor.
    In PROC*C running Program the Trace file contains 139 Statements of:
    SELECT/*+INDEX(T "DR$DOCXML_IX$X")*/ DISTINCT TOKEN_TEXT FROM "GETINFO"."DR$DOCXML_IX$I" T WHERE TOKEN_TEXT LIKE :lkexpr and TOKEN_TYPE NOT IN (1, 2, 5)
    but in SQLPLUS generated Trace File it has only 18 of the Statement.
    The TKPROF Report for PRO*C is:
    SELECT SCORE(1),D.DOCUMENT_ID,DOCU_DATE_NUM,DOC_TYPE_ID
    FROM
    DOCUMENT D WHERE CONTAINS(SEARCH_INDEX,:b1,1) > 0 ORDER BY SCORE(1) DESC,
    DOCU_DATE_NUM DESC
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 33.37 33.72 3 94 0 0
    Fetch 44 0.04 0.04 29 69 4 43
    total 46 33.41 33.76 32 163 4 43
    For SQLPLUS:
    SELECT SCORE(1),D.DOCUMENT_ID,DOCU_DATE_NUM,DOC_TYPE_ID
    FROM
    DOCUMENT D WHERE CONTAINS(SEARCH_INDEX,:b1,1) > 0 ORDER BY SCORE(1) DESC,
    DOCU_DATE_NUM DESC
    call count cpu elapsed disk query current rows
    Parse 1 0.01 0.01 0 0 0 0
    Execute 1 4.36 4.37 0 0 0 0
    Fetch 44 0.02 0.02 10 44 0 43
    total 46 4.39 4.40 10 44 0 43
    Why is there so much difference? Even if they both do HARD Parse for the SQL above or run the same Stored Proc many times with "ALTER SESSION SET SESSION_CACHED_CURSORS=10", the difference in Time is the same.
    Can someone help about this, I think it is an important Tuning Problem for Intermedia Index or ORACLE Bug maybe...

    Hi,
    Thanks for answering.
    Yes I'm sure , both of them are using the same bind variables and it is:
    (FUZZY($INTERNATIONAL) AND FUZZY($JOURNAL) AND FUZZY($ELECTRONICS) AND FUZZY($COMMUNICATIONS)) WITHIN SERIES_TITLE';
    The same Query takes too long in Unix SQL*PLUS (~ 54 secs) also, but in Windows SQL*PLUS its faster (~ 7 secs).
    Bu t if I chabe the Bind Variable as :
    STR := '(($INTERNATIONAL OR ?INTERNATIONAL) AND ($JOURNAL OR ?JOURNAL) AND ($ELECTRONICS OR ?ELECTRONICS) AND ($COMMUNICATIONS OR ?COMMUNICATIONS)) WITHIN SERIES_TITLE';
    then its in both Environment faster and nearly the same. But its not the same as the previous one.
    I think the problem is when using the search as ?$<Word> (Fuzzy Stem together). But not everytime. Do you think its a Bug?

  • Spatial query index creation fails with ORA-13282: failure on initializatio

    Hi,
    I have an Oracle 10g 10.2.0.5.0 database newly installed. Spatial index creation fails:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13282: failure on initialization of coordinate transformation
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10
    The script I am trying to run is:
    Insert into USER_SDO_GEOM_METADATA
    (TABLE_NAME, COLUMN_NAME, DIMINFO, SRID)
    Values
    ('SOME_TABLE', 'geo',
    "SDO_DIM_ARRAY"(
    "SDO_DIM_ELEMENT"('X',600000,900000,0.001),
    "SDO_DIM_ELEMENT"('Y',150000,400000,0.001)), 23700);
    CREATE INDEX IX_GEO_SOME_TABLE ON SOME_TABLE (GEO) INDEXTYPE IS MDSYS.SPATIAL_INDEX ;
    Earlier I had some issues with NLS settings in relation to Spatial, but in this particular case setting the NLS_LANG for AMERICAN_AMERICA does not help. I found this comment http://www.orafaq.com/forum/t/127312/2/ but would not like to hack around with MDSYS table content. Any help is highly appreciated.
    Regards, Tamas

    Tamas,
    1 . . .Are you indexing a table that already has geometries or an empty table?
    . . . .If the former, do all the geometries in that table have the same (not NULL) SRID (23700)?
    2 . .The link you posted suggests a parsing problem since in Hungarian (23700), the decimal seperator is a comma (not a period). Accordingly, I believe the edit to mdsys.sdo_cs_srs.WKTEXT would be:
    PROJCS["HD72 / EOV", GEOGCS [ "HD72", DATUM ["Hungarian Datum 1972 (EPSG ID 6237)", SPHEROID ["GRS 1967 (EPSG ID 7036)", 6378160, 298,247167427]], PRIMEM [ "Greenwich", 0,000000 ], UNIT ["Decimal Degree", 0,01745329251994328]], PROJECTION ["Egyseges Orszagos Vetuleti (EPSG OP 19931)"], UNIT ["Meter", 1]]
                                                                                                                                         ^                                    ^                                   ^                                                                                                  Regards,
    Noel

  • Parallel Index creation takes more time...!!

    OS - Windows 2008 Server R2
    Oracle - 10.2.0.3.0
    My table size is - 400gb
    Number of records - 657,45,95,123
    my column definition first_col varchar2(22) ; -> I am creating index on this column
    first_col -> actual average size of column value is 10
    I started to create index on this column by following command
    CREATE INDEX CALL_GROUP1_ANO ON CALL_GROUP1(A_NO) LOCAL PARALLEL 8 NOLOGGING COMPRESS ;
    -> In my first attempt after three hours I got an error :
    ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
    So I increased the size of temp tablespace to 380GB ,Because i expect the size of first_col index this much.
    -> In my second attempt Index creation is keep going even after 17 hours...!!
    Now the usage of temp space is 162 GB ... still it is growing..
    -> I checked EM Advisor Central ADDM :
    it says - The PGA was inadequately sized, causing additional I/O to temporary tablespaces to consume significant database time.
    1. why this takes this much of Temp space..?
    2. It is required this much of time to CREATE INDEX in parallel processing...? more than 17 hrs
    3. How to calculate and set the size of PGA..?

    OraFighter wrote:
    Oracle - 10.2.0.3.0
    My table size is - 400gb
    Number of records - 657,45,95,123
    my column definition first_col varchar2(22) ; -> I am creating index on this column
    first_col -> actual average size of column value is 10
    I started to create index on this column by following command
    CREATE INDEX CALL_GROUP1_ANO ON CALL_GROUP1(A_NO) LOCAL PARALLEL 8 NOLOGGING COMPRESS ;
    Now the usage of temp space is 162 GB ... still it is growing..The entire data set has to be sorted - and the space needed doesn't really vary with degree of parallelism.
    6,574,595,123 index entries with a key size of 10 bytes each (assuming that in your choice of character set one character = one byte) requires per row approximately
    4 bytes row overhead 10 bytes data, 2 bytes column overhead for data, 6 bytes rowid, 2 bytes column overhead for rowid = 24 bytes.
    For the sorting overheads, using the version 2 sort, you need approximately 1 pointer per row, which is 8 bytes (I assumed you're on 64 bit Oracle on this platform) - giving a total of 32 bytes per row.
    32 * 6,574,595,123 / 1073741824 = 196 GB
    You haven't said how many partitions you have, but you might want to consider creating the index unusable, then issuing a rebuild command on each partition in turn. From "Practical Oracle 8i":
    <blockquote>
    In the absence of partitioned tables, what would you do if you needed to create a new index on a massive data set to address a new user requirement? Can you imagine the time it would take to create an index on a 450M row table, not to mention the amount of space needed in the temporary segment. It's the sort of job that you schedule for Christmas or Easter and buy a couple of extra discs to add to the temporary tablespace.
    With suitably partitioned tables, and perhaps a suitably friendly application, the scale of the problems isn't really that great, because you can build the index on each partition in turn. This trick depends on a little SQL feature that appears to be legal even though I haven't managed to find it in the SQL reference manual:
         create index big_new_index on partitioned_table (colX)
         local
         UNUSABLE
         tablespace scratchpad
    The key word is UNUSABLE. Although the manual states that you can 'alter' an index to be unusable, it does not suggest that you can create it as initially unusable, nevertheless this statement works. The effect is to put the definition of the index into the data dictionary, and allocate all the necessary segments and partitions for the index - but it does not do any of the real work that would normally be involved in building an index on 450M rows.
    </blockquote>
    (The trick was eventually documented a couple of years after I wrote the book.)
    Regards
    Jonathan Lewis

  • Relation between temp tablespace and index creation

    Hi,
    I have my Oracle database (11gR1) on windows 2008 server R1 64 bit..
    This is my development database. i have one table which has more than 2 billion rows , the problem i m facing here is while creating the index on this table i m getting temp segment error , while my temp tablespace size is 32 gb.
    Here my doubt is :
    1.What will happen in temp tablespace when index is created ? Relation between temp and index creation ?
    2. how to create the index on a huge table?
    3. What is the meaning og logging and no logging in INDEX creation .
    4. how can we over come for these kind of problem and manage the temp TS..
    Thanks & Regards,
    Vikash Chauradia

    add another tempfile?
    1.What will happen in temp tablespace when index is created ? Relation between temp and index creation ?
    index creation needs sort. how much depends on the size of the index.
    2. how to create the index on a huge table?
    create an interim (temporary? :)) huge temporary space for the very purpose.
    http://docs.oracle.com/cd/B28359_01/server.111/b28310/indexes003.htm#i1006643
    3. What is the meaning og logging and no logging in INDEX creation .
    nologging means you the creation isnt in the logs so if you need to recover you cant get back to it. when using nologging in a prod env you might do it for performance during a period of heavy dml such as a large index creation and then backup afterwards. common enough.
    4. how can we over come for these kind of problem and manage the temp TS..
    current tempspace size =X
    is X big enough? if yes, cup of tea, if no, make X bigger.
    It doesnt matter what X is.

  • Systemcopy using R3load - Index creation VERY slow

    We exported a BW 7.0 system using R3load (newest tools and SMIGR_CREATE_DDL) and now importing it into the target system.
    Source database size is ~ 800 GB.
    The export was running a bit more than 20 hours using 16 parallel processes. The import is still running with the last R3load process. Checking the logs I found out that it's creating indexes on various tables:
    (DB) INFO: /BI0/F0TCT_C02~150 created#20100423052851
    (DB) INFO: /BIC/B0000530000KE created#20100423071501
    (DB) INFO: /BI0/F0COPC_C08~01 created#20100423072742
    (DB) INFO: /BI0/F0COPC_C08~04 created#20100423073954
    (DB) INFO: /BI0/F0COPC_C08~05 created#20100423075156
    (DB) INFO: /BI0/F0COPC_C08~06 created#20100423080436
    (DB) INFO: /BI0/F0COPC_C08~07 created#20100423081948
    (DB) INFO: /BI0/F0COPC_C08~08 created#20100423083258
    (DB) INFO: /BIC/B0000533000KE created#20100423101009
    (DB) INFO: /BIC/AODS_FA00~010 created#20100423121754
    As one can see on the timestamps the creation of one index can take an hour or more.
    x_cons is showing constant CrIndex reading in parallel, however, the througput is not more than 1 - 2 MB/sec.  Those index creation processes are running now since over two days (> 48 hours) and since the .TSK files don't mentioned those indexes any more I wonder how many of them are to be created and how long this will take.
    The whole import was started at "2010-04-20 12:19:08" (according to import_monitor.log) so running now since more than three days with four parallel processes. Target machine has 4 CPUs and 16 GB RAM (CACHE_SIZE is 10 GB). The machine is idling though with 98 - 99 %.
    I have three questions:
    - why does index creation take such a long time? I'm aware of the fact, that the cache may not be big enough to take all the data but that speed is far from being acceptable. Doing a Unicode migration, even in parallel, will lead to a downtime that may not be acceptable by the business.
    - why are the indexes not created first and then filled with the data? Each savepoint may take longer but I don't think that it will take that long.
    - how to find out which indexes are still to be created and how to estimate the avg. runtime of that?
    Markus

    i Peter,
    I would suggest creating an SAP ticket for this, because these kind of problems are quite difficult to analyze.
    But let me describe the index creation within MaxDB. If only one index creation process is active, MaxDB can use multiple Server Tasks (one for each Data Volume) to possibly increase the I/O throughput. This means the more Data Volumes you have configured, the faster the parallel index creation process should be. However, this hugely depends on your I/O system being able to handle an increasing amount of read/write requests in parallel. If one index creation process is running using parallel Server tasks, all further indexes to be created at that time can only utilize one single User Task for the I/O.
    The R3load import process assumes that the indexes can be created fast, if all necessary base table data is still present in the Data Cache. This mostly applies to small tables up to table sizes that take up a certain amount of the Data Cache. All indexes for these tables are created right after the table has been imported to make use of the fact, that all the needed data for index creation is still in the cache. Many idexes may be created simultaneously here, but only one index at a time can use parallel Server Tasks.
    If a table is too large in relation to the total database size, then its indexes are being queued for serial index creation to be started when all tables were imported. The idea is that the needed base table data would likely have been flushed out of the Data Cache already and so there is additional I/O necessary rereading that table for index creation. And this additional I/O would greatly benefit from parallel Server Tasks accessing the Data Volumes. For this reason, the indexes that are to be created at the end are queued and serialized to ensure that only one index creation process is active at a time.
    Now you mentioned that the index creation process takes a lot of time. I would suggest (besides opening an OSS ticket) to start the MaxDB tool 'Database Analyzer' with an interval of 60 seconds configured during the whole import. In addition, you should activate the 'time measurement' to get a reading on the I/O times. Plus, ensure that you have many Data Volumes configured and that your I/O system can handle that additional loag. E.g. it would make no sense to have 25 Server Tasks all writing to a single local disk, I would assume that the disk would become a bottle neck...
    Hope my reply was not too confusing,
    Thorsten

Maybe you are looking for

  • My Itunes won't open on my computer

    I have a macbook pro, and for the past two days my itunes won't open. I keep getting an error message stating "The itunes application could not be opened. An unknown error occurred. (13010)" I restarted my computer, i uninstalled and reinstalled, but

  • Search a file with JComboBox

    Can anyone help me, i'm doing a sistem where there will be a JComboBox and when i choose the value which is a folder name in the combo it have to search the in the folder look for a file for example oratab. if the file in not found in the folder a me

  • Installing desktop software for tour 9630

    Hello everybody.I am a new BB client.I got the Tour yesterday and while trying to install the software to my computer the proccess stoped quickly after starting displaying "unale to download microsoft NET framework 2.0 SP 1-the .exe file".The other f

  • DI: Completing a work order

    Hi, I've got a problem after upgrading from SDK 6.2 to SDK 6.5 with setting the status of a work order (WorkOrders-Object): Function SetWorkOrderComplete(ByVal woCode as Long, ByRef ErrMsg as String)   Dim WO As SAPbobsCOM.WorkOrders, rc as Long, suc

  • Equium P200-1ED PSPB5E - Storage and Sound drivers download

    I am after the following XP drivers, but the links on the downloads are dead. "Storage Manager" - http://support2.toshiba-tro.de/ftedd-files2/0/fstormng-20070827133046.zip Realtek Sound" - http://support2.toshiba-tro.de/tedd-files2/0/sound-2007082116