Home » Server Options » Spatial » Syntax for Creating Local spatial index on Partioned table. (Oracle 11g)
Syntax for Creating Local spatial index on Partioned table. [message #577222] |
Wed, 13 February 2013 09:26  |
gentleman777us
Messages: 122 Registered: April 2005
|
Senior Member |
|
|
Iam using the following syntax to create LOCAL spatial index on partitioned table.
CREATE INDEX EPLC.RESERV_P_GEOX ON EPLC.RESERVOIR
(GEOM)
INDEXTYPE IS MDSYS.SPATIAL_INDEX
[PARAMETERS('LAYER_GTYPE=POINT,TABLESPACE=EPLC_IDX')]LOCAL
[(PARTITION P_NORTH
PARAMETERS('LAYER_GTYPE=POINT,TABLESPACE=EPLC_IDX')
, PARTITION P_SOUTH
PARAMETERS('LAYER_GTYPE=POINT,TABLESPACE=EPLC_IDX')]
)]
It gives following error:
sql error: ora-02158 invalid create index option
*cause: An option other than COMPRESS, NOCOMPRESS,PCTFREE,INITRANS,
MAXTRANS,STORAGE,TABLESPACE,PARALLEL, NOPARALLEL,RECOVERABLE,UNRECOVERABLE,
LOGGING,NOLOGGING,LOCAL OR GLOBAL was specified.
Action: Choose one of the valid create index option
Looks like it did not like LAYER_GTYPE=POINT.
Any help to fix it is greatly appreciated.
Thanks
|
|
|
|
|
|
Goto Forum:
Current Time: Sun May 04 01:55:11 CDT 2025
|