Hi,
yes, you should run offline compaction and datastore garbage collection. In your specific case in a different order:
- shutdown the instance
- run Datastore GC
- run offline compaction
- run Datastore GC again
Offline compaction needs free disk space (in the size of the segment store = tar files); that's the reason why I recommend to run Datatstore GC before trying to free up space upfront.
On the other hand: If you can attach temporarily more disk space, you can omit step 1.
But never forget: Monitor your disk usage!