---
title: "Reclaim disk space after disabling the ODW"
description: "Reclaiming disk space after disabling the Opsview Data Warehouse (ODW) involves removing retained data from the ODW database. This guide explains how to safely delete all ODW data using the dbodw script to free disk space immediately."
url: "https://docs.itrsgroup.com/docs/faq/opsview/4921309628701-opsview-reclaim-disk-space-after-disabling-the-odw/index.html"
---
After disabling the ODW, data in the ODW database is retained for its retention period. Data is only dropped from the ODW when it ages out of its retention period and is removed by the daily housekeeping task. This guide shows you how to safely remove all data from the disabled ODW to reclaim disk space.

## Prerequisites

- ODW is disabled

### Process

1. Log in to the [orchestrator](https://docs.itrsgroup.com/docs/faq/opsview/4920429084957-opsview-orchestrator/index.html) as `root`.
2. Switch to the `opsview` user using `su`:

```
su - opsview
```

3. Run the `db_odw` script with the `db_install` option:

```
/opt/opsview/coreutils/bin/db_odw db_install
```


