Error creating text index
Hi,
i'm using ORACLE 8.1.5 Standard edition
and i've tried to execute the following
statements, but an error occured at the
create index statement.
Anyone knows why?
SQL> create table docs (id number primary key, text varchar2(80));
Tabelle wurde angelegt.
SQL> insert into docs values ( 1, 'first document');
1 Zeile wurde erstellt.
SQL> insert into docs values ( 2, 'second document');
1 Zeile wurde erstellt.
SQL> commit;
Transaktion mit COMMIT abgeschlossen.
SQL> create index doc_index on docs(text) indextype is ctxsys.context;
create index doc_index on docs(text) indextype is ctxsys.context
FEHLER in Zeile 1:
ORA-29855: Fehler bei Ausf|hrung der Routine ODCIINDEXCREATE
ORA-20000: ConText error:
DRG-11422: Initialisierung der linguistischen Dienste schlug fehl
DRG-00100: Interner Fehler; Argumente: [52100],[drxf.c],[707],[gxtopen],[0]
ORA-06512: in "CTXSYS.DRUE", Zeile 122
ORA-06512: in "CTXSYS.TEXTINDEXMETHODS", Zeile 34
ORA-06512: in Zeile 1
I fixed the same proble today.
Set your client NLS_LANG to the same value as on your database. your database might run with "NLS_LANG=american_america.we8iso8859p1".
If you want to use german stopwords etc. lokk at the script "drdefd.sql". Replace all "DEFAULT_" settings with your keyword (e.g. "GERMAN_"). Run the script. Now you can create a index with german parameters:
create index a on b(c)
indextype is ctxsys.context
parameters ('lexer ctxsys.german_lexer stoplist ctxsys.german_stoplist wordlist ctxsys.german_wordlist')
null
Similar Messages
-
End-of-file on communicaton channel when creating text index on xmltype tab
Hi,
I'm trying to create an oracle text index on a table of xmltype. This table is using an xml schema and the table is using object relational storage.
I have another table that is a relational table that has an xml type column, and I was able to create the text index on that xmltype column without any problems.
Here's the create index statement and the error:
1 create index table_one_text_index
2 on table_one(object_value)
3 indextype is ctxsys.context
4 parameters
5* ('section group ctxsys.path_section_group')
6 /
create index table_one_text_index
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Process ID: 27137
Session ID: 65 Serial number: 24961
Any ideas? I've looked through the oracle text and the oracle xml db documentation and the forums and haven't found any ideas about what's causing the problem or how to fix it.
Thank youIs the data in the XMLType columns the same in both cases.. Can you provide a testcase ? Which DB release are you working with
-
End-of-file on communicaton channel when creating text index on xmltype ta
Hi,
I'm trying to create an oracle text index on a table of xmltype. This table is using an xml schema and the table is using object relational storage.
I have another table that is a relational table that has an xml type column, and I was able to create the text index on that xmltype column without any problems.
Here's the create index statement and the error:
1 create index table_one_text_index
2 on table_one(object_value)
3 indextype is ctxsys.context
4 parameters
5* ('section group ctxsys.path_section_group')
6 /
create index table_one_text_index
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Process ID: 27137
Session ID: 65 Serial number: 24961
Any ideas? I've looked through the oracle text and the oracle xml db documentation and the forums and haven't found any ideas about what's causing the problem or how to fix it.
Thank youA 3113 error indicates the Oracle background process has crashed. This almost always indicates a bug. Suggest you take a look at your database alert log file, and report this to Oracle Support.
-
Problem in creating text index
While creating index on XMLType column
i am getting this error
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-50857: oracle error in driddl.policycreate
ORA-01400: cannot insert NULL into ("CTXSYS"."DR$INDEX"."IDX_TEXT_NAME")
ORA-06512: at "CTXSYS.DRUE", line 157
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 186
Can anybody help me out to figure whats the problem
regards
- Shweta.Hi Shweta,
Can you tell me the type of index you are creating? Give the query you are using to create the index.
We have written a sample called 'Survey Sample Application' in which we created CTXXPATH index on a XMLType column.
You can download the sample from
http://otn.oracle.com/sample_code/tech/xml/survey/content.html
Document on the index used is present at
http://otn.oracle.com/sample_code/tech/xml/survey/docs/AboutOracleXMLDB.html
I hope this helps you in solving the problem.
Regards,
Anupama Majety -
APEX 3.0 - Online Help Search Error on Text Index
When I click on Help and then Find and attempt to search the online help the following error is returned
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA-20000: Oracle Text error: DRG-10700: preference does not exist: CTXSYS.DEFAULT_LEXER
Error creating online help index.
We are running:
Application Express 3.0 on Oracle 10g Enterprise Edition Rel 10.2.0.3.0 - 64 bit with partitioning, OLAP and Data Mining Options
Message was edited by:
CFrishettHi CFrishett,
Try searching the forum for DRG-10700. It sounds like there is a problem with your Oracle Text installation.
Regards Pete -
SDO_GEOM error creating spatial index
Hi,
We are attempting to create a spatial index on column, GEOM, for a transit lines table but got the error "SDO_Geometry is not a valid column type for use in a text index". The source data is a shapefile. We used both FME and an Oracle conversion tool to convert the shapefiles into an Oracle table (both methods led to the same error). We also created the metadata and validated the geometry.
Has anyone had this issue?
Thanks,
ReneeIf you have issues, best is to copy also your sql statements and error messages to your post.
Have you tried creating your index with the following syntax?
CREATE INDEX your_index_name ON your_table_name(geom)
INDEXTYPE IS MDSYS.SPATIAL_INDEX -
Error creating intermedia index (8.1.5)
Hi!
The following error occours while I try to create an index with
indextype
"ctxsys.context":
create index idx_name on user.table_name(field_name) indextype
is ctxsys.context;
ORA-03113: end-of-file on communication channel
The intermedia text installation was succesful. Does someone
have an idea?
Thanks!!!
Best regards
Andri KlosHi Andre,
when you have the possibilty to use an 8.1.7 then do this,
because Intermedia Text works there better.
For your problem, please set your own preferences and try again:
exec CTX_DDL.drop_preference('MY_LEXER');
exec CTX_DDL.create_preference('MY_LEXER','BASIC_LEXER');
exec CTX_DDL.set_attribute('MY_LEXER','ALTERNATE_SPELLING',
'GERMAN');
exec CTX_DDL.set_attribute('MY_LEXER','BASE_LETTER','YES');
exec CTX_DDL.set_attribute('MY_LEXER','MIXED_CASE', 'NO');
exec CTX_DDL.set_attribute('MY_LEXER','INDEX_THEMES','NO');
exec CTX_DDL.set_attribute('MY_LEXER','INDEX_TEXT', 'YES');
exec CTX_DDL.set_attribute('MY_LEXER','COMPOSITE', 'GERMAN');
exec ctx_ddl.Drop_Preference ('MY_FILTER');
exec ctx_ddl.Create_Preference ('MY_FILTER','NULL_FILTER');
exec ctx_ddl.drop_section_group ('MY_SECTION');
exec ctx_ddl.create_section_group
('MY_SECTION','NULL_SECTION_GROUP');
create index <indexname> on <table> (<column>)
indextype is ctxsys.context
parameters ('lexer MY_LEXER
filter MY_FILTER
section group MY_SECTION
memory 20M'); -
Error creating Intermedia Index
I've struggled through the listner configurations and it appears I'm beyond that. However I'm receiving the following error when trying to create an index
create index doc_index on docs(text) indextype is ctxsys.context
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: ConText error:
DRG-12504: stoplist CTXSYS.DEFAULT_STOPLIST does not exist
ORA-06512: at "CTXSYS.DRUE", line 122
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 34
ORA-06512: at line 1
It says CTXSYS.DEFAULT_STOPLIST does not exist. Anyone seen this? Or should I try to reinstall the intermedia options.
-- dtLoad the default stoplist by loading the sql script appropriate for your language/locale. You can find the scripts in ctx/admin/defaults/
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by dtrappil:
I've struggled through the listner configurations and it appears I'm beyond that. However I'm receiving the following error when trying to create an index
<HR></BLOCKQUOTE>
null -
Error creating intermedia index in Portal
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
nullSeems like a package owenership problem.
I suggest to post the same message in the Portal forum. -
Error synchronizing text index in oracle 10g
Hi,
I am getting errors while trying to synchronize the text index on a xmltype table.
SQL> exec ctx_ddl.sync_index('CTX_INDEX');
BEGIN ctx_ddl.sync_index('CTX_INDEX'); END;
ERROR at line 1:
ORA-20000: Oracle Text error:
DRG-50857: oracle error in drsxsopen
ORA-00904: "BASE"."SYS_NC00162$"."GETCLOBVAL": invalid identifier
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.CTX_DDL", line 539
ORA-06512: at line 1
I will appreciate it if someone can help me figure out a solution.
(Oracle database version - 10.2.0.1)
Thanks,
UmaTesting with 10.2.0.2.0 I do not see the problem. Is there something significanly different between your environement and the one in this testcase
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Feb 28 16:16:54 2006
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
SQL> spool createTextIndex.log
SQL> --
SQL> connect &1/&2
Connected.
SQL> --
SQL> desc ENTRY_TABLE
Name Null? Type
TABLE of SYS.XMLTYPE(XMLSchema "http://www.uniprot.org/support/docs/uniprot.xsd" Element "entry") STORAGE Object-relational TYPE "ENTRY_T"
SQL> /
SP2-0103: Nothing in SQL buffer to run.
SQL> create index UNIPROT_FULL_TEXT
2 on ENTRY_TABLE e (object_value)
3 indextype is ctxsys.context
4 parameters ( 'section group ctxsys.NULL_SECTION_GROUP' )
5 /
Index created.
SQL> quit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Feb 28 16:16:58 2006
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
SQL> spool loadFile_&3..log
SQL> set trimspool on
SQL> connect &1/&2
Connected.
SQL> --
SQL> set timing on
SQL> --
SQL> declare
2 result boolean;
3 begin
4 result := dbms_xdb.createResource('/home/&1/&3',
5 bfilename(USER,'&3'),nls_charset_id('AL32UTF8'));
6 end;
7 /
old 4: result := dbms_xdb.createResource('/home/&1/&3',
new 4: result := dbms_xdb.createResource('/home/BASE/testcase.xml',
old 5: bfilename(USER,'&3'),nls_charset_id('AL32UTF8'));
new 5: bfilename(USER,'testcase.xml'),nls_charset_id('AL32UTF8'));
PL/SQL procedure successfully completed.
Elapsed: 00:00:00.70
SQL> commit
2 /
Commit complete.
Elapsed: 00:00:00.08
SQL> quit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Feb 28 16:16:59 2006
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
SQL> spool testcase.log
SQL> --
SQL> connect &1/&2
Connected.
SQL> --
SQL> --
SQL> -- Testcase code here
SQL> --
SQL> set trimspool on
SQL> set autotrace on explain
SQL> set timing on
SQL> set pages 0 lines 140 long 100000
SQL> --
SQL> select count(*)
2 from ENTRY_TABLE
3 /
1
Elapsed: 00:00:00.21
Execution Plan
Plan hash value: 4248071425
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 20 | 3 (0)| 00:00:01 |
| 1 | SORT AGGREGATE | | 1 | 20 | | |
|* 2 | TABLE ACCESS FULL| ENTRY_TABLE | 1 | 20 | 3 (0)| 00:00:01 |
Predicate Information (identified by operation id):
2 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype('<privilege
xmlns="http://xmlns.oracle.com/xdb/acl.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xs
d"><read-properties/><read-contents/></privilege>'))=1)
Note
- dynamic sampling used for this statement
SQL> select object_value
2 from ENTRY_TABLE
3 where existsNode (OBJECT_value, '/entry[accession/text()="P19084"]','xmlns="http://uniprot.org/uniprot"')>0
4 /
*** Object defn.s out of sync w/ data
***<entry xmlns="http://uniprot.org/uniprot" dataset="Swiss-Prot" created="1990-11-01" modified="2006-02-07" version="45">
<accession>P19084</accession>
<name>11S3_HELAN</name>
PLTLWANRYQLSREEAQQLKFSQRETVLFAPSFSRGQGIRASR
</sequence>
</entry>
Elapsed: 00:00:03.13
Execution Plan
Plan hash value: 4171466134
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 10115 | 804 (1)| 00:00:10 |
| 1 | NESTED LOOPS | | 1 | 10115 | 804 (1)| 00:00:10 |
| 2 | SORT UNIQUE | | 1 | 2016 | 802 (0)| 00:00:10 |
|* 3 | INDEX FAST FULL SCAN | ACCESSION_DATA | 1 | 2016 | 802 (0)| 00:00:10 |
|* 4 | TABLE ACCESS BY INDEX ROWID| ENTRY_TABLE | 1 | 8099 | 1 (0)| 00:00:01 |
|* 5 | INDEX UNIQUE SCAN | ACCESSION_LIST | 1 | | 0 (0)| 00:00:01 |
Predicate Information (identified by operation id):
3 - filter("ACCESSION_TABLE"."SYS_XDBBODY$"='P19084')
4 - filter(SYS_CHECKACL("ACLOID","OWNERID",xmltype('<privilege
xmlns="http://xmlns.oracle.com/xdb/acl.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
http://xmlns.oracle.com/xdb/acl.xsd DAV:http://xmlns.oracle.com/xdb/dav.xsd"><read-prop
erties/><read-contents/></privilege>'))=1)
5 - access("NESTED_TABLE_ID"="ENTRY_TABLE"."SYS_NC0001100012$")
Note
- dynamic sampling used for this statement
SQL> quit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL*Plus: Release 10.2.0.2.0 - Production on Tue Feb 28 16:17:03 2006
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
SQL> spool syncTextIndex.log
SQL> --
SQL> connect &1/&2
Connected.
SQL> --
SQL> exec ctx_ddl.sync_index('UNIPROT_FULL_TEXT')
PL/SQL procedure successfully completed.
SQL> /
SP2-0103: Nothing in SQL buffer to run.
SQL> quit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
bash-2.05b$Message was edited by:
mdrake -
Hi all.
I have a problem during the creation of a spatial index for a table column.
The metadata is in the USER_SDO_GEOM_METADATA VIEW, but Oracle throws the message:
ORA-29855: se ha producido un error en la ejecución de la rutina ODCIINDEXCREATE
ORA-13203: fallo al leer la vista USER_SDO_GEOM_METADATA
ORA-13203: fallo al leer la vista USER_SDO_GEOM_METADATA
ORA-06512: en "MDSYS.SDO_INDEX_METHOD_10I", línea 10
The code that i use to create the index is:
DELETE FROM USER_SDO_GEOM_METADATA;
INSERT INTO USER_SDO_GEOM_METADATA
VALUES (
'E011_CIUDADES',
'F011_GEO',
MDSYS.SDO_DIM_ARRAY(
MDSYS.SDO_DIM_ELEMENT('Longitud', -180, 180, 10), -- 10 meters tolerance
MDSYS.SDO_DIM_ELEMENT('Latitud', -90, 90, 10) -- 10 meters tolerance
8307 -- SRID for 'Longitude / Latitude (WGS 84)' coordinate system
CREATE INDEX IX_SPATIAL_011_GEO
ON SYSTEM.E011_CIUDADES(F011_GEO)
INDEXTYPE IS MDSYS.SPATIAL_INDEX
PARAMETERS ('tablespace=ASOUSU');
I will apreciate any help. Thanks.This is very bad:
CREATE INDEX IX_SPATIAL_011_GEO ON SYSTEM.E011_CIUDADES(F011_GEO)
INDEXTYPE IS MDSYS.SPATIAL_INDEX PARAMETERS ('tablespace=ASOUSU');It means you've stored spatial data in the SYSTEM user's schema, which, as noted, is mucho malo. Either that, or it is a typo and that is why you got: fallo al leer la vista USER_SDO_GEOM_METADATA -
ORA-29855 - Error creating Spatial Index using a Stored Procedure
Hi
I am using Oracle 10gR2 database and I have written a stored procedure to create spatial index. But when i execute this function i get the following error message.
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-13249: Error in R-tree: [mdrcrtscrt]
ORA-13231: failed to create index table [MDRT_217C1$] during R-tree creation
ORA-13249: Stmt-Execute Failure: CREATE TABLE FGDABZ40.MDRT_217C1$ (NODE_ID NUMBER, NODE_LEVEL NUMBER, INFO BLOB) LOB (INFO) STORE AS (CACHE) NOLOGGING PCTFREE 2
ORA-29400: data cartridge error
ORA-01031: insufficient privileges
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10
ORA-06512: at line 1
ORA-06512: at "FGDABZ40.PKG_PSSDBE_APPLICATION", line 298
ORA-06512: at line 17
The tables that i am passing are registered in metadata and I am able to create indexes directly in sql plus. But when i try to create using this stored procedure, it fails.
it should be possible to create indexes using a generic function. Has any faced a similar problem?
regards
samHi,
I am having a same error on Oracle 10gR2 database. When I execute the same statement in sqlplus, it works. But it gives this error when I call the procedure which has this create spatial index statement.
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-13249: Error in R-tree: [mdrcrtscrt]
ORA-13231: failed to create index table [MDRT_20CDA$] during R-tree creation
ORA-13249: Stmt-Execute Failure: CREATE TABLE "SDOMGR".MDRT_20CDA$ (NODE_ID NUMBER, NODE_LEVEL NUMBER, INFO BLOB) LOB (INFO) STORE AS (CACHE) NOLOGGING PCTFREE 2
ORA-29400: data cartridge error
ORA-01031: i
Any help will be appreciated.
Thanks,
Sri -
Error creating Spatial Index - ORA-29855
I have a DB in 11g that I used SQL Developer to copy to my local machine, 10g installation. I copied the same kind of databases around a lot but this is the first time I'm getting this error, when creating the spatial index.
For this table I only copy the DDL and then run a .sql file with lot's of inserts and now I'm trying to create the spatial index.
So I tried:
CREATE INDEX location_spatial_idx ON location(locationcoordinates) INDEXTYPE IS MDSYS.SPATIAL_INDEX;
And got:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13203: failed to read USER_SDO_GEOM_METADATA view
ORA-13203: failed to read USER_SDO_GEOM_METADATA view
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10
My DB is:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
I tried running the create index as SYSDBA with no luck.
select * from mdsys.sdo_index_metadata_table -> empty for this user owner
select sdo_index_name from user_sdo_index_metadata -> empty
SELECT * FROM SDO_INDEX_METADATA -> empty
So... any clue on what I'm doing wrong?user10768987 wrote:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13203: failed to read USER_SDO_GEOM_METADATA view
So... any clue on what I'm doing wrong?I would think that Oracle is quite clearly telling you what is wrong here: Your table is not in the metadata.
If you simply create the DDL for the table and create the insert statements from SQL Developer, it won't create the insert into user_sdo_geom_metadata....
And in order to create a spatial index, the table MUST be in the user_sdo_geom_metadata, whether you try to create the index as SYSDBA or as the owner of the table.
Regards,
Stefan
Edited by: Stefan Jager on Jun 4, 2013 9:14 AM -
Error creating spatial indexes
I'm using oracle 10g2.
I retrieve the following error message during spatial index creation:
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: internal error in R-tree processing: [failed to cluster in memory]
ORA-13232: failed to allocate memory during R-tree creation
ORA-13236: internal error in R-tree processing: [failed to allocate memory
4387752 (mdrtsalloc)]
ORA-04031: unable to allocate ORA-04031: unable to allocate 4387800 bytes of
shared memory ("large pool","unknown object","koh-kghu sessi","kpmalloc")
bytes of shared memory ("","","","")
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 10
I've already tried to increase memory, shared and large pool, actually I have the following settings:
Shared pool 500
Buffer cache 200
Large pool 200
Pool Java 20
I've already installed data and created spatial indexes on other machine correctly with the same data with less memory use, and I can't find any difference.
Could anybody help me?Andre,
I didn't think the , and ; in the sdo_geom_metadata would be causing the problem because he indicated that he could build indexes on other data - I assume he uses the same diminfo values for these as well. But, one can never be too sure!
But certainly, follow what the error messages indicate.
The Oracle Error message manual says:
"ORA-13232: failed to allocate memory during R-tree creation
Cause: This feature assumes a minimum of 64K memory for bulk creation.
Action: Create the index for a small subset of the data. Then, use transactional insert operations for the rest of the data."
The spatial manual says:
"Before you create a spatial index, be sure that the rollback segment size and the SORT_AREA_SIZE parameter value are adequate, as described in Section 4.1.1."
One way to change the sort area size is to alter your existing session before
executing the create index statement. So, from 4.1.1. this can be done via:
ALTER SESSION SET SORT_AREA_SIZE = 20000000;
Also, do what Andre suggests. On my laptop with 1G of memory as a matter of course I change the SGA from the default to being much larger.
regards
S -
Cannot create text index in partition table on Oracle 10g
I try to create context index in a table with 15 millions records. The table is divided 5 partitions and each patition has 3 millions records. When I create the context index in the table, the same error always arised. The follow are my work:
--First create my own lexer
begin
ctx_ddl.createperference('my_chinese_lexer','chinese_lexer');
end;
--Second create index
create index idx_part_text3 on tb_test_part(text3)
indextype is ctxsys.context local (
partition p1_ix,
partition p2_ix,
partition p3_ix ,
partition p4_ix,
partition p5_ix)
parameters('lexer my_chinese_lexer') parallel;
--error message
create index idx_part_text3 on tb_test_part(text3)
Error in 1 line:
ORA-12801: Parellel Query Server P000 send error signal
ORA-29855: Error on execute ODCIINDEXCREATE program
ORA-06510: PL/SQL: User Defined Error
ORA-06512: In "CTXSYS.DRIDISP", line 244
ORA-04030: Try to alloc 65548 Bytes (CTX PRM heap,draccbx:message buffer) Out of memory
ORA-06512: In "CTXSYS.DRIPARX", line 10
ORA-06512: In "CTXSYS.TEXTINDEXMETHODS", line 359
ORA-04030: Try to alloc 65548 Bytes (CTX PRM heap,draccbx:message buffer) Out of memory
ORA-06512: In "CTXSYS.DRUE", line 191
ORA-06512: In "CTXSYS.DRUE", line 49
ORA-06512: In "CTXSYS.DRUE", line 24
ORA-06512: In "CTXSYS.DRUE", line 186
ORA-06512: In "CTXSYS.DRVDDL", line 682
ORA-04030: Try to alloc 65548 Bytes (CTX PRM heap,draccbx:message buffer) Out of memory
ORA-04030: Try to alloc 65548 Bytes (CTX PRM heap,draccbx:message buffer) Out of memory
ORA-06512: In "CTXSYS.DRUE", line 191
ORA-06512: In "CTXSYS.DRUE", line 49
ORA-06512: In "CTXSYS.DRUE", line 24
ORA-06512: In "CTXSYS.DRVDDL", line 452
ORA-06510: PL/SQL: User Defined Error
BTW:
My oracle 10g run on linux AS3 box with 4xP4 and 6G Mem.
I set pga_aggregate_target=2200M, and at the beginning of creating index, the max pga alloced is about 1100M, but when one patition finished, the error arised and the max pga alloced suddenly reached 3500M. So in every times, the index status is always like below:
P1_ix usable
P2_ix Inprogress
P3_ix Inprogress
P4_ix Inprogress
P5_ix Inprogress
Thx for any help!Try to increase LARGE_POOL_SIZE.
PGA_AGGREGATE_TARGET is not only parameter that can meddle in parallel execution.
Looks like parallel execution parameters is not correctly set. Check it all, including PARALLEL_EXECUTION_MESSAGE_SIZE.
Maybe you are looking for
-
Hi, I'm currently living in Canada. I'm wondering if I buy an iPhone 3G and bring it to Switzerland and Italy with me if the GPS will work. I know it will have the GPS signal, but does the iPhone or Apple have maps of Europe?
-
How to convert the output of the report (program) to PDF file , Please HELP
Good Morning, ALL I have done a small program in ABAP that lets the employee enters his information. Once the emplyee enters the information and executes the program, I want the result to be saved in a PDF file (in any kind of format). I did try to d
-
Did BSP limit function call?
We have create a simple BSP application, there we call a function 'LANGUAGE_CODE_SAP_TO_ISO' first in a page. But if we call another function 'READ_TEXT' continuly, the later one never work anymore! Whatz up with our BSP? Our code in BSP application:
-
After_user_command or befor_user_command of a ALV
Hi, I have a report with ALV where I have both after_user_command and befor_user_command handled. The ALV is in edit mode. This events are triggered in my report for all standard buttons of a ALV Toolbar except buttons : "Add new row", "Append new ro
-
Green lines on the edge of my video
Hello, I have a problem with premiere pro cs6 every time I export my video I get weird green lines on the left and bottom sides of my video. Does anyone know what might be the problem? I'm working with different aspect ratios and frame rates in my ti