Hallo,
ich habe folgendes Problem beim Anlegen eines Spatial Indexes in Oracle10.2.0.2. für einen Rat bin ich dankbar.
danke
Jens
--delete from user_sdo_geom_metadata where table_name = 'DOP_KUNSTWERK';
--drop table DOP_KUNSTWERK cascade constraint PURGE;
create table DOP_KUNSTWERK (FEATID number(32), GEOMETRY MDSYS.SDO_GEOMETRY, constraint DOP_KUNSTWERK_PK primary key (FEATID) );
--Tabelle wurde erstellt.
insert into DOP_KUNSTWERK (FEATID,GEOMETRY) values (1,SDO_GEOMETRY(2001, 82027, SDO_POINT_TYPE(4446443.77, 5971200.75, 0), NULL, NULL));
--1 Zeile wurde erstellt.
insert into DOP_KUNSTWERK (FEATID,GEOMETRY) values (2,SDO_GEOMETRY(2001, 82027, SDO_POINT_TYPE(4446305.94, 5971037.5, 0), NULL, NULL));
--1 Zeile wurde erstellt.
commit;
insert into user_sdo_geom_metadata(table_name,column_name,dimi nfo) values ('DOP_KUNSTWERK','GEOMETRY',mdsys.sdo_dim_array(md sys.sdo_dim_element('X',4400000,4500000,0.001),mds ys.sdo_dim_element('Y',5900000,6000000,0.001)));
--1 Zeile wurde erstellt.
commit;
create index DOP_KUNSTWERK_SIND on DOP_KUNSTWERK (GEOMETRY) indextype is mdsys.spatial_index PARAMETERS ('layer_gtype=POINT');
*
FEHLER in Zeile 1:
ORA-29855: Fehler bei Ausf³hrung der Routine ODCIINDEXCREATE
ORA-13249: internal error in Spatial index: [mdidxrbd]
ORA-13249: Multiple entries in sdo_index_metadata table
ORA-06512: in "MDSYS.SDO_INDEX_METHOD_10I", Zeile 10
ich habe folgendes Problem beim Anlegen eines Spatial Indexes in Oracle10.2.0.2. für einen Rat bin ich dankbar.
danke
Jens
--delete from user_sdo_geom_metadata where table_name = 'DOP_KUNSTWERK';
--drop table DOP_KUNSTWERK cascade constraint PURGE;
create table DOP_KUNSTWERK (FEATID number(32), GEOMETRY MDSYS.SDO_GEOMETRY, constraint DOP_KUNSTWERK_PK primary key (FEATID) );
--Tabelle wurde erstellt.
insert into DOP_KUNSTWERK (FEATID,GEOMETRY) values (1,SDO_GEOMETRY(2001, 82027, SDO_POINT_TYPE(4446443.77, 5971200.75, 0), NULL, NULL));
--1 Zeile wurde erstellt.
insert into DOP_KUNSTWERK (FEATID,GEOMETRY) values (2,SDO_GEOMETRY(2001, 82027, SDO_POINT_TYPE(4446305.94, 5971037.5, 0), NULL, NULL));
--1 Zeile wurde erstellt.
commit;
insert into user_sdo_geom_metadata(table_name,column_name,dimi nfo) values ('DOP_KUNSTWERK','GEOMETRY',mdsys.sdo_dim_array(md sys.sdo_dim_element('X',4400000,4500000,0.001),mds ys.sdo_dim_element('Y',5900000,6000000,0.001)));
--1 Zeile wurde erstellt.
commit;
create index DOP_KUNSTWERK_SIND on DOP_KUNSTWERK (GEOMETRY) indextype is mdsys.spatial_index PARAMETERS ('layer_gtype=POINT');
*
FEHLER in Zeile 1:
ORA-29855: Fehler bei Ausf³hrung der Routine ODCIINDEXCREATE
ORA-13249: internal error in Spatial index: [mdidxrbd]
ORA-13249: Multiple entries in sdo_index_metadata table
ORA-06512: in "MDSYS.SDO_INDEX_METHOD_10I", Zeile 10
Comment