I have found that my Sentry database is too big:

How do I check how much storage space is used by every Docker volume?
It it reflected in the big size of the /var/lib/docker/overlay2 folder:

I have found that my Sentry database is too big:

How do I check how much storage space is used by every Docker volume?
It it reflected in the big size of the /var/lib/docker/overlay2 folder:

cd /usr/local/sentry
docker-compose exec worker bash
![]()
sentry cleanup --days 30
It took 12.5 hours to make my 50Gb database a half smaller.
My servers uses 2 SATA SSD in a RAID.
exit

Connect to the Sentry's database in Docker via docker-compose exec.
VACUUM FULL;

How to find big tables of the Sentry's database?

How do I check how much storage space is used by every Docker volume?
