I made simple test to measure execution speed of ArcSDE ST_xxx functions on different platforms. The winner in this test is small noname windows server which is twice faster than AIX server. Procedure execution time on Windows is 2 seconds on AIX 4 seconds. Windows environment is twice faster.
Is there any explanation for this behavior ?
Test script
set timing on;
DECLARE
counter INTEGER := 2;
pov number;
BEGIN
FOR counter IN 1..1500 LOOP
SELECT sde.st_area(sde.st_geometry ('POLYGON (( 411008.71460000 4882616.50360000, 411005.20060000 4882619.67950000, 411003.73240000
4882621.00760000, 411000.85260000 4882625.33210000, 410995.91110000 4882618.18640000, 410989.01930000 4882611.21530000, 410977.44560000
4882595.75050000, 410962.63320000 4882575.95560000, 410970.59060000 4882567.36640000, 411005.47230000 4882604.73780000, 411010.73030000
4882608.94600000, 411013.15940000 4882612.48560000, 411008.71460000 4882616.50360000))',5)) into pov from dual;
END LOOP;
END;
/
Here are configurations of both environments:
Development environment
windows 2003 server 32 bit (intel core 2 QUAD @6600@2.4GHz)
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
ArcSDE Version 9.2
ArcSDE Server Build for Oracle10g Build 1206
Listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)(ENVS="EXTPROC_DLLS=ONLY:C:\arcgis\ArcSDE\ora10gexe\bin\st_shapelib.dll")
Test environment
IBM Power 6, 4 CPU 4,2 GHz 64 bit , aix 5.3.9
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 64 bit
ArcSDE Version 9.2
ArcSDE Server Build for Oracle10g Build 1271
Listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/app/oracle/product/10g/Db_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=/opt/oracle/app/oracle/product/10g/Db_1/lib/libst_shapelib_64.so")
)
)