Error create index

Hi
I trying to create my spatial index:
INSERT INTO USER_SDO_GEOM_METADATA
VALUES (
'DGDTW_TOPOGRAFIE',
'GEOMETRIE',
mdsys.SDO_dim_array(
MDSYS.SDO_DIM_ELEMENT('X',200000,215600,.0005),
MDSYS.SDO_DIM_ELEMENT('Y',844800,862000,.0005),
MDSYS.SDO_DIM_ELEMENT('Z',-10000,10000,0.0005)),NULL);
create index DGDTW_TopoIndex on DGDTW_Topografie(Geometrie) indextype is mdsys.spatial_index;
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13249: internal error in Spatial index: [mdidxrbd]
ORA-13249: Error in Spatial index: index build failed
ORA-13236: błąd wewnętrzny podczas przetwarzania drzewa R: [failed to cluster in memory]
ORA-13249: Internal error in Spatial index: [mdrcrclmem]
ORA-13232 failed to allocate memory during R-tree creation
ORA-13236:internal error in R-tree processing:[failed to allocate memory]
ORA-06512: a "MDSYS.SDO_INDEX_METHOD_9I", line 368
ORA-06512: a line 1
I do not understand why I am getting the error.
Thank you!

What version of Oracle are you using? Please include the patch level. This rings a bell as a bug that was fixed a long time ago.

Similar Messages

  • Error creating index

    Hi,
    I'm sure this question must have been asked before, but I can't find an answer to it.
    When I try to create a spatial index I get the following error:
    CREATE INDEX IDX_ADDR_SPT
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13203: failed to read USER_SDO_GEOM_METADATA table
    ORA-13203: failed to read USER_SDO_GEOM_METADATA table
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 8
    ORA-06512: at line 1
    I used the following commands to enter data into the meta table and create the index:
    INSERT INTO USER_SDO_GEOM_METADATA
    VALUES(
    'MAPDEV.DAT_ADDRESS',
    'MAPDEV.DAT_ADDRESS.GEOPOINT',
    MDSYS.SDO_DIM_ARRAY(
    MDSYS.SDO_DIM_ELEMENT('X', 529440, 529680, 0.5),
    MDSYS.SDO_DIM_ELEMENT('Y', 181373, 181582, 0.5)
    8274 --SRID
    CREATE INDEX IDX_ADDR_SPT
    ON MAPDEV.DAT_ADDRESS(GEOPOINT)
    INDEXTYPE IS MDSYS.SPATIAL_INDEX
    PARAMETERS('SDO_LEVEL=4 LAYER_GTYPE="POINT" TABLESPACE="IDX"');
    I have no idea where I am going wrong, so any help would be greatly appreciated.
    Cheers.
    Steve

    if you are not trying to create a function-based index then change your metadata entries:
    INSERT INTO USER_SDO_GEOM_METADATA
    VALUES(
    'DAT_ADDRESS',
    'GEOPOINT',
    MDSYS.SDO_DIM_ARRAY(
    MDSYS.SDO_DIM_ELEMENT('X', 529440, 529680, 0.5),
    MDSYS.SDO_DIM_ELEMENT('Y', 181373, 181582, 0.5)),
    8274 --SRID);
    hope this helps,
    dan

  • Errors creating indexes on Binary XML Tables

    Hi,
    Oracle details are as follows:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    "CORE 11.2.0.2.0 Production"
    TNS for IBM/AIX RISC System/6000: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    I'm currently having an issue when attempting to create a suitable index on a binary xml table. I have a Binary xml table that stores a number of xml documents. I have created an index on this table as follows:
    create index TEST_WQI_idx_1 on TEST_WEB_QUOTE_INDX1(OBJECT_VALUE)
    INDEXTYPE IS XDB.XMLINDEX
    PARAMETERS ('PATHS (INCLUDE
    (/webPolicy/QuoteId))');
    Querying the table with the following:
    SQL> l
    1 select xmlcast(xmlquery('/webPolicy/Sections/interopSection[1]/PolicyItems/item/Version/text()' PASSING OBJECT_VALUE RETURNING CONTENT)
    2 as number) "VERSION",
    3 xmlcast(xmlquery('/webPolicy/QuoteId/text()' PASSING OBJECT_VALUE RETURNING CONTENT)
    4 as number) "QUOTEID"
    5 FROM TEST_WEB_QUOTE_INDX1
    6 where xmlcast(xmlquery('/webPolicy/QuoteId/text()' PASSING OBJECT_VALUE RETURNING CONTENT)
    7* as number) = 22824
    SQL> /
    VERSION QUOTEID
    1 22824
    Execution Plan
    Plan hash value: 3559428808
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 545 | 1071K| 1030 (1)| 00:00:19 |
    | 1 | SORT AGGREGATE | | 1 | 3022 | | |
    |* 2 | TABLE ACCESS BY INDEX ROWID | SYS895336_TEST_WQI__PATH_TABLE | 1 | 3022 | 2 (0)| 00:00:01 |
    |* 3 | INDEX RANGE SCAN | SYS895336_TEST_WQI__PIKEY_IX | 1 | | 1 (0)| 00:00:01 |
    |* 4 | FILTER | | | | | |
    | 5 | TABLE ACCESS FULL | TEST_WEB_QUOTE_INDX1 | 545 | 1071K| 4 (0)| 00:00:01 |
    | 6 | SORT AGGREGATE | | 1 | 3022 | | |
    |* 7 | TABLE ACCESS BY INDEX ROWID| SYS895336_TEST_WQI__PATH_TABLE | 1 | 3022 | 2 (0)| 00:00:01 |
    |* 8 | INDEX RANGE SCAN | SYS895336_TEST_WQI__PIKEY_IX | 1 | | 1 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    2 - filter(SYS_XMLI_LOC_ISTEXT("SYS_P0"."LOCATOR","SYS_P0"."PATHID")=1)
    3 - access("SYS_P0"."RID"=:B1 AND "SYS_P0"."PATHID"=HEXTORAW('5E6C') )
    4 - filter(CAST( (SELECT "SYS"."STRAGG"("SYS_P2"."VALUE") FROM
    "WEB_STAGING"."SYS895336_TEST_WQI__PATH_TABLE" "SYS_P2" WHERE "SYS_P2"."PATHID"=HEXTORAW('5E6C') AND
    "SYS_P2"."RID"=:B1 AND SYS_XMLI_LOC_ISTEXT("SYS_P2"."LOCATOR","SYS_P2"."PATHID")=1) AS number)=22824)
    7 - filter(SYS_XMLI_LOC_ISTEXT("SYS_P2"."LOCATOR","SYS_P2"."PATHID")=1)
    8 - access("SYS_P2"."RID"=:B1 AND "SYS_P2"."PATHID"=HEXTORAW('5E6C') )
    Note
    - dynamic sampling used for this statement (level=2)
    - Unoptimized XML construct detected (enable XMLOptimizationCheck for more information)
    However, I also need to add an additional field to this index to allow appropriate queries against the data in the table, version number. This field can be seen from the statement above (VERSION) which runs OK and returns the data I’d expect. However, when I attempt to add this index using the following statement I get an error returned and the index becomes corrupted:
    alter index TEST_WQI_idx_1 rebuild
    parameters ('PATHS (INCLUDE ADD
    (/webPolicy/Sections/interopSection[1]/PolicyItems/item/Version))');
    After some investigation, the issue seems to revolve around the use of the [1] condition in the statement /interopSection[1]. I can create the index by removing the [1] condition, but this does not return the expected result. In actual fact, as there are 2 interopSection elements in the xml file, both with a version number of 1, the statement returns 11, which would appear to be the two version numbers concatenated together. I need to be able to reference the version number from the first interopSection in the queries against the table, and I need to be able to index this column correctly for performance issues.
    I'm unsure why this xpath statement is not working correctly in the alter index statement, but returns ok when used within the query against the table and was wondering if you would be able to help me to have a working index against this element.
    Thanks in advance for any help you can provide in relation to this.

    Sorry, here is the error:
    Error starting at line 20 in command:
    alter index TEST_WQI_idx_1 rebuild
    parameters ('PATHS (INCLUDE ADD
    (/webPolicy/Sections/interopSection[1]/PolicyItems/item/Version))')
    Error report:
    SQL Error: ORA-29858: error occurred in the execution of ODCIINDEXALTER routine
    ORA-64131: XMLIndex Metadata: failure during the looking up of the dictionary
    ORA-30968: invalid XPATH or NAMESPACE option for XML Index
    29858. 00000 - "error occurred in the execution of ODCIINDEXALTER routine"
    *Cause:    Failed to successfully execute the ODCIIndexAlter routine.
    *Action:   Check to see if the routine has been coded correctly.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Error creating index (trailing null missing from STR bind value)

    I'm having the following 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 dreii0fsh
    ORA-01480: trailing null missing from STR bind value
    ORA-06512: at "CTXSYS.DRUE", line 157
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 176
    ORA-06512: at line 1
    my script is:
    create index IDX_XML on EN_TESTE_XML(TXT_XML_CURRICULO)
    indextype is ctxsys.context;
    My Oracle is 9.0.1
    TXT_XML_CURRICULO -> XMLTYPE then
    the section group is PATH_SECTION_GROUP by default.
    thanks.
    Marlon

    If you get an OCI error when simply updating a record in PL/SQL Developer, it sounds like a PL/SQL Developer issue, although not one I've come across. You might try Allround Automations tech support. They'll need your exact versions of Oracle server, Oracle client and PL/SQL Developer.
    SQL*Plus is part of the Oracle Client software so you should have it somewhere, or you can download it free.

  • Process chain error - Create Index 0SD_C04 is not permitted

    Hi,
    We are trying to load Infocubes 0SD_C03 and 0SD_C04 in a process chain. The Delete Index and Load Infopackage processes are executing successfully, but we are getting an error on Index creation for Infocube 0SD_C04.
    The error message is "Deleting/Reconstructing Indexes for Infocube 0SD_C04 is not permitted".
    Is there a setting to allow index creation for this cube?
    Thanks
    Pooja.

    Pooja,
    maybe the index was not properly dropped ,
    check if the index has not got corrupted..
    found a program:
    RSDU_INFOCUBE_INDEXES_CHECK
    this could be of help - but an unable to test it here since I cannot replicate the scenario..
    Arun
    Assign points if it helps..

  • Error creating a text Index

    When i tried to create a text index on my system (Oracle 8.1.6, RedHat Linux 6.2) i always get the same error:
    create index pkk on teste(maisumteste)indextype is ctxsys.context
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: interMedia Text error:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: ctxsys: cannot open shared object file: No such file or directory
    ORA-06512: at "CTXSYS.DRUE", line 126
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 54
    ORA-06512: at line 1
    i'm a beginner in intermedia, so right now i'm stalled in this one, please help me.
    Thanks, in advance.
    Tony Cruz

    Raj Kr Pandit wrote:
    where is the issue?The issue is your code is apples and oranges:
    SQL> CREATE TABLE tab_1(aa nvarchar2(50) PRIMARY KEY,bb clob)
      2  /
    Table created.
    SQL> CREATE INDEX xtab_1_bb ON tab_1 (bb) INDEXTYPE IS CTXSYS.CONTEXT
      2  /
    CREATE INDEX xtab_1_bb ON tab_1 (bb) INDEXTYPE IS CTXSYS.CONTEXT
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-10528: primary keys of type NVARCHAR2 are not allowed
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 364
    SQL> SY.

  • Error Creating Oracle Text Index giving DRG-50857: oracle error in drvxtab

    Hello,
    I'm trying to create an Oracle text indexd as follows:
    Create index tt.idx_emp on tt.emp(emp_name)
    Indextype is ctxsys.context
    Parameters(‘
    Datastore idx_emp_dst
    Filter idx_emp_fil
    Section group idx_emp_sgp
    Lexer idx_emp_lex
    Wordlist idx_emp_wdl
    Stoplist idx_emp_spl
    Storage idx_emp_sto
    Sync (on commit)
    But, I get the following error:
    Create index tt.idx_emp
    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 keywork
    ORA-06512: at “CTXSYS.DRUE”, line 160
    ORA-06512: at “CTXSYS.TEXTINDEXMETHODS”, line 364
    Has anyone encountered this error before? What did you do to fix this?
    Thanks.

    In what version?
    Have you checked metalink?

  • Unable to create index

    Hi All,
    I have a 8.1.7.4 database with oracle text installed. I try to create a index and get the followin error:
    create index quick_text on quick ( text )indextype is ctxsys.context; ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: interMedia Text error:
    DRG-11422: linguistic initialization failed
    DRG-00100: internal error, arguments : [52100],[drxs.c],[553],[gxtopen],[1]
    DRG-11432: file error while accessing interMedia Text knowledge base
    ORA-06512: at "CTXSYS.DRUE", line 126
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 78
    ORA-06512: at line 1
    All the objects are valid (I checked). Any Ideas ?
    Thanks in advance,

    This error indicates that you are attempting to create a theme index,
    but your NLS_LANGUAGE setting of the database does not have a
    linguistic knowledge base installed. Right know there are only
    KBs in english and french only.
    The workaround is to create the index with themes off. So just
    turn off the the following attribute and then re-create the index.
    CTX_DDL.set_attribute('DEFAULT_LEXER','INDEX_THEMES', 'NO');

  • Insufficient priviledge when creating index

    upon creating new indexes, using the command :
    create index im_art_s_idx_2 on article(cl_story)
    indextype is ctxsys.context;
    i get the following error :
    create index im_art_s_idx_2 on article(cl_story)
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE
    routine
    ORA-20000: interMedia Text error:
    ORA-01031: insufficient privileges
    ORA-06512: at "CTXSYS.DRUE", line 126
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 54
    ORA-06512: at line 1
    I can, however create normal indexes (i.e. by not specifying
    the indextype argument). Has anybody got any idea what this
    could be about?

    grant to user who's gonna create the index CTXAPP
    grant ctxapp to xxxx;

  • Spatial: create index gets ORA-22060: argument [2] is an invalid number

    Hi,
    I'm trying to create a spatial index on an SDO_GEOMETRY column in 10gR2, but getting the following error:
    CREATE INDEX GR_TEST_ADDRP_SIDX ON GR_TEST
    (ADDRESS_POINT)
    INDEXTYPE IS MDSYS.SPATIAL_INDEX
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-22060: argument [2] is an invalid or uninitialized number
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10Any pointers to what I should be looking for here?

    Found solution to my problem. When inserting to USER_SDO_GEOM_METADATA I copied insert statement from existing metadata and insert statement had NULLs in the 3rd and 4th dimension. Took those out and now index creates okay.

  • IDES system copy ..error during IMPORT_ABAP..unable to create indexes

    Hi all,
    I am doing a IDES system copy. I ran the report SMIGR_CREATE_DLL , the export activities have been completed successfully as well on the source system. Now on the target system, during the import, I am getting the following error in the log file SAPDFACT.log.
    (DB) ERROR: DDL statement failed
    (CREATE  INDEX "/BI0/E0RSTT_C06~P" ON "/BI0/E0RSTT_C06" ( "KEY_0RSTT_C06P" , "KEY_0RSTT_C06T" , "KEY_0RSTT_C06U" , "KEY_0RSTT_C061" , "KEY_0RSTT_C062" , "KEY_0RSTT_C063" , "KEY_0RSTT_C064" , "KEY_0RSTT_C065" , "KEY_0RSTT_C066" , "KEY_0RSTT_C067" , "KEY_0RSTT_C068"  ) TABLESPACE PSAPSR3 STORAGE (INITIAL 65536 NEXT 0000002560K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) NOLOGGING COMPUTE STATISTICS )
    DbSlExecute: rc = 99
      (SQL error 1408)
      error message returned by DbSl:
    ORA-01408: such column list already indexed
    (DB) INFO: disconnected from DB
    The owner for this table is SAPSR3. Some oracle forums suggested to drop the index before recreating it. But when i do "drop index SAPSR3."/BI0/E0RSTT_C06~P..it says.."the specified index does not exist". But when I go to recreate this index, it doesn get created successfully. After that when I re-run the import, it again fails. Suprisingly..now if i go to check if this index is present thru a sql querry:
    select owner, object_name, object_type from dba_objects where object_name='SAPSR3."/BI0/E0RSTT_C06~P"', it tells "no rows selected". This is happening everytime, I create an index, where it gets created successfully, and the import again fails with the same error in SAPDFACT.log.
    I found an SAP note 885441 named..common errors during migration..although mine isnt a migration..my both source and destination are Red hat 64 bit platform.
    The note 1st asks to download the latest R3load..which I did and extracted in the kernel directory of the source..then it also asked to edit the .TSK file..in my case..SAPDFACT.TSK..where the lines:
    I /BIC/E<Cubename>~<index> C err
    to  I /BIC/E<Cubename>~<index> C ign..
    I did that..this time..the import again fails..but in the SAPDFACT.log..it complains about some other index..n the same gets generated in the .TSK file as well..the earlier index error is not again generated.
    I am not sure..what is going wrong..my export went through successfully.i have done the prep steps for export as well..before that i ran the SMIGR_CREATE_DLL report as well..
    Any inputs are highly appreciated..
    Thanks,
    Akshay

    Hi,
    Check SAP  Note 1166589 - Table converter: DB error when creating secondary indexes
    Thanks
    Sunny

  • Error while creating index on  ep 6.0 9 sr1   (trex 6.1).

    Hell o all,
        I am getting following error while creating index on  ep 6.0 9 sr1   (trex 6.1).
    Index could not be created; creating index failed: general configuration error (Errorcode 2030)
    can any on ehelp.
    thanks and regards
    Rajendra

    Hi,
    We are running TREX 6.1.09.00 on EP6.0.9.0.0 and KMC6.0.9.0.0.
    We are experiencing the same problems, even after changing the value in the .ini file as specified in NOTE 766197.
    After doing changes, I restarted the server after doing the changes.
    Alessandro, have you got any ideas for fixing this?
    Message was edited by: Bjorn Bjornstad

  • Configuration error while creating index in KM

    Hi KM Expets,
    I am getting the following error while creating a new index via System Adminstration > System Configuration > Knowledge Management > Index Adminstration.
    Index could not be created; creating index failed: Invalid entry in configuration: section nameserver, key address, value tcpip://<nameserverhost>:<nameserverport> is invalid (Errorcode 7213)
    I guess all the field values filled by me are correct, so not able to get the problem.
    Any suggestions/help ?
    Regards,
    Saurabh

    HI
    check this links:
    https://www.sdn.sap.com/irj/sdn/thread?messageID=551325
    https://forums.sdn.sap.com/thread.jspa?threadID=953575&messageID=5752406#5752406
    Hope this may help you.
    Thanks
    Hussain.

  • Error while creating index

    hi all,
    i got this error while creating index in portal.
    <b>Index could not be created; creating index failed: Invalid entry in configuration: section nameserver, key address, value tcpip://<nameserverhost>:<nameserverport> is invalid (Errorcode 7213)</b>
    it a little urgent any will be appreciated.
    thanks in advance
    Ranga

    Hi Ranga,
    Please follow http://help.sap.com/saphelp_nw04s/helpdata/en/c7/e0d13f7fb44c21e10000000a1550b0/frameset.htm
    Hope it helps
    Detlev
    PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

  • Error in Process chain while deleting index and create index

    While executing the process chain  for delete index  the process chain failed with the below error message as "The system has not finished loading request 445315 into data target ZECC_C01". While creating index also it failed with error message as "Lock NOT set for: Generate index, RSSM_PROCESS_INDEX terminated, because InfoCube/DSO object ZECC_C01 could not be locked".
    Please help me in solving this issue.
    Thanks & Regards,
    Bharathi

    Hi,
    Manage the data target - ZECC_C01 and check the request number 445315. Also check the subsequent data targets if further loading was erroneous. Check whether the request is green / Properly loaded or not.
    You can also use RSBKREQUEST table to check the request and its corresponding data target.
    This request is either red or yellow caused this failure.
    Hope this helps.
    Regards,

Maybe you are looking for

  • Error in MDM to SAPR3 scenario

    Hi, i am configuring a scenario where my sender is MDM 7.1 and receiver is SAPR3 system. i am getting a error as Configuration error: unknown for the MDM adapter which is sender. Kindly let me know what can be the issue. It will be of great help Best

  • HP Business Inkjet 2800 Printing Magenta Instead of Red

    Hi, We've got an HP Business Inkjet 2800 in the office that is printing magenta instead of red. I'm printing from Windows XP. I've aligned the cartridges and cleaned the cartridges, and still haven't been able to solve the problem. Any suggestions? T

  • Adobe Flash Player 10 download not working.

    I have downloaded Flash player 10 with no success in using it. I have gone to the 32 bit process with same result. I used to be able to run things on here. Was that a old version? Why didn't that old version stay? How do I get it back?  Please advise

  • Pages on iPhone will not rotate

    I just installed Pages on my iPhone. I can't get it to rotate. Is there a way to do this? Thanks

  • TS1965 I can't find iSync

    It keeps telling me to open iSync so that I can sync my address books.  I have no iSync.  It's not in my apps.  It's not on my computer.  Can't find where to download it.