Vector garbage collection is the automated process within a vector database that identifies and reclaims storage space occupied by logically deleted or obsolete vectors and their associated index entries. This is critical for maintaining query performance and controlling storage costs, as simply marking a vector for deletion does not immediately free its physical space. The process often involves scanning for vector tombstones—logical deletion markers—and then cleaning up the underlying data structures during a maintenance operation like compaction.




