Quantcast
Channel: TimescaleDB and PostgreSQL - Timescale Community Forum
Viewing all articles
Browse latest Browse all 291

Segment materialized view

$
0
0

Hi everyone,

I have a consumption table that contains 10-minute interval consumption data from various IoT systems. Recently, I created a materialized view that adds additional information such as the IoT system brand, geographic region where the IoT component was located, etc.

I have a few questions:

  • Is it possible to create a hypertable directly from my materialized view and segment it by brand and world region, for example?

  • Or do I first need to create a hypertable from my consumption table and then create the materialized view? If so, will I still be able to segment by the new columns I added in the materialized view?

Thanks in advance for your help!

4 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 291

Trending Articles