Skip to content
TimescaleDB - Timeseries database for PostgreSQL
  • Timescale.com
  • Try for free
Get started
Use Timescale
Services
Clouds and regions
Resources
PostgreSQL extensions
Connecting to Timescale
Hypertables
Distributed hypertables
Time buckets
Write data
Ingest data from other sources
Migration
Query data
Configuration
Schema management
Compression
Data retention
About data retention
About data retention with continuous aggregates
Create a retention policy
Manually drop chunks
Troubleshooting data retention
Continuous aggregates
High availability and replication
User-defined actions
Alerting
VPC
Backup and restore
Billing and account management
Metrics and logging
User Management
Upgrades
Hyperfunctions
Data tiering
Security
Timescale limitations
Troubleshoot Timescale
Tutorials
Code quick starts
API Reference
Other deployment options
About Timescale
Find a docs page
Use Timescale

Data retention

Data retention helps you save on storage costs by deleting old data. You can combine data retention with continuous aggregates to downsample your data.

In this section:

  • Learn about data retention before you start using it
  • Learn about data retention with continuous aggregates for downsampling data
  • Create a data retention policy
  • Manually drop chunks of data
  • Troubleshoot data retention

Keywords

continuous aggregatesdata retentiondownsampleTimescaleManaged Service for TimescaleDBself-hosted TimescaleDB

Found an issue on this page?

Report an issue!
PreviousTroubleshootingNextAbout data retention

Related Content

About data retention with continuous aggregates
How data retention works with continuous aggregates for downsampling
Continuous aggregates
Continuous aggregates make queries run faster on very large datasets
Time and continuous aggregates
How to work with timezones and continuous aggregates
Migrate a continuous aggregate to the new form
Migrate old continuous aggregates to the new form introduced in Timescale 2.7
Dropping data
Drop raw data from a continuous aggregate or its underlying hypertable
Create an index on a continuous aggregate
How to create and drop indexes on a continuous aggregate