http://support.esri.com/en/knowledgebase/techarticles/detail/38823
系统环境在ArcSDE9.3.1和ArcSDE10时候使用Oracle11.2.0.1 执行对ST_Geometry的查询时,报Ora-28579错误,这个错误在以前用户提的也比较多,而且老是属于那种偶尔碰到的错误。
SELECT objectid,
sde.st_intersection(shape,
(SELECT shape
FROM parcels
WHERE id = 4 AND cycle_type = '1')) AS shape
FROM parcels
WHERE sde.st_intersects(shape,
(SELECT shape
FROM parcels
WHERE id = 4 AND cycle_type = '1')) = 1;
select objectid,
*
ERROR at line 1:
ORA-28579: network error during callback from external procedure agent
ORA-06512: at "SDE.ST_GEOMETRY_SHAPELIB_PKG", line 682
ORA-06512: at "SDE.ST_GEOMETRY_OPERATORS", line 2496
其实这是Oracle的一个Bug
Oracle Bug: 8507458 "ODCIindexstart dump on select on a column which has domain index created."
用户打上Oracle补丁 升级到11.2.0.2即可解决该问题了