I am testing cockroach and have imported / dropped data several times.
Currently, I dropped all the databases I created, so there is only the system database left (700KiB, for a total of 6 ranges)
On the disks and on the main dashboard, I can see that the cockroach store is using 1.6GiB with 133 ranges.
I can understand that many ranges were created during my tests but I understand that only 6 of the 133 ranges actually contain useful data (the system database) now that I dropped all my databases.
Is this correct ? Will cockroach do some kind of garbage collection to release the unused space ?
I would expect that the “capacity used (clusted dashboard)” = 3 * “database size (database dashboard)” with a default configuration and after cockroach has done some garbage collection of leftover replicas. Is this correct ?