18.2 Database Schema and Objects for CSW
A CSW schema is any user schema that is used to store CSW records. In some examples used in this document, the schema of a database user named SCOTT or MDMETT is a CSW schema.
A CSW database instance stores CSW catalog records in a CSW schema. The CSW web service instance requires one or more CSW schemas configured as a JDBC data source in the application container, with each CSW schema corresponding to one data source in Oracle WebLogic Server. Normally, only one CSW schema is configured for a specific database, but many CSW web services can be configured for use with the same database using different CSW schemas.
Oracle Spatial provides the view USER_SDO_CSW_SERVICE_INFO, which contains CSW metadata for the supported CSW recordType
. The USER_SDO_CSW_SERVICE_INFO view contains the following columns:
CSW_VERSION VARCHAR2(20), CSW_XSD_ID NUMBER, CSW_TABLE_NAME VARCHAR2(80)
You can examine the CSW_XSD_ID column value in this view to find out the CSW recordType
used by your CSW schema: 1
for DCMI or 2
for ISO. (For more information about using each record type, see CSW Major Operations (DCMI Profile) and CSW Major Operations (ISO Profile).)
The SDO_CSW PL/SQL package enables you to perform CSW instance creation and other operations. It includes CSW initialization, and allows you to create and maintain Spatial and XQFT indexes. For reference information about the subprograms, see SDO_CSW Package (Catalog Services for the Web).
Parent topic: Catalog Services for the Web (CSW) Support