TimescaleDB backup and restore issue
Hello Community, I have recently ‘upgraded’ from postgres to timescaleDB (even though its an extension, it feels like an upgrade), and the time has come that I need to work on backup and restore...
View ArticleSQL for returning time series as contiguous tranches?
Is there a way to select from a hypertable data grouped by tranches of contiguous data? I have a table that has 10hz data, but that data sent via RF transmission and then written to timescale, so...
View Article"1 second" vs NULL for continuous aggregate end_offset?
I want to have the most up-to-date data in my continuous aggregate. When I enable real-time, I cannot get the performance I want (especially in the case of multiple continuous aggregates on top of...
View ArticleWhat will happen to the order of records with same timestamp?
I understand we can insert multiple events with the exact timestamp in TimescaleDB. Now question is whether the ordering will be preserved, according to how they are inserted? If not, what is the best...
View ArticleTimescale database RAM is continuously increasing. What can be the reason?
We have a microservice, which is continuously inserting data in our Timescale database. This increases our database disk size (pvc size, as we have hosted our application in cloud using Kubernetes)...
View ArticleHelp upgrading self-hosted version
Hi, I hope I can find some help here. I’m new to TimescaleDB and don’t know how to upgrade the current version I’m running with the latest release. Due to my lack of knowledge, maybe I took the wrong...
View ArticleTable schema design in a variety of data types
Describe the issue Hi, I seek advice during the database construction process. I have an application that reads all data points from the device, with approximately 20,000 data points. I want to store...
View ArticlePerformance issue in write-heavy workload
Hi, We are in the process of migrating our IoT backend to use TimescaleDB for storing IoT data. We are using TimescaleDB 2.14.2 on PostgreSQL 14. We are currently executing load tests with an emulator...
View ArticleBackfilling from aggregated csv data
Hey. I think I saw it somewhere, but cannot find now. I have a couple of jobs that need to be done: Backfill aggregated data on a new continuous aggregate. So I have a cagg, for which I don’t have raw...
View ArticleFeature: Swinging Door Compression
Commercial time-series data historians often use swinging door compression as this reduces storage required, enhances retrieval efficiency, minimizes noise, simplifies analysis, and enhances...
View ArticleAlter time_bucket in a continuous aggregate
I have created a continuous aggregate over a materialized view with time_bucket('1 day'). Can I use Alter Materialized View command to change the time bucket to 12 hours without losing old data in the...
View ArticleBuilding a continuous aggregate on a continuous aggregate on a continuous...
CREATE MATERIALIZED VIEW daily_element_views WITH (timescaledb.continuous) AS SELECT company_uuid, site_9char, page_9char, element_9char, time_bucket(‘1 day’, view_start, ‘PDT’) AS element_date,...
View ArticleAvoid duplicates in timescale table?
Hi there, we want to store IIoT data in TimescaleDB. We have used (plain) PostgreSQL the last years and want to switch to TimescaleDB. I have a question reagarding avoiding duplicates: Is it okay to...
View ArticleHierarchical continuous aggregates hourly and daily with averages
Hi, I use timescale for a personal application, and I recently upgraded it from 2.6 to 2.14. I want to setup the new feature Hierarchical Continuous aggregates coupled with hyperfunctions Toolkit for...
View ArticleTimescaleDB: Optmization of partitions, index and Co
Hi there, we want to store IIoT data in TimescaleDB. We have used (plain) PostgreSQL the last years and want to switch to TimescaleDB. Therefore I’m completely new at TimescaleDB and do not have any...
View ArticleDestructure Json Array Elements in Continuous Aggregate
This is what I have so far, but timescale complains about the lateral join CREATE MATERIALIZED VIEW price WITH (timescaledb.continuous) AS select time, (row ->> 'price_id') as "price_id", ((row...
View ArticleTimescale hypertables based on linear measures/ length measures possible?
I have the following manufacturing use case in mind. A lengthy product such as steel wire is produced and position sensor values are collected continuously every few cm as the wire traverses the mill...
View ArticleStrategies for Optimizing Continuous Aggregates with Frequent Historical Data...
Hello TimescaleDB Community, I’m managing a database with hundreds of time series, each having millions of points. Right now the table includes time, seriesId, and value columns, with continuous...
View ArticleDoes Timescale provide an HTTP API to access it?
Does Timescale provide an HTTP API to access it? Similar to: curl -X POST "http://<db_url>:<db_port>/api/v1/sql?db=<database>&pretty=true" \ -u...
View ArticleERROR: XX000: tuple already updated by self
I created a hypertable, aggregation policy and retention policty. Everythink worked untill chunks were deleted (I am not sure if I they were deleted manually by me, or by retention policy), but now...
View Article