# How to remove unnecessary audits to improve audit loading time?

### Description

* Loading the audits can be affected by the size of audits as the audits will be keep increasing over the time.
* To improve the audit loading time, the clean up for unnecessary audits on specific time period is required.
  * **Reason:** Removing the audits reduce the database size.

### Solution

* Please refer to [Purge Audit Logs](/opstech-docs/7.223/manage/administrator/purge-records.md#purge-audit-logs) page to know more about how to remove the audits data in <code class="expression">space.vars.SITENAME</code>.
* Use small time frame/window (e.g., 6 months or 1 year) for purge operations.
  * **For example:** The <code class="expression">space.vars.SITENAME</code> was installed in Jan-2015, then <code class="expression">space.vars.SITENAME</code> will have audits since Jan-2015 till date.
    * In first go, purge audits till Dec-2015.
    * In second go, purge audits till Dec-2016.
    * Follow the same process till the date you want to remove the audit.
* **Note:** Removing the audits data will not affect the synchronization.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://opstech.gitbook.io/opstech-docs/7.223/help-center-index/faqs/general-faqs/how-to-remove-audits.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
