Last updated on AUGUST 05, 2014
Applies to:Oracle Spatial and Graph - Version 184.108.40.206 and later
Information in this document applies to any platform.
Queries with sod_relate function are very slow in production environment taking more than 30 minutes. There are around 9 million records.
In our test environment I created a table with only 2 entries and even this takes 5 minutes
SQL> select /*+ ordered */ a.woe_id from vdsilva.spatial_1 b, vdsilva.spatial_1 a where a.woe_id=28289488 and b.woe_id=24865690 and sdo_relate(a.shape,b.shape, 'mask=covers+contains') ='TRUE';
no rows selected
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms