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:
- •You have the Manage Service privilege on the domain.
- •The user name that the Content Management Service uses to communicate with the Model repository has the Administrator role on the associated Model Repository Service.
- •All Data Integration Services associated with the Model repository are available.
- •There are no data operations in progress on the reference data warehouse.
- •The reference data warehouse stores data for the reference table objects in a single Model repository.
- •You updated the search index that the Model Repository Service uses to identify the objects in the Model repository. Update the index to verify that the Model Repository Service uses the current list of reference table objects. For more information about search index updates, see Manually Updating Search Index Files.
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.