Search code examples
verticavsql

Vertica GET_COMPLIANCE_STATUS() discrepancy


We use Vertica Community Edition which allows us to store data up to 1 TB. Vertica is hosted on-premise and we have allocated 153 GB for it to use, out of which 57 GB (39%) is used so far.

enter image description here

When I run SELECT GET_COMPLIANCE_STATUS(), it shows I have used 0.91 TB (91%) of the allowed disk space. I have executed SELECT AUDIT_LICENSE_SIZE() to make sure we get the latest compliance data.

enter image description here

I am wondering why these numbers do not match.


Solution

  • The disk usage is the compressed/encoded ROS files.

    For license calculation Vertica uses uncompressed files to sum over the total size. 1 TB for community edition is uncompressed size of the files.

    Disk usage can vary depending upon how many projections you create.

    Note: Additional Projections does not count to the license size. Only additional Tables and External tables do.