参考运行结果
SQL> select Count(*) from ghh t where sde.st_within(t.shape, sde.st_buffer( sde.st_multipoint('multipoint(49
03342.81825, 489497.07 303822.42475,489250.1075 303778.5025)', t.shape.srid), 300)) = 1;
已用时间: 00: 02: 35.34
执行计划
----------------------------------------------------------
Plan hash value: 223515074
---------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
---------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1 | 2311 | 69 (2)| 00:00:01 |
| 1 | SORT AGGREGATE | | 1 | 2311 | | |
|* 2 | TABLE ACCESS FULL| GHH | 144 | 324K| 69 (2)| 00:00:01 |
---------------------------------------------------------------------------
Predicate Information (identified by operation id):
---------------------------------------------------
2 - filter("SDE"."ST_WITHIN"("T"."SHAPE","SDE"."ST_BUFFER"("ST_MULTIP
OINT"."ST_MULTIPOINT"('multipoint(490021.7775 303342.81825, 489497.07
303822.42475,489250.1075 303778.5025)',"T"."SYS_NC00016$"),300))=1)
Note
-----
- dynamic sampling used for this statement
统计信息
----------------------------------------------------------
108342 recursive calls
2284480 db block gets
339330 consistent gets
53 physical reads
0 redo size
344 bytes sent via SQL*Net to client
360 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
1 sorts (memory)
0 sorts (disk)
1 rows processed
|