Inbound event table data archiving and cleanup
Summarize
Summary of Inbound event table data archiving and cleanup
This feature in ServiceNow’s Xanadu release enables customers to efficiently manage inbound event data by archiving and purging records beyond a specified retention period. It helps maintain optimal instance performance by controlling table size growth through automated data management processes like table rotation and cleanup.
Show less
Key Features
- Retention Policy and Table Rotation: Customers can configure retention policies with table rotation on the auto-flush form to automatically archive and purge inbound event data older than the defined period.
- Database Rotation and Cleanup: System defaults retain eight weeks of event data, leveraging ServiceNow AI Platform capabilities for database rotation, table rotation, and cleanup to optimize performance.
- Processed Inbound Events Table: The DevOps processed inbound events table stores processed and ignored event copies from the inbound events table, with eight shards each holding one week of data. Table rotation activates after retaining 56 days (8 weeks) of data to manage storage effectively.
- Scheduled Jobs and Table Cleaners: A scheduled job automatically activates two weeks post-upgrade and runs weekly to manage cleanup tasks. Table cleaners target specific event states (processed, ignored, new, retry, in-progress, deferred) based on event age, purging records exceeding the retention threshold.
- Auto-updated Cleaner Frequency: After two weeks of scheduled job activation, if the processed inbound events table contains data older than seven weeks, the cleanup process frequency is automatically adjusted to run every 30 minutes to maintain data hygiene.
Practical Implications for Customers
- Customers can expect inbound event data to be automatically archived and purged, preventing table bloat and preserving instance performance without manual intervention.
- The feature ensures only relevant recent event data is retained, supporting efficient DevOps monitoring and analysis.
- Administrators can customize table rotation settings via System Definitions > Table Rotation to suit organizational retention requirements.
- Automated scheduled jobs and table cleaners reduce administrative overhead by managing data lifecycle consistently after upgrades.
Use table cleaners on the inbound events table to purge event data records beyond a specified period. Configure a retention policy with table rotation on the auto-flush form to manage table size growth and archiving data beyond the specified duration.
Data management
The data management feature allows you to enable archiving and purging of inbound event data. Database rotation and table cleanup configurations are enabled to ensure that eight weeks of event data is retained. Instance performance is preserved using ServiceNow AI Platform features such as Database rotation, table rotation, and table cleanup. A scheduled job is auto-enabled two weeks after you upgrade.
Table rotation on processed inbound events table
The DevOps processed inbound events [sn_devops_processed_inbound_event_list.do] table contains copies of event data from the DevOps inbound events [sn_devops_inbound_list.do] table, that is in state 'processed' and 'ignored'.
Scheduled jobs and Table cleaners
- A week after you upgrade, and the processed inbound table has records older than seven weeks.
- Two weeks after you upgrade.
- Table cleaners are activated and run on the inbound events [sn_devops_inbound_table_list.do] for events in the following states.
- Processed
- Ignored
sys_created_onfield. - Table cleaners are activated and run on the inbound events table [sn_devops_inbound_table_list] for events in the following states.
- New
- Retry
- In-progress
- Deferred
sys_created_onfield.
Auto-updates to table cleaner frequency
- Two weeks have passed since the scheduled job is active.
- The processed inbound event table has event data older than 7 weeks.