Disk Capacity Errors
On this page
ERROR: Available disk space is below the value of minimal_ disk_ space
global variable (512 MB). This query cannot be executed.
minimal_ disk_ space
global variable (512 MB).Example error message:
mysql_
Issue
This error indicates that SingleStore is unable to create the plan that the query would run because there is not enough free space on the disk where the plancache is stored.
Solution
Check disk storage available and remove unnecessary files to free up disk space.
For example:
Check disk usage: df -h
Check inode (file descriptor) usage of each filesystem: df -i
Change to (cd
into) the memsql_
directory and check the usage of each subdirectory with the du
command:
du -h -d1
This command can take some time to complete, since it must sum the size of each subdirectory.cd
into each subdirectory and run the command again.
Delete any unnecessary files from these subdirectories if it safe to do so./data
or /plancache
subdirectories.logrotate
utility, see: Trace Log.
If you are not able to clear enough disk space, it may be necessary to allocate a larger filesystem.
Once you have cleared some disk space, you can run new queries again.
Last modified: November 22, 2022