Delete data
To remove data in Imply Polaris, you can delete all data within a table or a subset of rows based on a given time interval. You cannot remove a column containing data from a table. For more information, see the supported schema updates.
When you delete data, you have the following options:
- Soft delete data, which means the data is recoverable within a grace period (up to 30 days). For more information, see Manage deleted data. Note that data also gets soft deleted if it exceeds your retention period and is not cached.
- Delete the data immediately. If data is deleted immediately, you cannot restore it. Immediate data deletion is permanent.
This topic shows you how to delete data in a Polaris table.
Delete all data
To delete all data from a table, do the following:
- From the table view, click Manage > Delete data.
- Select the option to Delete all data.
- Select Soft delete or Delete immediately.
- Confirm your choice.
- If you choose Delete immediately, Polaris prompts you to enter the name of the table to confirm your decision. Enter the table name and click Confirm to begin the permanent data deletion.
Delete data by time interval
To delete data based on a range of time, do the following:
- From the table view, click Manage > Delete data.
- Select the option to Delete data by time interval.
- Enter the year, month, and day for the start and the end of the time interval. The smallest interval of time you can specify depends on the time partitioning set on the table.
- Select Soft delete or Delete immediately.
- Verify the time range for the data deletion. If it looks correct, click Confirm to begin the data deletion.
Learn more
See the following topics for more information:
- Delete a table for removing tables.
- Delete data by API for using the Polaris API to delete data and tables.
- Recover or permanently delete data for recovering or permanently deleting data that was soft deleted (up to 30 days ago).
- Data lifecycle management for automatically deleting data using a retention policy.