Patent attributes
Techniques are disclosed in which a server computer system manages a database cache for multiple different tenants. The system may compare a key having an unidentified tenant with key segments having a number of occurrences within a database cache satisfying a threshold count, where the key is included in a key-value entry of the cache storing data for multiple tenants. Key segments for keys of the database cache and corresponding occurrence counts are stored in a central database. Based on the comparing, the system determines whether the unidentified key matches one of the key segments satisfying the threshold count. In response to the system determining a match, a tenant corresponding to the unidentified key is identified based on the matching key segment. The disclosed techniques may advantageously allow for analysis of cache metrics for tenants and more efficient use of the cache (e.g., by altering cache parameters for individual tenants).