The following sketches the prerequisites of using Oracle Database Semantic Technologies, see Semantic Technologies Center and Oracle® Database Semantic Technologies Developer’s Guide as an overview and as the developer’s guide respectively, in your databse applications.
The procedure has been executed on a fresh Oracle 11R2.0.1 running on x64 Windows. The semantic technology stack in fact requires an enterprise edition of Oracle, featuring the partitioning and the spatial options as well as the underlying components XDB, JAVAVM and ORDIM to be installed … and licenced. Do check in advance whether this basement is affordable against your business budget because according to the current Oracle global price list by processor, an enterprise edition is around k$ 47, adding partioning by k$ 11 and spatial by k$ 17 plus updates and support. Do note also, that the standard and the standard one editions of Oracle, offering a subset of spatial called Oracle locator is not not sufficient to run the semantic technology layer. That is, it takes a couple of bucks to even create your first simple triple of sematic data with Oracle.
Checking the Oracle base software installation (anything executed as sysdba)
This section of the article, checking the Oracle base software installation itself, has been proof-taken from Stanley Guan’s blog Xml and More, entry Installation of Oracle Semantic Technologies. I can’t imagine why he has skipped the actual steps involving sematic-related code and objects there, moving me to write another post. However, Overview of Oracle Database Semantic Technologies is also worth a look really.
-- verify the underlying components, namely XDB, JAVAVM and ORDIM
select comp_id,version,status from dba_registry where comp_id in ('JAVAVM','ORDIM','XDB');
COMP_ID VERSION STATUS
-------- ---------- -------
ORDIM 18.104.22.168.0 VALID
XDB 22.214.171.124.0 VALID
JAVAVM 126.96.36.199.0 VALID
-- assure the options partitioning and spatial are available
select parameter, VALUE from v$option where parameter in ('Partitioning', 'Spatial') order by 1;
-- additionally check spatial in detail
set serveroutput on
select comp_id, control, schema, version, status, comp_name from dba_registry where comp_id='SDO';
COMP_ID CONTROL SCHEMA VERSION STATUS COMP_NAME
-------- -------- ------- ----------- ------- ----------
SDO SYS MDSYS 188.8.131.52.0 VALID Spatial
select object_name, object_type, status from dba_objects where owner='MDSYS' and status <> 'VALID';
Es wurden keine Zeilen ausgewõhlt