Skip to main content
TimescaleDB makes complex database features like partitioning and data retention easy to use with our comprehensive APIs. TimescaleDB works hard to provide detailed information about the state of your data, hypertables, chunks, and any jobs or policies you have in place. These informational views query TimescaleDB‘s internal catalog—system tables that store metadata about your database objects, configurations, and jobs. When you create a hypertable, add a retention policy, or schedule a job, TimescaleDB registers this information in its catalog. The views provide a convenient, user-friendly interface to access this metadata without directly querying internal tables.

Samples

Get all hypertables in your database

View all hypertables with their size and compression status:

Check chunk information for a hypertable

View all chunks for a specific hypertable:

Monitor background jobs

View all scheduled jobs and their next execution time:

Check job execution history

View recent job runs and their success/failure status:

View continuous aggregate details

Get information about all continuous aggregates:

Check compression settings

View compression settings for all hypertables:

Available views

Hypertable and chunk information

Compression information

Continuous aggregates

Jobs and policies