Quantcast
Channel: TimescaleDB and PostgreSQL - Timescale Community Forum
Browsing all 291 articles
Browse latest View live

Refrech policy window does not seem correct

Very puzzled as to what may have changes recently our continuous aggregates used to refresh with time windows like refreshing continuous aggregate...

View Article


Cumulative precipitations

Hello everyone, i have a timescale table containing data from a precipitation sensor /timestamp/value/other columns…/ timestamp is the primary column for timescale. i have a need to show a bar chart...

View Article


Slow queries after getting data "from the future"

TimescaleDB version - 1.4.2 PostgreSQL version - 9.6 OS - Linux Data “from the future” got into the database, now the query for the last value is very slow. Query starts with chunk, where the data...

View Article

Interpolated_average() usage with continuous aggregates

Is it possible to use interpolated_average() with continuous aggregates somehow? My first attempt fails due to window functions. My use case is the following. I’m in the energy sector and collect...

View Article

How to reduce SQL planning time? Planning time 8 seconds, execution time 35 ms

On PostgreSQL 15.6 and TimescaleDB 2.14.2 self-host on prem time to time I see spike in queries times. I have analyzed one of the query and I see planning time is the cause of the problem. In explain...

View Article


Upgrades without `ALTER EXTENSION timescaledb UPDATE`

We have a custom-built postgres container image that also includes the latest version of timescaledb. What happens if we swap the library version inside the image with a newer one without keeping...

View Article

After compression table is larger then before compression

On PostgreSQL 15.6 and TimescaleDB 2.14.2 self-host on prem, I have table with the following three columns: time device_id company Test 1: I have executed compression according to official...

View Article

RPM repository at packagecloud.io empty?

https://packagecloud.io/timescale/timescaledb/el/9/x86_64/ is empty. Is it the correct URL for RPM’s for RHEL9? If it is not correct: what is the correct URL? If it is correct: any ideas when the repo...

View Article


Image may be NSFW.
Clik here to view.

Performance drop when starting to write to a new chunk

Hi, We are using TimescaleDB 2.14.2 on PostgreSQL 14. We are currently executing load tests with an emulator that emulates the expected load. Our data load is very write-heavy. There are multiple...

View Article


Partition by additional dimension and query is 10-times slower instead of...

On PostgreSQL 15.6 and TimescaleDB 2.14.2 self-host on prem. TEST 1: Hyper-table partitioned by time Create PostgreSQL table. Convert table to hypertable with: SELECT CREATE_HYPERTABLE('mytable',...

View Article

How to utilize TimescaleDB for managing deeply nested JSON data

Hi All, We are currently dealing with extensive nested JSON data originating from networking devices. Our objective is to employ TimescaleDB for the storage of both the nested JSON and monitoring...

View Article

Performance problem

Hello, I use Potsgres 13 with timescale 2.15.3. I have a table partitioned to 170 chunks. I want to get records from time range that is contained by only one chunk. When i get them directly from chunk...

View Article

Same query different results

I am charting my data on grafana. I noticed when I do few refreshes the data is different everytime eventhough I have the same time range. I don’t think its a grafana problem but timescaledb. My query...

View Article


Glacial query speeds, looking for guidance [beginner]

Dear community, We are using timescale self-hosted inside a docker container. Generally, we are very happy with the performance and features, but we recently stumbled into a problem that I’m unable to...

View Article

Very Slow Updates on Compressed TimescaleDB Hypertable when using Joins

Hi, We have major performance issues with updating rows in compressed chunks. We have a strong requirement to be able to update older, already compress data (should happen very rarely though). We...

View Article


Cannot use column for both ordering and segmenting

Hi! It was updated TimescaleDB to 2.16.0 on PG 15.2. I planned to check FK to hypertable but focused with situation that I cannot make hypertable to be compressed. Here the script to reproduce: DROP...

View Article

Using Timescale hyperfunctions inside Rust program

Hi, I am building a read REST API for timescale. It is currently using sqlx crate to run traditionnal SQL queries. I would like to add downsampling to the queries. Saddly, sqlx can not run timescale...

View Article


Continuous aggregates on top of another continuous aggregate without losing data

Hi, I’m currently trying to aggregate data from one continuous aggregate to another. The “parent” continuous aggregate has a relatively short retention time, which I noticed, also affects the “child”...

View Article

CALL run_job(3047) - window [ -9223372036836000000, 1723464000000 ]

Hello, when calling run_job(3047) on one of the continuous aggregate jobs we currently see the output below CALL run_job(3047); DEBUG: Executing policy_refresh_continuous_aggregate with parameters...

View Article

Chunk has no dimension slices

I have a timescaledb that stores data from Zabbix, so we’ve always just used scripts from Zabbix to create and maintain hypertables. Now I’m trying to run a migration script from zabbix, but I get...

View Article
Browsing all 291 articles
Browse latest View live