Skip to main content
makes complex database features like partitioning and data retention easy to use with our comprehensive APIs. works hard to provide detailed information about the state of your data, s, s, and any jobs or policies you have in place. These views provide the data and statistics you need to keep track of your database.

Samples

Get all s in your database

View all s with their size and compression status:
SELECT hypertable_name,
       num_dimensions,
       num_chunks,
       compression_enabled,
       is_distributed
FROM timescaledb_information.hypertables;

Check information for a

View all s for a specific :
SELECT chunk_name,
       range_start,
       range_end,
       is_compressed
FROM timescaledb_information.chunks
WHERE hypertable_name = 'conditions'
ORDER BY range_start DESC;

Monitor background jobs

View all scheduled jobs and their status:
SELECT job_id,
       application_name,
       schedule_interval,
       last_run_status,
       next_start
FROM timescaledb_information.jobs
ORDER BY next_start;

Check job execution history

View recent job runs and their success/failure status:
SELECT job_id,
       execution_start,
       execution_finish,
       succeeded,
       total_runs,
       total_failures
FROM timescaledb_information.job_stats
ORDER BY last_finish DESC
LIMIT 10;

View details

Get information about all s:
SELECT view_name,
       view_definition,
       materialized_only,
       compression_enabled,
       finalized
FROM timescaledb_information.continuous_aggregates;

Check compression settings

View compression settings for all s:
SELECT hypertable_name,
       attname AS column_name,
       orderby_column_index,
       segmentby_column_index
FROM timescaledb_information.hypertable_compression_settings
ORDER BY hypertable_name, orderby_column_index;

Available views

and information

Compression information

s

Jobs and policies

Multi-node (sunsetted)