-1

I am using Vertica for an application which has continuous flow of data. So I want to manage the disk space by creating a cron job which will delete the older records once the disk is 60% full.

halfer
  • 19,824
  • 17
  • 99
  • 186
Rishi Reddy
  • 39
  • 2
  • 8
  • Have you tried anything so far? I would start by writing a query to delete the records you want, then schedule that using cron.... – Milney Aug 07 '17 at 16:03
  • No I didnt try so far. I am planning to create partitions based on date and delete accordingly. – Rishi Reddy Aug 07 '17 at 17:12

1 Answers1

1
  • Deleted data is not removed immediately
  • Deleted records are marked as deleted
  • Delete vectors are sets of tuples (position, epoch) that record where and when a row is deleted
  • During query, delete vectors for a ROS container are merged with results to remove deleted records
  • Delete affects performance
  • PURGE is required to delete permanently

https://my.vertica.com/get-started-vertica/removing-data/

whoopdedoo
  • 2,815
  • 23
  • 46