Book Contents

Book Index

Next Topic

Home

Purge Deleted Data

Vertica 2.1.GA provides the ability to control how much historical data is retained in the physical storage used by your database.

By default, Vertica never purges historical data. The reason for this behavior is that unlike most databases, the DELETE command in Vertica does not actually delete data from disk storage; it simply marks tuples as deleted so that they remain available to historical queries. This also applies to the UPDATE command, which is actually a combined INSERT and DELETE.

In Vertica 2.1.GA, you purge historical data that was deleted prior to a specific point in time called the Ancient History Marker (AHM). The Ancient History Mark (AHM), is the epoch prior to which historical data can be purged from physical storage.

When does purge happen?

There are two ways to control how much historical data is stored on disk.

This part is just a placeholder. It will probably have different syntax:

None of these commands initiates disk activity in real time; it occurs during mergeouts.

For More Information