ORA-13011: value is out of range During Create a Spatial Index.

Hi,

Sometimes you can get  “ORA-13011: value is out of range ” error during create a spatial index.

 

Details of error are as follows.

ORA-13011: value is out of range
Cause: A specified dimension value is outside the range defined for that dimension.
Action: Make sure that all values to be encoded are within the defined dimension range.
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13200: internal error [ROWID:AAAFXYAADAAABxyAAD] in spatial indexing.
ORA-13206: internal error [] while creating the spatial index
ORA-13011: value is out of range
ORA-00600: internal error code, arguments: [kope2upic014], [], [], [], [],

 

 

You should increase the spatial extent / bounding box of the table in user_sdo_geom_metadata as follows.

e.g.


from


INSERT INTO USER_SDO_GEOM_METADATA VALUES (
'REGULATEDUSE',
'SHAPE1',
MDSYS.SDO_DIM_ARRAY(
MDSYS.SDO_DIM_ELEMENT('Longitude', 0, 200000, .05),
MDSYS.SDO_DIM_ELEMENT('Latitude', 0, 500000, .05)
),
32614
);

to


delete USER_SDO_GEOM_METADATA where table_name='REGULATEDUSE' and column_name='SHAPE1';

INSERT INTO USER_SDO_GEOM_METADATA VALUES (
'REGULATEDUSE',
'SHAPE1',
MDSYS.SDO_DIM_ARRAY(
MDSYS.SDO_DIM_ELEMENT('Longitude', 0, 4000000, .05),
MDSYS.SDO_DIM_ELEMENT('Latitude', 0, 9000000, .05)
),
32614
);
commit;


 

Do you want to learn Oracle Database for Beginners, then read the following articles.

https://ittutorial.org/oracle-database-19c-tutorials-for-beginners/

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply

Your email address will not be published. Required fields are marked *