Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
50 views

I created two tables—one normal table and one TimescaleDB hypertable—and inserted 50 million records into each. However, I’m not seeing a significant performance difference between them. In fact, the ...
Riton Elion's user avatar
0 votes
0 answers
36 views

I have a PostgresQL 17 DB with a quite simple table (no outer relations) but with a lot of data (around > 446 000 000 records) storing some events on a day basis representing more than 2 years of ...
R-C-'s user avatar
  • 3
1 vote
1 answer
94 views

I'm using a self-hosted TimescaleDB instance to store logs. I have a hypertable logs that is partitioned by the timestamp column. I need to perform a fast lookup query based on the event_key column, ...
Oussama Jmâa's user avatar
1 vote
0 answers
44 views

I've encountered a big roadblock on migrating my data to hypertables: a unique constraint can only exist if it includes the column used by the hypertable to partition. However, we often reference data ...
PerchunPak's user avatar
0 votes
1 answer
69 views

I’m testing a TimescaleDB cluster (1 primary + 2 replicas) behind PgCat, running in Docker Swarm. Sometimes write queries (CREATE TABLE, INSERT) fail with: psycopg.errors.ReadOnlySqlTransaction: ...
B A.J Amar 's user avatar
0 votes
1 answer
124 views

After our provider upgraded our pg-14 database from 14.17 to 14.19, with timescaledb extension 2.5.2, our app completely broke because of awful database performances. Our analysis showed that the ...
7hibault's user avatar
  • 2,479
0 votes
0 answers
41 views

I’m working with hierarchical continuous aggregates in TimescaleDB and noticed inconsistent behavior. According to the documentation: "The time bucket of a continuous aggregate should be greater ...
Darpek's user avatar
  • 1
0 votes
0 answers
60 views

We have a hypertable : transact_time (BIGINT) : time column for partition, id (BIGINT) : unique key All the queries that hit this table are of the pattern : SELECT [columns] FROM hypertable WHERE ...
Harsh Sharma's user avatar
0 votes
0 answers
105 views

I'm running into unexpected behavior when trying to use prepared statements with TimescaleDB through PgBouncer in transaction pooling mode. According to the Psycopg3 docs on prepared statements and ...
MattQF's user avatar
  • 1
2 votes
1 answer
224 views

I am trying to configure Telegraf to ingest array data from an MQTT topic into TimescaleDB. My goal is for array-like values to end up as double precision[] instead of text. For example, if I prepare ...
Joachim Spange's user avatar
3 votes
1 answer
99 views

I have a TimescaleDB table that records activities of various devices. This is a huge table and any interactions with it are normally expensive. Devices can be enabled as a group, and activation has a ...
kaqqao's user avatar
  • 16.1k
0 votes
0 answers
230 views

I'm struggling to properly install TimescaleDB on my existing postgres 14 database. On my other machine I have postgres 16 and I installed it flawlessly, everything worked from the start but on psql14 ...
Yuri Costa's user avatar
0 votes
0 answers
92 views

I have PostgreSQL v17.0 and TimescaleDB v2.18.0 installed on a windows 11 64bit machine. Now I want to upgrade TimescaleDB to v2.20.3, but the upgrade procedure doesn't work, PostgreSQL still reports ...
Guido Niewerth's user avatar
-1 votes
1 answer
493 views

I am attempting to use the TimescaleDB extension with Azure Postgres but I keep getting this error Because timescaledb isn't a trusted extension, only members of "azure_pg_admin" are ...
MRainzo's user avatar
  • 4,014
1 vote
1 answer
75 views

What I'm currently doing is this: SELECT time_bucket('60 min', raw_data.timestamp) AS time_60min, COUNT(raw_data.vehicle_class) AS "count", raw_data.vehicle_class AS "...
PhilippR's user avatar
1 vote
0 answers
62 views

I'm running into an issue trying to create a continuous aggregate in timescale where the refresh command throws an error ERROR: out of order points: points must be submitted in time-order. I'm new to ...
shadyhill's user avatar
  • 535
0 votes
0 answers
118 views

I’m currently using TimescaleDB 2.19.0 integrated with Ignition, and I’m encountering a significant performance discrepancy between executing the same SQL query via different tools: When the query is ...
Oscar Castillo's user avatar
-1 votes
1 answer
60 views

I need some help with selecting a self-hosted time-series database Let's say I have a device that forecasts some value, e.g. tomorrow's temperature in my room. The device always forecasts exactly 24 ...
Aleksejs Fomins's user avatar
0 votes
0 answers
276 views

I am testing a Timescale DB for a migration, and there is a query which is very slow depending on the time range, when using m.ts >= '2019-07-03 11:50:00+00' the query takes 1m30s (!), but with m....
eymerich92's user avatar
0 votes
1 answer
114 views

I have a Telegraf configuration with which I connect my PostgreSQL. If I store the password there in plain text, the connection works: connection="host=HOST port=PORT user=USER password=PASSWORD ...
draekster's user avatar
0 votes
1 answer
72 views

I have a continuous aggregate on a hypertable that has an integer based time. The integer value is not an epoch() but it is a monotonically increasing integer, producing a new value approximately ...
user2465039's user avatar
4 votes
3 answers
111 views

I have two identical queries to a PostGIS database, but one takes much more time to finish. 'table1' is a TimescaleDB hypertable and contains ~7 million rows, while table2 contains only 10 rows. These ...
orlb's user avatar
  • 41
0 votes
1 answer
110 views

After the autogenrated initial migration, when running another autogeneration all foreign keys are beeing dropped and recreated. Example Code from the migration script: op.drop_constraint('...
tnfru's user avatar
  • 364
2 votes
0 answers
175 views

I have installed postgres using helm charts helm install patroni bitnami/postgresql-ha --values default-values-repmgr.yaml Image: bitnami/postgresql-repmgr:16.4.0-debian-12-r27 postgresql-repmgr this ...
user748447's user avatar
0 votes
0 answers
126 views

Im using kubernates with 3 Nodes. I need one Image which has postgres extention timescaledb & patroni (or repmgr) which will do the replication and HA using Helm Charts Im using this image ...
user748447's user avatar
0 votes
1 answer
48 views

I have a table that contains IoT updates from many devices. I'd like to calculate an average for each hour based on the device readings. I would like those readings to be carried forward before ...
Marek's user avatar
  • 1,289
0 votes
1 answer
199 views

Edit note: This question was updated a couple of times for clarification. The problem We have a hypertable that holds the latest device readings. At this point we have around 1000 devices (each device ...
4strodev's user avatar
0 votes
1 answer
161 views

I am currently setting up a read replica to offload a heavy parallel workload from master to a replica, so that the heavy parallel reads we are doing are not affecting other important task that the ...
brax94's user avatar
  • 33
1 vote
1 answer
58 views

I wanted to see if anyone can suggest ways around this before I give up on it entirely as an option. We have a Postgres (14) TimescaleDB database. It has several hypertables, each of which is ...
user1407764's user avatar
1 vote
0 answers
159 views

I'll try to keep this brief. I have a hyper table for stock data called tick_data. I then create a continuous aggregation of 5 seconds of this data. With this I'm trying to create 1 minute ...
Enigma's user avatar
  • 15
0 votes
1 answer
515 views

I am trying to insert data into a hyper table using c# .net application and I am getting the error/exception: MessageText: invalid INSERT on the root table of hypertable "_hyper_31_1083_chunk&...
Athem's user avatar
  • 25
1 vote
1 answer
51 views

I have user function: CREATE FUNCTION public.some_func(arg1 timestamp without time zone DEFAULT NULL, arg2 BOOLEAN DEFAULT FALSE) RETURNS text ... In timescaledb(2.15.3) I registered job as: ...
Oto Shavadze's user avatar
  • 43.3k
0 votes
0 answers
97 views

I'm having the same issue here as already asked before in this post: time_bucket_gapfill and interpolate When using time bucket with readings the interpolation only calculate the correct value on &...
Giuseppe Palmieri's user avatar
1 vote
2 answers
81 views

I have a case where I have a table "tab" that stores data (keyed by symbol and time) as well as a second table "summ" that stores the exponential weighted running average of the ...
Stuart's user avatar
  • 1,502
0 votes
2 answers
176 views

I have a timescaleDB but I cannot seem to be able to use the time_bucket method with less than one day intervals. The code attempting to access it is running inside of a fast API and is as follows : ...
Matthieu Raynaud de Fitte's user avatar
0 votes
0 answers
197 views

I've got about 435 million rows of the form: time, sensor_id, sensor_value where time is a unix timestamp rounded to one decimal point, sensor_id is an integer, and the sensor_value is a float. The ...
EllipticalInitial's user avatar
0 votes
1 answer
68 views

How do I schedule performant string extraction in postgreSQL and timescaledb? I want to extract unique dates from a string to use as a selector for a realtime time series database. I use the DISTINCT ...
fip's user avatar
  • 63
1 vote
0 answers
82 views

Following are the queries in timescaledb which i need to convert into clickhouse as clickhouse supports timeseries data as well Following are the timescaledb queries: CREATE MATERIALIZED VIEW ...
Hassan Arshad's user avatar
1 vote
1 answer
110 views

This is my first time using TimeScaleDB so I don't have a lot of experience with its usage patterns. Here's the context: I'm building an analytics application that uses TimeScaleDB to generate time ...
Samuele B.'s user avatar
0 votes
1 answer
366 views

I'm currently working with the llama_index Python package and using the llama-index-vector-stores-timescalevector extension to manage my vectors with Timescale. However, I’ve encountered an issue ...
Gianluca Baglini's user avatar
-1 votes
1 answer
203 views

I’m working with a TimescaleDB instance that has 10 CPU cores and 10 GiB of RAM, currently hosting approximately 9 million rows, which is continually growing. I'm encountering resource limitations and ...
Hesam Norin's user avatar
0 votes
1 answer
101 views

I have postgres timescale table that stores sensor measures. The table has composite primary key with the id int incremental column and the dateTime column(it was required to be composite in oreder to ...
Adzhiew's user avatar
0 votes
0 answers
157 views

We have a very large Postgres database on version 12.3 with timescaledb version 2.5.1. Size of db ~30 TB **# of entries in _timescaledb_internal = ~1.7 million. (chunks for historical data). **# of ...
cooljack's user avatar
0 votes
2 answers
270 views

I have a PostgreSQL cluster composed of four machines, configured as follows: Three PostgreSQL nodes managed by Patroni and ETCD, using PgBouncer. One of these nodes is the primary, and the other two ...
Valentin Cerfaux's user avatar
1 vote
1 answer
163 views

I have created multiple continous aggregates on my hypertable using timescaledb 2.15.3 extension in postgreSQL 15. When inserting historical data to this hypertable, I have to manually refresh all ...
Aamir Dalal's user avatar
1 vote
1 answer
67 views

I have a massive live table that I would like to continuously aggregate. The live table is massive, so it would take hours to fully populate the materialized view for the continuous aggregate. Is it ...
Arlo Guthrie's user avatar
  • 1,234
0 votes
1 answer
199 views

I observe that data is not getting deleted from Timescale DB tables either automatically or manually. Here are my DDLs: CREATE TABLE traffic ( src_ip_addr INET, ts TIMESTAMPTZ NOT ...
user2233706's user avatar
  • 7,397
0 votes
1 answer
322 views

We have a Kafka topic with Cloud Events in JSON Schema format that we connected to Timescaledb/PostgreSQL with JDBC sink. To convert a table to a hypertable we need a time column, but our date time ...
Piotr Kozlowski's user avatar
0 votes
0 answers
55 views

I'm curious what would happen in case I'll change the compression settings of certain hypertable which already have some data. I'm not talking about compression policy (which is, as I understand, ...
rtf_leg's user avatar
  • 1,819
0 votes
1 answer
160 views

I currently have a hypertable that is partitioned only by time and I want to add an extra dimension e.g. account_id. My timescaledb version is 2.8.1 and reading through the docs, I found this: You ...
Konstantinos Gallis's user avatar

1
2 3 4 5
16