Run VACUUM command/query for compaction of chamberfile #28

Closed
opened 2025-07-15 10:32:31 +00:00 by vaibhav · 0 comments
Owner

The original idea I had was that I would run VACUUM command after every delete. But I have learnt that doing so usually means that the entire database gets rewritten. Which means that on a SSD, it would cause a lot of wear and tear and on HDDs it would take a lot of time. On any other media SD cards, Network Mounted paths etc, it would probably cause both.

Hence, I have moved the functionality to an admin page within the Web UI.

There is a pending issue for the CLI that was created: #38

The original idea I had was that I would run VACUUM command after every delete. But I have learnt that doing so usually means that the entire database gets rewritten. Which means that on a SSD, it would cause a lot of wear and tear and on HDDs it would take a lot of time. On any other media SD cards, Network Mounted paths etc, it would probably cause both. Hence, I have moved the functionality to an admin page within the Web UI. There is a pending issue for the CLI that was created: #38
vaibhav added this to the Future project 2025-07-15 10:32:32 +00:00
vaibhav modified the project from Future to Alpha 0.2.0 2025-07-18 11:14:10 +00:00
vaibhav changed title from Run VACUUM command/query after deletion to Run VACUUM command/query for compaction of chamberfile 2025-08-06 06:29:14 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
techrail/chamber#28
No description provided.