Skip to content

Commit

Permalink
Merge pull request #8266 from soyeric128/purge-tips
Browse files Browse the repository at this point in the history
docs: purge tips
  • Loading branch information
BohuTANG authored Oct 18, 2022
2 parents cbf9d5c + ac90856 commit 29ff93c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ title: OPTIMIZE TABLE

Use this command to compact the data in a table or purge historical data from a table.

:::tip
Databend's Time Travel feature relies on historical data. If you purge historical data from a table with the command `OPTIMIZE TABLE <your_table> PURGE` or `OPTIMIZE TABLE <your_table> ALL`, the table will not be eligible for time travel. The command removes all snapshots (except the most recent one) and their associated segments and block files.
:::

## Syntax

```sql
Expand Down

1 comment on commit 29ff93c

@vercel
Copy link

@vercel vercel bot commented on 29ff93c Oct 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

databend – ./

databend-databend.vercel.app
databend-git-main-databend.vercel.app
databend.vercel.app
databend.rs

Please sign in to comment.