table raw data size

Moderator: NorbertKrupa

Post Reply
User avatar
nnani
Master
Master
Posts: 302
Joined: Fri Apr 13, 2012 6:28 am
Contact:

table raw data size

Post by nnani » Mon Feb 24, 2014 11:26 am

Hello All,

Is there a way we can find out raw data size for a table in Vertica.

Thanks
nnani........
Long way to go

You can check out my blogs at vertica-howto

User avatar
nnani
Master
Master
Posts: 302
Joined: Fri Apr 13, 2012 6:28 am
Contact:

Re: table raw data size

Post by nnani » Mon Feb 24, 2014 12:24 pm

Got it.

We can simply do a audit on table level. :D

Code: Select all

NNANI=> select audit('public.bank_holidays');
 audit
-------
 319
(1 row

The size of bank holidays table is 319 bytes

Thanks
nnani........
Long way to go

You can check out my blogs at vertica-howto

NorbertKrupa
GURU
GURU
Posts: 527
Joined: Tue Oct 22, 2013 9:36 pm
Location: Chicago, IL
Contact:

Re: table raw data size

Post by NorbertKrupa » Mon Feb 24, 2014 2:10 pm

This question has been asked here before.
Additionally, the AUDIT() function is only an estimate. You may want to lower the error tolerance or increase the confidence level.

The results will be stored in the user_audits table.
Checkout vertica.tips for more Vertica resources.

Post Reply

Return to “Vertica SQL”