IT CanvassTalk to an advisor
Data model · LessonBy , ServiceNow Trainer, 8 yrs · Published · ServiceNow · all levels

Table rotation and archiving

Keep large tables manageable with rotation, extension and archiving, without losing what audit needs.

Quick answer

Keep large tables manageable with rotation, extension and archiving, without losing what audit needs.

Key takeaways
  • Rotation for logs, archiving for records with retention obligations
  • Retention policy comes before configuration
  • Include related records in archive rules
  • Prove restore works before relying on archiving

Three mechanisms

Table rotation moves rows into dated shards and drops the oldest, which suits log data. Table extension keeps adding shards without deleting, which suits data that must be retained but rarely read. Archiving copies records to archive tables and removes them from the active table, with restore available.

Choosing

Match the mechanism to the retention rule. Logs that nobody reads after 30 days belong in rotation. Closed incidents that auditors may request in three years belong in archiving with a documented restore procedure.

Doing it safely

Archiving touches production data, so plan it.

  • Write the retention policy first and get it signed off
  • Archive rules should include related records such as attachments and audit entries
  • Test restore before you trust the process
  • Run the first archive on a clone with production volume to size the job

Practice challenge

+0 XPStreak ×0
Question 1 of 2
Which mechanism suits system logs with a 30 day retention?

Frequently asked questions

Does archiving free storage immediately?
Rows move to archive tables which are still storage, though they are lighter and out of the active query path. Destruction rules remove them permanently when policy allows.
Can users still search archived records?
Not through normal lists. Restore them or report against the archive tables directly, which is why the policy needs to state what access is required.
Already working on ServiceNow and stuck on a live ticket?Get an expert ServiceNow developer on screen-share to finish your daily tasks with you. Deliver on time, protect your reputation and your job. Monthly support only, no task-wise plans.Task assigned · no idea where to startStill stuck · your job on the lineExpert joins your screenDelivered on timeExplore On Job Support