Relative Content

Tag Archive for timescaledb

querying from multiple tables in timescaledb is very slow

Recently we switched to timescaledb for our timeseries data. Basic quries seem to work fine but we have an engine simulator that needs to fetch data from multiple tables, aggregate them and sort them before streaming. However, the below code takes more than a minute which is a problem since we need to stream at least a year’s worth of data. Below is my query: