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

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


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

Performance issue when refreshing continuous aggregate

Hello! I’m not quite sure if I’m doing something wrong here or if this is expected. I’m currently using the version 2.19.1 on a self hosted PostgreSql (16.8-1) in the Azure cloud. I’m currently facing...

View Article

ERROR: TimescaleDB background worker connected to template database, exiting....

I am trying to create a custom timescaleDB image, using https://github.com/timescale/timescaledb-docker as base image. However is see an error always getting logged on installation “ERROR: TimescaleDB...

View Article


Image may be NSFW.
Clik here to view.

Newer chunks are slower to read from?

Hi, while trying to do some chunk size tests to figure out the best interval for our hypertable I stumbled upon something I couldn’t explain and hope to get some insights from experts on this topic....

View Article

Using continous aggregates for total (all-time) aggregates?

I’m experimenting with Timescale for tracking views on a website, and while continuous aggregates work great for aggregating views per day/week/month/etc., I was wondering how to use them for...

View Article

Distributed AN Cluster?

Hello, Is there any way to horizontally scale the TimescaleDB Access Node (AN-primary node)? Most resources talk about vertical scaling for the AN, but that’s not exactly what I’m looking for. What I...

View Article


Query to combine multiple hypertables of sensor values

I have multiple tables with a Unix timestamp and a sensor reading/value. The sensors are all of the same data type(float). I am trying to figure out a query that combines all of the sensor readings...

View Article


Retention Policy without Deleting the Old Chunks

Hello, I need your help. My data is growing at the rate of > 10GB per day which is faster than the money I can spend on SSD raid. I have tried compression but the query speed is not idea,...

View Article

Hypertable insert causing chunk creation conflict

We are running into an error with an insert query that is very weird. Context : We are running Postgresql 15 and timescaledb extension 2.15.3 We have a readings hypertable, it has chunk of 1 month...

View Article

Does Vacuum in one Partition dies free up space for another partition?

Vacuum does free up space to allow to write new rows, but I’m not sure if one Partition can re-use the free space if another partition or if I need VACUUM FULL to get the disk space back first? 1 post...

View Article

[suggestion] Better logging of errors

Hello, would be possible to review a text of the error (warning) messages written into the logs by adding database name? When we have multiple databases with TimescaleDB plugin it is bit complicated...

View Article


TimescaleDB hypertables rollback

I have implemented TimescaleDB and converted some existing PostgreSQL tables into hypertables. Before moving to production, I want to understand the recommended rollback strategy — in case any issues...

View Article

Prisma migration fails

Is there a recommend way to use Prisma with Timescale? I get it to work, but I have issue when I run prisma migrate dev or reset. I host my instance locally with docker, so I guess prisma drops the db...

View Article


Image may be NSFW.
Clik here to view.

Chunk based decompression and recompressing back for entire table

Hi @jonatasdp , Feel free to add or correct if any correction required. I have developed a SQL script to perform chunk-wise decompression and recompression. I thought it might be helpful for others...

View Article

HyperTable Logical Replication WAL issue

I currently have an issue where writes to my hypertable are causing gigantic WAL segments which can’t be logically decoded causing the WAL sender to run into a memory issue: ERROR: could not receive...

View Article


Pg_restore error: COPY failed for table function 0x7fd4b7be8090 returned NULL

In brief: Lots of errors (~700) during pg_restore command pg_restore: error: COPY failed for table “compress_hyper_922_18274_chunk”: ERROR: function 0x7fd4b7be8090 returned NULL all errors are the...

View Article

STATS_AGG with NULL to save storage space in Continuous Aggregates

I’m using a Hypertable to store metrics which are quite sparse. So for, example, the table has around 6 columns but generally only one of these are set per row. I’m using a continuous aggregate with...

View Article

Problem Creating INDEX

Hi everyone, I’m migrating a database from vanilla PostgreSQL to TimescaleDB. Specifically, I have a table containing measurements from various devices. TimescaleDB was installed using Docker with the...

View Article

Publish tdigest library

Hi Timescale! I’m trying to use your timescaledb-toolkit’s tdigest support. It’s cool, but I need to send tdigests from my client. Each of my servers does over 80,000 requests per second at peak, and...

View Article


How to speed up compression policy to use more system recources and to...

We have upgraded TimescaleDB to v2.20.2 on PostgreSQL v15.3 on Red Hat 9.6 because we have seen in few of latest versions that a lot of hard work was performed on compression. We have a requirement to...

View Article


Image may be NSFW.
Clik here to view.

Can I use indexes on columnstore in production DB?

Hi! I’m testing new functionality: hypercore TAM and indexes on columnstore. The documentation says that this feature will be removed starting with v2.22.0. Is this true, or can I use these features...

View Article

Query efficiency with sub-query defined time ranges / event table

Hi, I have a fairly large hypertable (t) with a few thousand chunks. I hacked together an events table (e) which itself holds start_time and end_time values which correspond to ranges of time in t....

View Article

Gapfilled select from the whole cagg

Hi all, what is the best way how to select all data for some variables from the continuous aggregate with time_bucket_gapfill? What I am trying to do: I have 5min, 30min, 2h, and 1d continuous...

View Article

Browsing latest articles
Browse All 337 View Live