# cockroachdb\_used\_storage\_capacity

**URL:** <https://community.netdata.cloud/t/cockroachdb-used-storage-capacity/2227>\
**Category:** Alerts\
**Created:** [December 1, 2021, 7:49am UTC](https://community.netdata.cloud/t/cockroachdb-used-storage-capacity/2227 "2021-12-01T07:49:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ancairon](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/ancairon/32/1001_2.png) [@Ancairon](https://community.netdata.cloud/u/Ancairon)\
**Post date:** [December 1, 2021, 7:50am UTC](https://community.netdata.cloud/t/cockroachdb-used-storage-capacity/2227/1 "2021-12-01T07:50:00Z")

</div>

# cockroachdb\_used\_storage\_capacity

## Database | CockroachDB

This alert presents the percentage of used storage space.  
If you receive this alert, then there is high storage capacity utilization from CockroachDB.

- This alert is raised to warning when the metric exceeds 85%.
- If the percentage of used storage space exceeds 95%, then the alert is raised to critical.

Definition of “size” on CockroachDB:

> The maximum size allocated to the node. When this size is reached, CockroachDB attempts to  
> rebalance data to other nodes with available capacity. When there’s no capacity elsewhere,  
> this limit will be exceeded. Also, data may be written to the node faster than the cluster  
> can rebalance it away; in this case, as long as capacity is available elsewhere, CockroachDB  
> will gradually rebalance data down to the store limit.[1](https://www.cockroachlabs.com/docs/v21.2/cockroach-start#store)

> **References and Sources**
>
> 1. [CockroachDB Size](https://www.cockroachlabs.com/docs/v21.2/cockroach-start#store)
> 2. [CockroachDB Docs](https://www.cockroachlabs.com/docs/stable/ui-storage-dashboard.html)

### Troubleshooting Section

> **Increase the space available for CockroachDB data**
>
> If you had previously set a limit, then you can use the option `--store=path<YOUR PATH>,size=<SIZE>`  
> to increase the amount of available space.  
> Make sure to replace the “YOUR PATH” with the actual store path and “SIZE” with the new size you want to set CockroachDB to.
> 
> > Note: If you haven’t set a limit on the size, then the entire drive’s size will be used. In this  
> > case, you will see that the drive is full. Clearing some space or upgrading to a drive with a  
> > larger capacity are potential solutions.
