I'm trying to run the VACUUM
command on my database, but I seem to run out of space:
> sqlite3 mydatabase.db "VACUUM"
Error: database or disk is full
The database is about 36 GB and the drive that I'm running it on looks like (via df -h
):
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 406G 171G 215G 45% /home
So I am clearly above the double size limited needed. What can I do to allow the vacuum command to run?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…