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

Modelling many-to-many relationships in timescaledb

I’m currently using timescaledb to model trades and quotes. In our system, many trades can be associated with many quotes and vice versa, which leads to a many-to-many relationship. Our trades table...

View Article


Image may be NSFW.
Clik here to view.

Why does adding a query condition affect the results?

with full_data as (select time_bucket_gapfill('1 day':: interval, "recode_time") full_time, meter_code, interpolate(max(max_reading)) max_reading from water_downsampling_day where meter_code =...

View Article


Why does a union kill performance, when its fine to run the queries one-by-one?

I need to run a query that selects data from three tables. The “first” of the three is a timescaledb hypertable. I have “organized” my query into three parts. If I run any of the three parts...

View Article

Time_bucket_gapfill to start on Sunday and not Monday with bucket_width='weekly

Hey everyone. I use the time_bucket_gapfill function, with a weekly bucket width. the output is always returned such that the week starts on monday. For example - even when specifying these...

View Article

Config not working in timescale ha docker container

When running a timescale ha docker container, postgres config is not being used.: Provide a TL;DR of the problem TimescaleDB version: 2.10.1 PostgreSQL version: 14 Other software: Docker: 26.1.4 OS:...

View Article


Supported versions/End of Life

Is there a list where I can see which extensions are currently supported, and which are End of Life or end of support? 1 post - 1 participant Read full topic

View Article

Move of data from one database instance to another - how?

I have two database instances. One is postgres 15 on redhat with timescale 2.15 The other is an old postgres 9 on centos with timescale 1.3. I want to move all the data from the old server into the...

View Article

Not able to drop the chunk manually

Hello Team, My timescale DB is hosted in kubernetes, we have configured the dropping of old data automatically. Result of latest run for dropping old chunks is: SELECT * FROM...

View Article


BRIN Index in postgres

Hello Team, We want to fetch 3 months old data, and the total data size is close to 370GB, wanted to have clarity. Does the BRAIN index will help in this case? The column where I am applying BRAIN...

View Article


Large number of tables: system in recovery mode

HI All, very much a newbie when it comes to databases. I am trying to store stock market data in a TimeScaleDB running in a docker container on a linux server. The software package that i use wants me...

View Article

Too slow query when filtering for date range + LIMIT 1 on large table

Hi guys! I have a hypertable consisting of around 20million entries. When filtering for date entries (< mydate) LIMIT 1 I still have query times of around 250ms-1sec which is too slow for my use...

View Article

Help moving DB to new server

I’m trying to migrate an old host that is on Psql v14 with timescale version 2.6.1 to a new server with Psql v16 and ts 2.15.1. I’ve already tried by first cloning the old server to a temporary...

View Article

Refresh Continuous Aggregates take forever

Hey all, I’m having an issue where refreshing continuous aggregates take forever and it seems to be in a “stuck” state. There are no other ongoing hanging queries in db except for the refresh...

View Article


Timescaledb extension in Azure PostgreSQL flexible server

I want to use the compress feature for the timescaledb extension on Microsoft Azure PostgreSQL flexible server. I need this feature because my data is growing very fast, but the Apache license on...

View Article

VERY Slow query execution with simple time condition

I have stock 1 minute data DB organized in hypertable, chunks = 1 day. i used 2 minutes CAGG . query = “”" SELECT * FROM m2 WHERE time >= ‘2024-03-28T00:00:00’ ORDER BY ticker"“” As you can see...

View Article


How to determine whether a continuous aggregation has completed computation...

How to determine whether a continuous aggregation has completed computation and storage? Create a continuous aggregation: CREATE MATERIALIZED VIEW WATER_DOWNSAMPLING_HOUR WITH (TIMESCALEDB....

View Article

Error unpacking rpm package timescaledb-toolkit

I’ve tried many different versions of timescaledb-tookit and all fail with the following: $ yum install timescaledb-toolkit-postgresql-16 Installing : timescaledb-toolkit-postgresql-16-1.18.0-0.x86_64...

View Article


Image may be NSFW.
Clik here to view.

The latest chunk query slow

hi: I have a Timescaledb data table, which is partitioned according to 15 days. When I wrote some data in it, I found that when executing a simple query, the query was the slowest for the data in the...

View Article

Image may be NSFW.
Clik here to view.

High CPU Usage in PostgreSQL Service

Hello, I have a docker swarm architecture, where 2 different database service is running. One is TimescaleDB HA Service with 3 Patroni Cluster and 3 ETCD Cluster, one-one container deployed on each...

View Article

Continuous aggregate edge case (using LAG in view)

I’m in the process of migrating from Timestream to Timescale Cloud and want to get off on the right foot for ingestion and real-time aggregates. I get meter data with an accumulating “consumption”...

View Article
Browsing all 287 articles
Browse latest View live