Commit 280c4a2e authored by Rafael Monnerat's avatar Rafael Monnerat

slapos/collect: Call VACUUM to clean up the sql database size.

parent ed0f2b65
......@@ -286,6 +286,7 @@ class Database:
if table not in self.preserve_table_list:
self._execute(delete_sql % (table, where_clause))
self._execute("VACUUM;")
self.commit()
self.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment