October 2026 Summaries
8 posts from Tiger Data
Filter
Month:
Year:
Post Summaries
Back to Blog
Adaptive Integer Compression (AIC) is a preview replacement for TimescaleDB’s DeltaDelta integer compression in version 2.31.0, with default activation planned for 2.32.0, designed to improve performance and storage across varied integer data patterns. Unlike DeltaDelta, which performs best on steadily changing time-series values but is difficult to vectorize and inefficient for mixed, irregular, or small batches, AIC analyzes blocks of up to 256 values and selects among six fast-decompressing methods, including frame-of-reference, patched frame-of-reference, dictionary, and run-length encodings. Benchmarks indicate that AIC improves isolated integer compression ratios by roughly 50%, reduces overall database storage by about 10%, and delivers 5–7 times faster isolated decompression, translating to a median query speedup of approximately 50% in tested workloads. Its smaller compressed values can also avoid PostgreSQL TOAST storage in some cases, reducing I/O and substantially accelerating filtered scans. AIC remains compatible with existing DeltaDelta-compressed data, but older chunks must be recompressed to gain its benefits, and users can enable it manually in 2.31.0 to evaluate results on staging data.
Oct 29, 2026
2,767 words in the original blog post.
Efforts to improve Eon, Tiger Data’s Slack agent, led to three memory-system designs aimed at retrieving relevant context without overwhelming agents with irrelevant information. An initial user-scoped list of text facts was simple but limited in sharing, organization, and proactive capture, while a later PostgreSQL knowledge graph offered rich metadata, temporal data, and relationships but required agents to define inconsistent edge semantics and perform complex SQL operations. A third design replaced the graph with an ltree-based hierarchy in PostgreSQL, making storage, navigation, sharing, and hybrid BM25-plus-embedding search more straightforward while allowing agents to choose what to save and retrieve without managing database mechanics. Although the tree could not express every relationship, targeted metadata links were added only for specific needs such as recovering surrounding conversation turns or Git history. As teams adopted the system for RAG use cases including data catalogs, marketing resources, documentation, and coding context, differing user and permission models showed that access policy should remain application-specific. These lessons led to searchgres.js, an open-source TypeScript library that extracts reusable PostgreSQL search, embedding, indexing, and filtering infrastructure while leaving applications responsible for information organization, permissions, workflows, and use of retrieved results.
Oct 22, 2026
1,911 words in the original blog post.
A resilient IIoT reconnect design for PostgreSQL and TimescaleDB uses a stable per-reading identity composed of site, device, channel, and device timestamp, enforced by a unique hypertable constraint and idempotent inserts so retransmitted batches cannot create duplicates. Gateways durably buffer readings in SQLite using WAL mode and a high-water mark that advances only after the PostgreSQL transaction commits, allowing safe retries after uncertain network failures. Replays are sent in ordered batches through a temporary staging table because COPY does not support conflict handling directly, then inserted with `ON CONFLICT DO NOTHING`; a separate replay role, connection limit, and per-site rate cap prevent catch-up traffic from severely reducing normal ingest capacity. The approach also accounts for columnstore timing, refreshes continuous aggregates only across the affected historical range, and monitors each site’s replay lag and silence. Validation compares edge-buffer counts, logged replay totals, and stored rows, while example benchmarks show that limiting replay speed substantially reduces its impact on live ingestion.
Oct 21, 2026
2,339 words in the original blog post.
searchgres.js is an open-source TypeScript library that uses PostgreSQL to combine BM25 full-text search, semantic vector search, and composable hierarchy, metadata, regex, and time filters in a single retrieval system. Its creators argue that effective RAG and agent memory depend more on retrieving properly scoped evidence than on storing vectors or building complex fact-extraction and memory-management pipelines, citing an F1 score of 0.665 on the LoCoMo benchmark using raw conversational records in one Postgres table. A power-plant example demonstrates how hybrid ranking can identify records explaining a Unit 2 output reduction while pre-filtering by plant, unit, and selected time interval excludes similar but irrelevant incidents. The library fuses semantic and keyword result rankings with Reciprocal Rank Fusion, manages asynchronous embedding generation and updates safely, and supports both human-facing applications and AI agents that iteratively adjust search parameters. Available under the Apache-2.0 license on npm for Node, Bun, and Deno, it requires PostgreSQL 18 with pgvector, pg_textsearch, and ltree extensions, while leaving users responsible for their embedding models, content organization, workers, and access-control rules.
Oct 20, 2026
2,053 words in the original blog post.
An IIoT PostgreSQL ingest pipeline can become saturated quickly when incoming readings exceed write capacity, causing backlogs that may lead to lost data or component failures, so the guide proposes monitoring measured ingest headroom rather than relying only on insert rates. It describes collecting minute-by-minute snapshots of inserted rows, WAL generation, requested checkpoints, replication lag, and dead tuples from PostgreSQL and TimescaleDB hypertable chunks, then establishing per-signal ceilings through incremental pgbench load tests on a production-sized staging environment. A database view converts snapshot changes into rates, compares each against its tested ceiling, and reports a single headroom percentage along with the signal closest to its limit, with WAL often serving as an earlier warning than insert throughput. The recommended alerts warn below 30% headroom, page below 20%, and escalate when replication lag and WAL both rise across several snapshots, while validation tests confirm that the monitor tracks expected load and replica delays. Suggested responses include allowing the broker to retain data, pausing write-heavy background jobs, increasing WAL capacity, batching inserts, removing unnecessary indexes, tuning chunk sizes, and evaluating lower-WAL ingestion options such as TimescaleDB direct compression.
Oct 16, 2026
1,717 words in the original blog post.
pg_vectorsearch is a new open-source PostgreSQL extension in alpha that introduces the PRISM vector index, a partitioned and compressed alternative to pgvector’s graph-based HNSW index. PRISM clusters similar vectors, stores compact RaBitQ representations sequentially, and scans relevant partitions using SIMD-friendly access patterns, reducing memory requirements, index sizes, and build times while maintaining high recall. Reported benchmarks show that at 100 million vectors, PRISM achieved 6 ms median latency at 95% recall on a 128 GB machine, whereas HNSW required 512 GB and took far longer to build; at one million vectors, PRISM also substantially outperformed HNSW on low-memory machines. The extension is intended to let organizations retain vector search alongside relational application data in PostgreSQL, enabling SQL joins, transactional updates, metadata filtering, and hybrid keyword-vector search without operating a separate vector database. PRISM supports pgvector-compatible vector types and query operators, several distance functions, parallel index builds, and a single main query-tuning setting, though heavy update workloads currently require manual rebalancing and deleted space is not yet reused. The developers plan automatic rebalancing, filtered streaming search, production hardening, parallel queries, and other improvements before and after general availability.
Oct 13, 2026
2,610 words in the original blog post.
For IIoT PostgreSQL workloads, query performance should be forecast from measured latency growth rather than addressed only after dashboards become slow. The approach uses pg_stat_statements snapshots to record cumulative query execution metrics alongside table row counts, tag counts, and dead-tuple percentages, then differences consecutive samples to calculate reliable interval-level mean latency while excluding bloat-affected observations. It recommends tracking representative single-tag, cross-tag, and dashboard aggregate queries, comparing linear and logarithmic regression fits to identify whether latency scales with table size, B-tree lookup depth, or device count, and expressing linear degradation as milliseconds per million rows. For queries whose latency is genuinely row-driven, regression can estimate the row count and date at which a stated latency target will be breached; for tag-driven queries, projections should instead use device-growth forecasts. The method requires sufficient growth range, preferably around a fourfold increase, fit-quality gaps between competing models, and validation against held-out observations before decisions are made. When a dashboard aggregate shows linear degradation, a TimescaleDB continuous aggregate can flatten the curve by serving precomputed time-bucketed results rather than scanning an expanding raw readings table.
Oct 09, 2026
1,513 words in the original blog post.
Continuous Aggregate Refresh Policies for Solar and Wind SCADA Data: Choosing the Right Policy Shape
TimescaleDB continuous-aggregate refresh policies are defined by start_offset, end_offset, and schedule_interval, which determine how far back changed data is recalculated, how much recent unfinished data is excluded, and how often refreshes run; policies should span at least two aggregate buckets and generally use a non-NULL end offset. The guide presents five operational patterns for renewable-generation telemetry: frequent, tight refreshes for recently closed buckets and dashboard responsiveness; separate daily, wide refreshes for delayed site data within contractual resettlement periods; coordinated policies at every level of hierarchical ten-minute, hourly, and daily rollups; retention settings that preserve long-lived aggregates while raw data is removed only after it falls outside every refresh window; and manual, often forced, refreshes for historical backfills such as newly onboarded sites. Multiple non-overlapping policies can serve one aggregate, allowing fast recent updates alongside slower deep sweeps, while hierarchical aggregates require parent refresh windows to lag behind child publication delays and composable statistical functions such as Toolkit’s stats_agg and rollup to avoid incorrect averages. The central recommendation is to select policy shapes based on actual data-arrival, reporting, retention, and backfill requirements rather than merely adjusting timing values within an unsuitable configuration.
Oct 07, 2026
2,822 words in the original blog post.