Application Service Guide > Content Management Service > Reference Data Warehouse
  

Reference Data Warehouse

The reference data warehouse stores data values for the reference table objects you define in a Model repository.
When you add data to a reference table, the Content Management Service writes the data values to a table in the reference data warehouse. For example, when you create a reference table from a flat file, the Content Management Service uses the file structure to define the object metadata in the Model repository. The Content Management Service writes the file data to a table in the reference data warehouse.
The Reference Data Location option on the Content Management identifies the reference data warehouse. To update the data warehouse connection, configure this option.
When you specify a reference data warehouse, verify that the database you select stores data for the Model repository only.

Orphaned Reference Data

When you delete a reference table object from the Model repository, the table data remains in the reference data warehouse.
Use the Purge Orphaned Tables option on the Content Management Service to delete unused reference tables. The option identifies the tables that store data for reference table objects in the Model repository and deletes all other reference tables from the warehouse. The purge option removes obsolete reference tables and creates additional space in the warehouse.
Before you purge the unused tables, verify the following prerequisites:
Note: The purge operation reads the Model repository that the current Content Management Service identifies, and it deletes any reference table that the Model repository does not use. If the reference data warehouse stores reference data for any other Model repository, the purge operation deletes all tables that belong to the other repository.
To prevent accidental data loss, the purge operation does not delete tables if the Model repository does not contain a reference table object.

Deleting Orphaned Tables

To delete unused reference tables from the reference data warehouse, purge orphaned tables.
    1. In the Administrator tool, click the Manage tab > Services and Nodes view.
    2. In the Domain Navigator, select the master Content Management Service.
    3. Click Manage Actions > Purge Orphaned Tables.
    The Content Management Service deletes all reference table data that does not belong to a reference table object in the associated Model repository.
To prevent accidental data loss, the purge operation does not delete tables if the Model repository does not contain a reference table object.
Note: To delete unused reference table at the command prompt, run the infacmd cms Purge command.