# Disk Spilling Errors

## ERROR 2630 (HY000): Available disk space is below the value of 'spilling\_minimal\_disk\_space' global variable. Spilling is aborted.

**Issue**

This error indicates that a query needs to spill but the disk available size is below the value of the  `spilling_minimal_disk_space` variable.

## ERROR 2630 (HY000): Spilling disk usage (x MB) exceeds the limit (y MB) set through the global variable 'spilling\_maximum\_size\_percent'(z). Spilling is aborted. New request size: n bytes

**Issue**

This error occurs when a query's disk spilling size requirement exceeds the maximum disk usage limit.

For example:&#x20;

ERROR 2630 (HY000): Spilling disk usage (25990.000000 MB) exceeds the limit (25982.400000 MB) set through global variable 'spilling\_maximum\_size\_percent'(-1.000000). Spilling is aborted. New request size: 96 bytes.

## ERROR 2630 (HY000): Spilling may interfere with replication which is low on disk space to store data in the blob cache. Spilling is aborted. The current max blob cache size after adjusted for low disk and spilling: x MB, current spilling size: y MB"

**Issue**

This error occurs when the columnstore blob cache is low during database replication, query spilling may be temporarily blocked.  Queries that need to spill may hit this error.

## ERROR: Spilling disk usage (%f MB) exceeds the limit (%f MB) set through global variable 'spilling\_maximum\_disk\_percent'(%f). Spilling is aborted. New request size: %lu bytes

**Issue**

This error occurs when a query run needs to spill but the variable `spilling_maximum_size_percent` is equal to zero.

***

Modified at: May 4, 2023

Source: [/db/v9.1/reference/troubleshooting-reference/disk-spilling-errors/](https://docs.singlestore.com/db/v9.1/reference/troubleshooting-reference/disk-spilling-errors/)

(An index of the documentation is available at /llms.txt)
