PA Client displays conflicting Safe Size values between external and internal views of the safe.
Question
Why does PrivateArk Client show different safe sizes externally compared to the internal value when all files are selected?
Environment
12.2;12.6;14.0;14.2;14.4;14.6;15.0 Privileged Access Manager (PAM, self-hosted) Cyber-Ark Client
Answer
The discrepancy is typically caused by how the PA Client calculates and retrieves data for different views:
1. Internal View (Highlighted Files)
When files are selected within a safe, the PA Client calculates the sum of the highlighted files' sizes based on the database metadata.
PSMRecordings Behavior: In safes like PSMRecordings, files with a .session extension are metadata-only entries. They do not have corresponding physical files on the disk, resulting in a size of 0 KB.
Actual Recordings: Only the associated artifacts (e.g., .VID.avi or .WIN.txt) contain actual data and contribute to a value greater than 0 KB.
2. External View (Safe List)
The total safe size shown in the Safes List is not calculated in real-time by querying every file. Instead, it is retrieved from the Vault Cache.
Cache Loading: This value is loaded into memory during Vault startup (via FlushObjectCacheServ) and is stored in the vault_safes and vault_safes_records tables.