Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 62 Insurance
- 536.1K On-Premises Infrastructure
- 138.2K Analytics Software
- 38.6K Application Development Software
- 5.7K Cloud Platform
- 109.4K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71.1K Infrastructure Software
- 105.2K Integration
- 41.6K Security Software
Materialized Views and Spatial indexing in PL/SQL

555469
Member Posts: 1
Hi
I've generated some PL/SQL to generate a range of MVs based upon a single spatial table. Each MV will represent a filter based upon a utility domain (gas, sewer, water etc) as this will speed up the rendering in Geoserver.
My code generates the MV and inserts the appropriate metadata into user_sdo_geom_metadata.
However, when I attempt to generate the spatial index using this syntax:
execute immediate 'create index VST_'||t.ASSETDOMAIN||'_SG on VST_'||t.ASSETDOMAIN||' (geometry) indextype is mdsys.spatial_index';
I get an ora-00942: table or view does not exist error.
I've no idea what's the problem
Can anyone help?
many thanks
Ant
I've generated some PL/SQL to generate a range of MVs based upon a single spatial table. Each MV will represent a filter based upon a utility domain (gas, sewer, water etc) as this will speed up the rendering in Geoserver.
My code generates the MV and inserts the appropriate metadata into user_sdo_geom_metadata.
However, when I attempt to generate the spatial index using this syntax:
execute immediate 'create index VST_'||t.ASSETDOMAIN||'_SG on VST_'||t.ASSETDOMAIN||' (geometry) indextype is mdsys.spatial_index';
I get an ora-00942: table or view does not exist error.
I've no idea what's the problem
Can anyone help?
many thanks
Ant
This discussion has been closed.