Hey, I've been trying to optimize sync performance...
# community-help
j
Hey, I've been trying to optimize sync performance for one of our collections so have been dropping a collection and re-running the import a few times but for some reason my disk usage is never cleared up. I've tried manually compacting the DB after dropping the collection (this instance in Typesense Cloud only has 1 node) but it barely made a dent. Is there an easy way for me to see what is using disk space in my scenario? I've already gone through the steps mentioned in here (calling /operations/db/compact post collection deletion) but it didn't clear any space whatsoever https://threads.typesense.org/2J27dea
If not, some clarification on how disk usage would keep increasing in this scenario would be useful! Thanks
f
Are you running on Typesense cloud or are you on self-hosted?
j
Typesense cloud - the problem was solved after a reboot but I'd prefer not to need to do that
f
Could you share your cluster's ID?
j
laceym3sihgzwu42p
k
I've already gone through the steps mentioned in here (calling /operations/db/compact post collection deletion) but it didn't clear any space whatsoever
It takes a few hours for the changes to take effect after you make this API call. Did you wait to see that happen?
j
I didn't wait a few hours no but it had probably been at least an hour
k
Typesense server stores last 2 snapshots of the data for recovery, so even if you delete the data using compaction, these earlier snapshots can retain storage. Since the snapshot compaction runs every hour, I recommend waiting for 2-3 hours to observe the impact.
✅ 1
j
Thanks Kishore, I don't suppose there's any way to view these snapshots? I couldn't see anything in the API ref