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

How to obtain the installation package (rpm) for the community version?

I downloaded the installation package for timesaledb: https://download.postgresql.org/pub/repos/yum/15/redhat/rhel-7.5-x86_64/timescaledb_15-2.11.0-1.rhel7.x86_64.rpm After installation, I attempted...

View Article


What is the best approach to prevent autovacuum transaction wrapparound for...

Hi, we are using TimescaleDB 2.14.2 on PostgreSQL 15.6 on Red Hat 9.3 self-host on prem. I have been reading Managing Transaction Wraparound article and executing SELECT statements from article I have...

View Article


How to set the timescaledb.max_background_workers appropriately?

We are using TimescaleDB v2.14.2 on PostgreSQL v15.6 on Red Hat 9.3 self-hosted on prem. I am reading article Timescale Parameters You Should Know About and I am specially interested in parameter **...

View Article

Add compression without refresh policy

I have a continuous aggregate that I refresh manually every hour, for a specific 1 hour timeframe with some lag from the current hour. I don’t want to add a refresh policy that will interfere with...

View Article

Why is there no real-time aggregation of data?

Scenario: There is a water meter that collects its readings every 15 minutes and writes the data into WATER-METER1 Now it is necessary to perform downsampling on the collected data (taking the maximum...

View Article


Update TS to 2.15: experimantal function migrate error

Good day to all! During update TSDB 2.14.2 to 2.15 error occurred: ERROR: tried calling catalog_get when extension isn't loaded CONTEXT: SQL statement "CALL...

View Article

Newbie question: downsampling all tables?

All, I’m not a power user, simply using a database (currently influx1.8) for archival of smarthome data. So I’m a bit surprised that after reading about every article and forum post on timescaledb and...

View Article

Setting password_encryption to allow md5

I am attempting to create a new user in my Timescale database to use the ‘md5’ password encryption. in RDS I was able to use a custom parameter group to allow md5, but I do not see that option in...

View Article


Event based user actions

I am in the process of building out an algo trading system using TimescaleDB. We have a continuous aggregate that stores the OHLCV for candles. The issue is that we want to trigger certain logic on...

View Article


Is it possible to add unique constrain on a compressed chunks

I have a scenario where I need to add a unique constraint to an existing hypertable in TimescaleDB, which currently has compressed data. The process I am following now involves decompressing all the...

View Article

Image may be NSFW.
Clik here to view.

Why is the query result not within the query period?

There is a query statement whose query period is greater than ‘2024-05-01 00:00:00’. select time_bucket('1 day'::interval, "time") as recode_time, meter_code, max(dqljlcc) from water_meter1 where...

View Article

Retrieving the most recent record with skip scan is easy enough, but how do I...

Hello, I am using TSDB and want to get a set of most recent records. I only see good performance if I structure my query like so, and this shows that skip scan is being used when I run EXPLAIN ANALYZE...

View Article

Standard Postgres replication

TimescaleDB states that multi-node is deprecated from 2.13 onwards. I’d like to know what exactly this means. Will the standard Postgres replication continue to work? Will it also replicate databases...

View Article


Image may be NSFW.
Clik here to view.

Backup and restore without being the owner of the database

Hi, I am trying to backup/pg_dump my entire database (500GB) and when I restore it, there is no data in the timescaledb tables I read the documentation and found this : Timescale Documentation |...

View Article

Error during Minor Upgrade

Good Afternoon, I’m attempting to upgrade from TimescaleDB 2.2.1 to 2.13.1 on PostgreSQL 13.3. The goal is to upgrade TimescaleDB to 2.13.1 then Upgrade PostgreSQL (I get the same error trying to...

View Article


Timescale_post_restore() not found?

Am trying to do a self hosted migration by following the instructions here and I’m getting the following error: ERROR: function timescaledb_post_restore() does not exist LINE 1: SELECT...

View Article

Image may be NSFW.
Clik here to view.

Continuous aggregation calculation error

There is a transformer and every 15 minutes the collector automatically records its readings. Its readings are downsampled to the maximum hourly, daily, monthly, and yearly, respectively. But it has...

View Article


Image may be NSFW.
Clik here to view.

How to perform linear interpolation?

There is a water meter, and the collector records the reading every hour. The data is as follows: It can be seen that there is missing data at 14:00, 15:00, 16:00, and 17:00 in the afternoon. How to...

View Article

Table Design For Crypto Data with Continuous Aggregates

I am currently building a tool to analyze the price movements of the top 100 crypto tokens (by market cap). For now, we can assume that I have this list of 100 tokens hardcoded, and I have historical...

View Article

Continuous Aggregation Error: CTEs, subqueries and set-returning functions...

CREATE MATERIALIZED VIEW current_aggregate_view WITH (timescaledb.continuous) AS SELECT time_bucket (INTERVAL '1 hour', time_slot) AS time_slot, ( SELECT COALESCE(JSONB_OBJECT_AGG(A, COUNT),...

View Article
Browsing all 290 articles
Browse latest View live