Calculate Vault Audit table size

Calculate Vault Audit table size

131
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:51 PM


Symptom


It is stated that "Upgrading the Vault to version 14.x or higher from a version lower than 14.0 requires significant database changes.


How to calculate size of our audit table to check prior to installation if it is greater than 4 GB to assist in upgrade planning activities (plan if it will be required to run in background).


Referring to Idira documentation:

Home > Installation > Upgrade > Use Background mode during upgrade

(https://docs.cyberark.com/pam-self-hosted/latest/en/Content/PAS%20INST/Vault-upgrade-background-mode.htm?tocpath=Installation%7CUpgrade%7C_____3)



Environment


14.0;14.2 Privileged Access Manager (PAM, self-hosted) Vault Server

Vault Server Upgrade to version 14.x or higher from a version lower than 14.0



Resolution


TO CALCULATE SIZE OF THE AUDIT TABLE


Run a DiagnoseDB Report:

CAVaultManager.exe diagnosedbreport > [full output location]

https://community.cyberark.com/s/article/00004956


Utilize the DiagnoseDB report to determine the size of audit table.

From the DiagnoseDBReport.txt:

-- Find "SHOW TABLE STATUS FROM ca_vault;"

-- Find record "vault_safes_log"

Size in bytes = (Data_length + Index_length)

-- Convert bytes to GB


Example:

Data length: 17596235776

Index length: 7890173952


Total:

25,486,409,728 bytes = 23.74 GB


(DiagnoseDB report extract)

Vault audit table size.PNG



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000kqsCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail