---
sourceDocument: Xanadu ServiceNow AI Platform Administration
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/platform-administration

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Table cleaner

# Table cleaner {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Prevent tables from growing to an unmanageable size by deleting records automatically.

## Key benefits {#table-cleaner__section_mbq_b1b_cbc}

* Improve query performance by deleting records you no longer need.
* Delete older, expired, or unwanted records from tables automatically.
* Prevent data from growing exponentially.
{#table-cleaner__ul_l2q_h1b_cbc}

## Accessing table cleaner rules {#table-cleaner__section_hjq_xbb_cbc}

You can define and access table cleanup rules for a table by navigating to AllSystem Data ManagementData Management Policies and selecting the data management policy for the table.

## Use cases {#table-cleaner__section_nhk_rfb_cbc}

* Delete closed incidents that haven't been updated in 30 days. In this scenario, you define a table cleanup rule on the Incident \[incident\] table using sys_updated_on as the match field and you specify 2,592,000 as the age in seconds. You specify the condition State is Closed to only delete closed incidents.
* Manage data growth in tables used by Virtual Agent and Conversational Interfaces by activating table cleanup rules for the following tables:
  * Chat Server \[sys_cs_analytics\]
  * Conversations \[sys_cs_conversation\]
  * Message Last Reads \[sys_cs_message_last_read\]
  * Ci Analytics \[sys_ci_analytics\]
  {#table-cleaner__ul_q4r_vjb_cbc}
* Conversation-related tables can increase in size and end up affecting system performance. Limit data growth by cleaning records in tables related to Advanced Work Assignment. See .
{#table-cleaner__ul_s1v_rfb_cbc}

For information on using table cleaner, see [Deleting older or unwanted records](https://servicenow-prod.fluidtopics.net/2NdqOI0K8DBLjc31Zo2xFQ "Delete older, expired, or unwanted records from tables automatically.").

*[\>]: and then


