Locator is “Spatial Lite” if you wish, and costs nothing. It can be installed in Standard or Enterprise Editions with no additional licensing costs. You cannot do everything in Locator that you can in Spatial - but what do you expect for free? ;-)
To install Locator you need to be aware that things changed at 11g, so what used to work on 10g no longer does on 11g and can lead to you having a huge mess of objects and types to hunt down and remove from your SYS account - ask me how I know!
Note: If you have already installed Oracle Multimedia, the MDSYS
user will already exists. In this case, simply skip the create user command in the following.
|
|
You can read the details about Locator in the file $ORACLE_HOME/md/doc/README_LOCATOR.txt
- but don’t expect too much assistance, it doesn’t even mention how to install it!
You won’t be able to find Locator in DBA_REGISTRY
nor will you be able to find it in V$OPTION
either.
|
|
You can see that Locator doesn’t turn up in the output - that’s because it’s not an option, unlike Spatial.
My Oracle Support (MOS) has a document that explains how to detect if Locator is installed. The document id is 357943.1. Unfortunately, the process explained doesn’t work. Sigh.
You cannot even assume Locator is installed if Spatial is not installed and you have located a schema named MDSYS
which owns objects, because installing Oracle Multimedia creates the MDSYS
user if it is not there already.
Installing Spatial requires that you are running Enterprise Edition and that you didn’t deselect it when installing the software originally. If you did, you need to re-run the installer and when you see the Enterprise Options
button, click it and select the Spatial component.
If you don’t do this then the file catmd.sql
and it’s associated helpers, will not be copied to $ORACLE_HOME/md/admin
.
Spatial costs extra dosh and must be licensed separately from your Enterprise Edition software.
|
|
You can read the details about Spatial in the file $ORACLE_HOME/md/doc/README.txt
.
As with Locator, you won’t find Spatial in DBA_REGISTRY
so, as before, you must look in V$OPTION
.
|
|