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

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

Self hosted Supabase - using TSL license instead of apache

I’ve been hosting supabase for a while in railway. Our timeseries data has grown to a point where we need timescale to help scale. But after migrating my table to a hypertable I’m realizing that only...

View Article


Unable to compress chunks after update on TimescaleDB 2.18.2

Hello, may I ask you for an advice how to resolve error with compressing chunks. It started after update to 18.2. on 27.3. (posgresql 15.12). I checked data in hypertables and their length is max 459...

View Article

Optimized column order and compression

Hello all, Am I right that an (un)optimized column order in regard to storage (bigger types first, smaller ones last) is irrelevant as soon as it gets to compression due to the switch to...

View Article

Help! Downgrade TimescaleDB to a minor version 2.15.3 to 2.15.1(from apache...

Hi All! OS CentOS Linux release 7.7, PostgreSQL 14.17 timescaledb 2.15.3 apache license. How do I downgrade to 2.15.1 Timescale License? I’m trying to do pgsqldb=# ALTER EXTENSION timescaledb UPDATE...

View Article

Image may be NSFW.
Clik here to view.

Collation Issues when "downgrading" from HA to Standard Image

Hi! Because I figured that we don’t need any of the features the High Availability image provides anymore I wanted to see if a migration of our database from the HA to the Standard Image might be...

View Article


SIGSEGV in Refresh Continuous Aggregate Policy background worker

Thank you for one of the best open source products ever. Our TimescaleDB had a solid uptime of > 500 days, but now some dark clouds have appeared in the horizon. Our TimescaleDB server has started...

View Article


Help with hypercore (v 2.19.0)

Hello, I am new to Timescale but it looks amazing! I am trying to enable Hypercore on a Hypertable so that I can turn on compression, but keep running into an error. I am attempting to follow the...

View Article

Image may be NSFW.
Clik here to view.

Randomly slow insert into timescaledb and memory leak

Hi, I need your help. I just moved to Timescale for stock data. Previously in Postgresql, I use auto-generated ID field as Primary key but due to Timescale requirements I need to make a composite key...

View Article

Downsampling Timeseries Data By time interval

Hello, I am trying to downsample time series data based off a time interval. gp_lttb looks promising but executing it seems to do the same exact thing as normal lttb even when I specify the optional...

View Article

Browsing latest articles
Browse All 290 View Live