Reduce the size of the MPE_AUDIT table #4

Closed
opened 2023-07-17 13:10:46 +00:00 by allan · 0 comments
Owner

Currently when loading an audit table we include the entire row - including values that have not changed.

This can result in very large audit tables!

To limit the data / volume / keep it manageable, the default option should be to exclude data where MOVE_TYPE="M" and IS_DIFF=0.

We will continue to post the full record for MOVE_TYPE="A" or MOVE_TYPE="D" (added/deleted) so that the table state can still be reproduced from the starting table, or reverted back from a modified table.

Currently when loading an [audit table](https://docs.datacontroller.io/tables/mpe_audit/) we include the entire row - including values that have not changed. This can result in very large audit tables! To limit the data / volume / keep it manageable, the default option should be to _exclude_ data where `MOVE_TYPE="M" and IS_DIFF=0`. We will continue to post the full record for `MOVE_TYPE="A" or MOVE_TYPE="D"` (added/deleted) so that the table state can still be reproduced from the starting table, or reverted back from a modified table.
allan self-assigned this 2023-07-20 15:10:28 +00:00
allan closed this issue 2023-07-25 08:50:32 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: dc/dc#4
No description provided.