On 5/15/21 2:39 PM, IGnatius T Foobar wrote:
You *could* use database_cleanup.sh to recover disk space on an older server.
I seem to remember a post where you mentioned that it was not possible
to do this in my current version.
I'm not sure what your VM storage looks like, but on my VMs we use thin
provisioned
disks and set all of the filesystem options in the guest to return freed blocks
back to the host system.
My VMs are on a NAS that prevents the use of thin provisioned.
I am preparing a strategy to get the VM created with only the required
space. I think that locally I will be able to use "thin provisioned disks".
More or less the steps are:
Create bridged VM, compact the DB, and move to the final VM when it is
already possible.
In the meantime I want to practice that trick to get the smallest VM
size possible.