ORA-13236 ORA-13234 ORA-29400 ORA-00942 Snapshot too old or Recursive fetch error] in Oracle

Hi,

If you migrate and upgrade Oracle database with Spatial Component, you can get ORA-29903 ORA-13236 ORA-13234 ORA-29400 ORA-00942  errors.

Oracle spatial is being used especially in geometric and map objects. If you are using map and geometric objects on your application, probably you should use Oracle spatial.

For Example, Following query is pointing specific location on map.

 

 

select * from msdeveci.map where scale = 1000 and 
SDO_CONTAINS(geoloc, SDO_GEOMETRY('POINT(420810.999158298 4450531.56836373)',2320)) = 'TRUE';

 

When you migrate and Upgrade Oracle database from 11g to 12c, you can get following error during execution above query.

 

 

select * from msdeveci.map where scale = 1000 and 
SDO_CONTAINS(geoloc, SDO_GEOMETRY('POINT(420810.999158298 4450531.56836373)',2320)) = 'TRUE';

ORA-29903: error in executing ODCIIndexFetch() routine
ORA-13236: internal error in R-tree processing: []
ORA-13236: internal error in R-tree processing: [Snapshot too old or Recursive fetch error]
ORA-13234: failed to access R-tree-index table [MDRT table]
ORA-29400: data cartridge error
ORA-00942: table or view does not exist

 

To solve this problem, You should check Oracle spatial option if it is valid or not with following article.

https://ittutorial.org/2019/03/18/oracle-12c-list-components-installed/

 

 

If Oracle spatial is invalid then make it valid with DBCA tool. Run DBCA and choose Configure database, and select Oracle spatial and Oracle text option.

 

When Oracle spatial is valid, problem will be solved.

 

 

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.

One comment

  1. I’m impressed, I must say. Really rarely do I encounter a blog that?s both educative and entertaining, and let me tell you, you have hit the nail on the head. Your idea is outstanding; the issue is something that not enough people are speaking intelligently about. I am very happy that I stumbled across this in my search for something relating to this.

Leave a Reply

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