# Database Cleanup Procedure

After initial user training, but before the lab starts to use Clarity LIMS in production, a database cleanup is recommended.

This process removes any projects, samples, workflows, protocols, steps, and other artifacts from the system that were created during training but are not needed for production.

Contact the Clarity LIMS Support team to schedule a time for this cleanup procedure.

### Preparation

In preparation for the clean-up, complete the following steps:

* Delete all unwanted **custom fields** and **master steps**.
* Set the status of all unwanted **workflows** to **Archived**. If there is an **Archived** workflow that you would like to keep, temporarily set its status to **Active**. Note the following:
  * Protocols that are part of an **Archived** workflow, or set of **Archived** workflows will be deleted.
  * Protocols that belong to an **Active** or **Pending** workflow, in addition to an **Archived** workflow, will not be deleted.

After these steps are completed, a Clarity LIMS Technical Support Analyst (TSA) helps to perform the cleanup procedure. This procedure takes approximately 15–20 minutes to complete.


---

# 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://help.claritylims.illumina.com/clarity-lims-v6.2-and-lablink-v2.4/adminstration/database-cleanup-procedure.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.
