Configuration options for database table groups

Table groups specify a set of tables on which to run database consistency checks. There use is optional. Thus, you can define zero or more table groups.

As the PolicyCenter server starts, it checks that no table is listed more than once in a single table group definition and that each table listed exists. If a table is listed more than once in a group or does not exist, the PolicyCenter server logs an error and stops.

To define a table group, add a <tablegroup> element to the database element in database-config.xml. The <tablegroup> element has the following attributes:

env

Specifies the environment for the table group. You can have different table groups set up for different environments.

name

Identifies the table group.

tables

Defines which tables are in the table group. Use a comma-separated list to specify the tables, for example:

<database> 
  ...
  <tablegroup name="MyTables" tables="pc_1, pc_2, pc_3"/>
  ...
</database>                              

See also