Quantcast
Channel: TimescaleDB and PostgreSQL - Timescale Community Forum
Browsing latest articles
Browse All 281 View Live

Continuous aggregate, time_bucket_gapfill, 5s averaging - sanity check

Hi all, I have a system that produces time series data under normal operation. There are multiple instruments, each of which can collect multiple parameters. I am ingesting the data in a self-hosted...

View Article


Chunk_skipping is not working

Hi all! I tested the chunk skipping indexes feature in the test database and everything was successful: data for multiple id values is selected very quickly. In a productive database, data is not...

View Article


5 second planning for updating a single row. Execution 0.8 ms

Hi I currently have a hypertable with ~5 billion rows. I have set compression to 3 weeks prior to DeliveryStartUTC column which is of type timezone. I have data from a few years back and 5 years in...

View Article

StackGres And Timescale

Hey everyone, I’m so impressed with timescale, the performance is amazing and mind blowing , Huge THANKS to the developers. I was doing some tests and i faced this error when trying to create...

View Article

WAL segment has already been removed error even on almost idle DB

Hello, After upgrading to pg16.4-ts2.16.1-all version we get this error both on prod and on staging on large and small clusters regardless of use patterns or configigarion settings. We have clusters...

View Article


Slow "order by .. limit 1" performance

Recently we made a switch to Timescale and are still in testing mode, however we’ve ran into issue with certain queries. Here’s a sample hypertable structure we have with “candle_time” column stored...

View Article

Excessive Logs After Upgrading to Latest TimescaleDB Version

Hello Team, After upgrading to the latest TimescaleDB version (2.11.2), I’ve noticed that my database logs are filling up with repetitive messages, including: These logs appear continuously during...

View Article

TimescaleDB and on change events

Hi TimescaleForum members, I need your help! I have a table were I collect events with a deviceId, a timestamp, a category name, a specific code. One or more events with the same category, code and...

View Article


Gap in aggregated timeseries data using Continuous Aggregate

Hello, I am using Timescale 2.16.1 and am having an issue with a real-time continuous aggregate missing data. The continuous aggregate joins between a hypertable and some regular tables, so to keep...

View Article


Zabbix 5.0.46 and timescale 2.18.0

Hi There, Ubuntu 24.04 Postgresql 14. After I tried to connect the zabbix_server and I got those lines: QUERY: CREATE TABLE IF NOT EXISTS partitions.history_p2025_02_08 (CHECK ((clock >=...

View Article

Parallel Queries slower than subsequent queries

Hello, I am currently looking into TimeScaleDB to figure if we can use it in production. My experience with it is very limited. My simple test setup looks like this. I have one (big) table that...

View Article

Move chunks() to different table space will reduce disk storage

I’m using my local machine for timescaledb now I want to reduce disk space so I want to move old chunks to new table space to reduce storage (Timescale Documentation | Manage storage using...

View Article

TimescaleDB Hypertables and pglogical Bi-directional Replication

Hello! I’ve got a main and backup postgresql server where both have timescaledb and pglogical installed. I’d like to setup bi-directional replication using pglogical where my hypertables on my main...

View Article


Why is the time index default DESC?

Hello all, Why is the time index default DESC? Reading this post https://dba.stackexchange.com/questions/340021/should-a-time-index-be-in-ascending-or-descending-order with the answer “You should...

View Article

Compress_chunk_time_interval weird behavior over chunk interval

We have started to use compress_chunk_time_interval and after using it we have seen a new error regarding a constraint we are not aware of. When we try to insert a new row we get error: Error: new row...

View Article


Timescaledb-2.18.2.so and postgres 16.4

Hello, I am getting the following error when i try to create the timescale 2.18.2 extension on a postgres database v16.4 ERROR: could not load library “/usr/pgsql-16/lib/timescaledb-2.18.2.so”:...

View Article

Image may be NSFW.
Clik here to view.

Unexpected Query Planner Behavior in TimescaleDB

Hi everyone, I recently encountered an issue where TimescaleDB’s query planner is not using an index I created on a hypertable. The table contains millions of rows & I expected my queries to...

View Article


Image may be NSFW.
Clik here to view.

Efficient Update of hundreds of millions of rows

Hi all! Are there ways to speedy update of hundreds of millions of rows in comressed hypertable. I tried approach described in article. But the update affected only a small part of the values. I...

View Article

Does time_bucket_gapfill needs constant start and end?

It is not clear to me from the documentation if the start and finish parameters of the time_bucket_gapfill can only be constant values. When I use time_bucket_gapfill with a time range that is...

View Article

Query on hypertable runs very slowly on first run only

Hey, We’ve started a process that basically runs queries throughout the entire hypertable, stepping e.g. 10 days of data at a time. This has been done in the past, and it was fast enough. Now for some...

View Article

Simple dynamic continuous aggregates

Hi. We’re experimenting with Timescale, and I have a specific question about continuous aggregates. We’re gathering data from many different devices each with its own unique parameters. We’re planning...

View Article


Image may be NSFW.
Clik here to view.

Ingesting data using Telegraf to TimescaleDB in Narrow Format

I am interested in collecting data from an OPC UA server and ingesting it into Postgresql via Telegraf. I have had some success in that I can input the data from an OPC server and ingest it into...

View Article


Check which timescaledb licence (Apache only or Community edition) is enabled...

Hello, I used to check if the right timescaledb licence is enabled within postgresql through this query: select * from pg_available_extensions; And reading timescaledb returned row I used to check in...

View Article

Timescaledb-2.19.0.so and postgres 16.4

I installed TimescaleDB 2.19.0 and I’m using PostgreSQL 17.0 via DBngin on macOS . I manually copied the required files, but I did not run ./timescaledb_move.sh . When trying to load the extension in...

View Article

Continous aggregate creates chunks of 1800 days

When creating a continous aggregate with WITH NO DATA and time_bucket('1 day'::interval, tf."Timestamp", 'Europe/Paris') AS "Timestamp" I noticed that it creates chunk size of 1800 days even if I run...

View Article

Browsing latest articles
Browse All 281 View Live