v.25.12Improvement

Remove when table parts are dropped or

Entries in the vector similarity index cache are now removed when table parts are dropped or replaced by newer parts. Prior to this, these would be cleared only lazily by cache eviction. #90750 (Shankar Iyer).
Entries in the vector similarity index cache are now promptly removed when the corresponding table parts are dropped or replaced.

Why it matters

This feature addresses the issue where vector similarity index cache entries were only cleared lazily through eviction, which could lead to stale cache data and inefficient memory usage. By removing cache entries immediately upon table part changes, it ensures cache consistency and better resource management.

How to use it

This behavior is automatic and does not require any manual configuration. When table parts are dropped or replaced, associated vector similarity index cache entries are cleared instantly.