Comparing ST_GEOMETRY with SDEBINARY is a rigged fight. LONG RAW is much faster than the LOB family of types. The format of the points BLOB in ST_GEOMETRY and SDELOB/SDEBINARY is exactly the same, so this isn't an "unpacking" issue, just inherent performance of the underlying RDBMS BLOB type.Given that ST_GEOMETRY often out-performs SDELOB (due to elimination of a table and the potential for inline storage), and given the instability of LONG RAW at 10gR2 (it's deprecated,so sites with difficulty have no recourse) and lack of availability at 11g, an ST_GEOMETRY default type makes good sense.I had similar optimizer issues with SDO_GEOMETRY types, and found that a view against thetable with an indexing hint in the view addressed full table scan issues. I've never reproduced the optimizer issue with ST_GEOMETRY, so I don't know if the same workaround is applicable.- V
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.