Database changes involving eAudit

An audit table is an object that MaxTableCfg.EauditTbname references.

Example

If the Person table is audited and the audit table is named A_Person, two rows exist in MaxTable Cfg, as shown in the following example.

Table 1. eAudit Tables
Table name Eaudit Tbname
PERSON A_PERSON
A_PERSON (null)

For the base table, changes to the audit-related, object-level parameters in the following table are eligible for live update. For an audit table, if the object you add (MaxObjectGfg.Changed = I) and its base table are eligible for live update, then the audit table is also eligible.

The following table lists the object-level parameters that are eligible for live update.

Table 2. Object-level parameters that are eligible for live update
Description Source Additional rules to qualify for live update
Eaudit Filter MaxObjectCfg.EauditFilter None
Eaudit Enabled MaxObjectCfg.EauditEnabled

No additional rules.

Field validation in the Database Configuration application ensures that when EauditEnabled is turned on, there is a nonnull value for EauditTbname.

Eaudit Table Name MaxTableCfg.EauditTbname

If either of the following conditions is true, live update for change of EauditTbanme is supported:

  • EauditTbname is non-null and the object referenced by EauditTbname is a new object (MaxObjectCfg.Changed = I.
  • EauditTbname is being set to null (EAuditEnabled is being turned on).

The following table lists changes to the audit-related, attribute-level parameters on the base table that are eligible for live update.

Table 3. Attribute-level parameters that are eligible for live update
Description Source Additional rules to qualify for live update
Description MaxAttributeCfg.EauditEnabled

No additional rules.

Turning auditing on or off for an attribute that is eligible for live update, and does not involve native changes to the audit table.



Feedback