Skip to main content
Skip to main content

timeSeriesMetrics Table Function

timeSeriesMetrics(db_name.time_series_table) - Returns the metrics table used by table db_name.time_series_table whose table engine is the TimeSeries engine:

The function also works if the metrics table is inner:

The following queries are equivalent:

Try ClickHouse Cloud for FREE

Separation of storage and compute, automatic scaling, built-in SQL console, and lots more. $300 in free credits when signing up.

Try it for Free