Page 1 of 1

Best practice for deleting huge amount of data

Posted: Tue May 29, 2012 9:44 pm
by caprile
Hi,
anyone knows if there is a best practice for deleting huge amount of data in Vertica 5.1.x?
My needs is to delete huge amount of data and at same time execute massive query, but i think that I will have performance decreasing during select statement executiion.

Thanks in advance

Re: Best practice for deleting huge amount of data

Posted: Thu May 31, 2012 7:12 pm
by jpcavanaugh
Is your table partitioned? Are your deletes within a set of partitions?

Re: Best practice for deleting huge amount of data

Posted: Tue Jun 12, 2012 4:31 pm
by caprile
No, I have a plain table.
I suppose if I create table partitioned i lost the data compression of vertica.

Re: Best practice for deleting huge amount of data

Posted: Tue Jun 12, 2012 8:57 pm
by jpcavanaugh
Partitioning will not have compression issues - I would suggest to use it if it makes sense for delete situations. As far as best practices there are a couple and they are documented here.

http://my.vertica.com/docs/6.0.0/HTML/i ... #12703.htm

Re: Best practice for deleting huge amount of data

Posted: Tue Jun 12, 2012 9:34 pm
by caprile
Thank you very much...
I will study this documentation...