Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> You can VACUUM INTO, but standard vacuum won’t rewrite the whole db.

This is not true. From the link you posted:

> The VACUUM command works by copying the contents of the database into a temporary database file and then overwriting the original with the contents of the temporary file.



Ugh, you’re totally right.

I always get optimize and vacuum mixed up.

https://sqlite.org/pragma.html#pragma_optimize




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: