QuestDB

Databases & DataApache-2.0

High-performance time-series database.

Latest 10.2.0 · by QuestDBWritten in JavaWebsitequestdb/questdbRSS

Release activity

Release activity — 12 releases across 12 days since Jan 28, 2026. Each cell is one day; darker means more releases that day. Nothing is recorded before Jan 28, 2026. Older weeks are hidden at this screen width.
AugSepOctNov
SundayNo releases on Aug 2, 2026No releases on Aug 9, 2026No releases on Aug 16, 2026No releases on Aug 23, 2026No releases on Aug 30, 2026No releases on Sep 6, 2026No releases on Sep 13, 2026No releases on Sep 20, 2026No releases on Sep 27, 2026No releases on Oct 4, 2026No releases on Oct 11, 2026No releases on Oct 18, 2026No releases on Oct 25, 2026No releases on Nov 1, 2026No releases on Nov 8, 2026No releases on Nov 15, 2026
MondayNo releases on Aug 3, 2026No releases on Aug 10, 2026No releases on Aug 17, 20261 release on Aug 24, 2026No releases on Aug 31, 2026No releases on Sep 7, 2026No releases on Sep 14, 2026No releases on Sep 21, 2026No releases on Sep 28, 2026No releases on Oct 5, 2026No releases on Oct 12, 2026No releases on Oct 19, 2026No releases on Oct 26, 2026No releases on Nov 2, 2026No releases on Nov 9, 2026
TuesdayNo releases on Aug 4, 2026No releases on Aug 11, 2026No releases on Aug 18, 2026No releases on Aug 25, 2026No releases on Sep 1, 2026No releases on Sep 8, 2026No releases on Sep 15, 2026No releases on Sep 22, 2026No releases on Sep 29, 2026No releases on Oct 6, 2026No releases on Oct 13, 2026No releases on Oct 20, 2026No releases on Oct 27, 2026No releases on Nov 3, 20261 release on Nov 10, 2026
WednesdayNo releases on Aug 5, 2026No releases on Aug 12, 2026No releases on Aug 19, 2026No releases on Aug 26, 2026No releases on Sep 2, 2026No releases on Sep 9, 2026No releases on Sep 16, 2026No releases on Sep 23, 2026No releases on Sep 30, 2026No releases on Oct 7, 2026No releases on Oct 14, 2026No releases on Oct 21, 2026No releases on Oct 28, 2026No releases on Nov 4, 2026No releases on Nov 11, 2026
Thursday1 release on Aug 6, 2026No releases on Aug 13, 2026No releases on Aug 20, 2026No releases on Aug 27, 2026No releases on Sep 3, 2026No releases on Sep 10, 2026No releases on Sep 17, 2026No releases on Sep 24, 2026No releases on Oct 1, 2026No releases on Oct 8, 2026No releases on Oct 15, 20261 release on Oct 22, 2026No releases on Oct 29, 2026No releases on Nov 5, 2026No releases on Nov 12, 2026
FridayNo releases on Aug 7, 2026No releases on Aug 14, 2026No releases on Aug 21, 2026No releases on Aug 28, 2026No releases on Sep 4, 2026No releases on Sep 11, 2026No releases on Sep 18, 2026No releases on Sep 25, 2026No releases on Oct 2, 2026No releases on Oct 9, 2026No releases on Oct 16, 2026No releases on Oct 23, 2026No releases on Oct 30, 2026No releases on Nov 6, 2026No releases on Nov 13, 2026
SaturdayNo releases on Aug 8, 2026No releases on Aug 15, 2026No releases on Aug 22, 2026No releases on Aug 29, 2026No releases on Sep 5, 2026No releases on Sep 12, 2026No releases on Sep 19, 2026No releases on Sep 26, 2026No releases on Oct 3, 2026No releases on Oct 10, 2026No releases on Oct 17, 2026No releases on Oct 24, 2026No releases on Oct 31, 2026No releases on Nov 7, 2026No releases on Nov 14, 2026

12 releases since Jan 28, 2026

Changelog

What changed from 9 to 10

10.2.0

Latest
Added 10
  • GROUP BY and SAMPLE BY accept ROLLUP, CUBE and GROUPING SETS, along with the GROUPING() and GROUPING_ID() functions
  • SAMPLE BY grouping sets support FILL with NULL, constants or NONE
  • cairo.sql.max.grouping.sets setting caps how many grouping sets one query expands to, defaulting to 4096
  • Materialized views can be passthrough views: filtered copies of a table defined with SELECT ... WHERE and no SAMPLE BY
  • EXPIRE ROWS retention policy for materialized views, supporting WHEN predicates, KEEP LATEST, KEEP [N] HIGHEST|LOWEST and window predicates
  • Background cleanup job frees disk space for monotonic EXPIRE ROWS WHEN policies, configured via cairo.mat.view.row.expiry.cleanup.* settings
Changed 7
  • CREATE MATERIALIZED VIEW rejects LIMIT in queries that read the base table, and base-table window functions nested in expressions or SAMPLE BY subqueries
  • QWP rejects table blocks that carry the designated timestamp both through at(...) and as a named column, producing a schema error on later batches for that table
  • An unknown cairo.commit.mode value now fails startup instead of silently selecting nosync
  • Commits holding only duplicates leave native and Parquet partitions untouched, and resending unchanged rows into DEDUP UPSERT Parquet partitions no longer rewrites them
  • QWP over WebSocket ingests one-row messages at about 3.9M rows/s, up from about 210k, with large messages unchanged
  • WAL apply no longer falls back to slow one-by-one mode on backlogs of small out-of-order transactions spanning a wide timestamp range
  • With cairo.file.async.munmap.enabled, a released file mapping stays cached until the background job unmaps it, so reopening the same file reuses the mapping
Removed 1
  • Downgrading, writing with the older version and upgrading again after running 10.2.0 is no longer supported
Deprecated 1
  • Older versions treat DEDUP SKIP tables as UPSERT without error when downgraded, so downgrading after using DEDUP SKIP is risky

From QuestDB

QuestDB 10.2.0

QuestDB 10.2.0 adds GROUPING SETS, ROLLUP and CUBE, row-level retention for materialized views, a DEDUP SKIP mode that keeps the first-written row, and opt-in power-loss durability for WAL tables, enabled with cairo.commit.mode=adaptive. QWP ingestion of small messages is much faster, and this release fixes a large batch of wrong-result, crash and hang bugs in queries, out-of-order ingestion and Parquet partitions.

This release contains a few breaking changes. Read the Breaking changes section before you upgrade, especially if you create materialized views with LIMIT or window functions, send the designated timestamp twice over QWP, or may need to downgrade after using DEDUP SKIP.

For any questions or feedback, please join us on Slack or on Discourse.

See also our prettier release notes page.

Breaking changes :boom:
  • CREATE MATERIALIZED VIEW rejects LIMIT in queries that read the base table, and base-table window functions nested in expressions or SAMPLE BY subqueries. Replaying older SHOW CREATE output that contains them fails. #7263
  • QWP rejects table blocks that carry the designated timestamp twice, once through at(...) and once as a named column. Before this change, QuestDB accepted them and stored wrong timestamps. A sender that uses both forms on one table now gets a schema error on every later batch for that table. #8052
  • An unknown cairo.commit.mode value now fails startup, instead of silently selecting nosync. #7411
  • After 10.2.0 has run on a database, downgrading, writing with the older version and upgrading again is not supported. See downgrade to an earlier release. #7411
  • Downgrading after using DEDUP SKIP: older versions treat SKIP tables as UPSERT without an error, and suspend WAL apply when they replay a logged ALTER TABLE ... DEDUP SKIP. #7885
Highlights
GROUPING SETS, ROLLUP and CUBE

GROUP BY and SAMPLE BY now accept ROLLUP, CUBE and GROUPING SETS, with the GROUPING() and GROUPING_ID() functions. One query returns subtotals and a grand total in a single scan of the input:

SELECT symbol, side, sum(amount)
FROM trades
GROUP BY ROLLUP(symbol, side);

Grouping sets run in parallel where the plan allows. SAMPLE BY grouping sets support FILL with NULL, constants or NONE. cairo.sql.max.grouping.sets caps how many grouping sets one query expands to (default 4096). Grouping sets do not vectorize: they ran 1.4x slower than the equivalent UNION ALL of plain GROUP BYs serially, and up to 6.9x slower in parallel, in the PR's benchmark. #6853

Passthrough views and row-level retention

Materialized views can now be passthrough views: a filtered copy of a table (SELECT ... WHERE, no SAMPLE BY), kept up to date as rows arrive. The new EXPIRE ROWS policy adds row-level retention on top, and hides expired rows of a materialized view from every query: WHEN <predicate>, KEEP LATEST, KEEP [N] HIGHEST|LOWEST, or a window predicate. For monotonic WHEN policies, such as ts < now(), a background job also frees the disk; cairo.mat.view.row.expiry.cleanup.* settings control it. ALTER MATERIALIZED VIEW ... SET EXPIRE ROWS and ... DROP EXPIRE change a view's policy. #7263

DEDUP SKIP: keep the first row

The new DEDUP SKIP mode keeps the first-written row and drops later duplicates, where UPSERT keeps the last one. CREATE TABLE, CTAS and ALTER TABLE ... DEDUP accept it, and SHOW CREATE TABLE prints it. Commits that hold only duplicates leave native and Parquet partitions untouched, and resending unchanged rows into DEDUP UPSERT Parquet partitions no longer rewrites them. #7885

Power-loss durability for WAL tables (opt-in)

cairo.commit.mode=adaptive makes WAL tables survive power loss for much less than sync mode costs. QuestDB flushes the WAL on commit, applies it to table files without per-apply flushes, and rebuilds the table files from the WAL after a crash, so the server restarts with consistent tables instead of failing on a damaged partition. cairo.adaptive.commit.group.window (default 50 ms) batches flushes across commits, so commits acknowledged within the last window can be lost. Pair it with request_durable_ack=local on QWP clients (local,replicated on QuestDB Enterprise) to be told when each batch is on disk, or set the window to 0. The default stays nosync. #7411

Faster ingestion
  • QWP over WebSocket ingests one-row messages at about 3.9M rows/s, up from about 210k, on the PR's benchmark. Large messages are unchanged. The wire protocol and ack semantics are unchanged. #8110
  • WAL apply no longer falls back to slow one-by-one mode on backlogs of small out-of-order transactions that span a wide timestamp range, where it could fall behind ingestion indefinitely. #8008
  • With cairo.file.async.munmap.enabled, a released file mapping stays cached until the background job unmaps it, so reopening the same file reuses it without a new mmap. #7751
Storage and operations
  • Repair Parquet indexes after upgrading from 9.3.4-10.0.1. Those versions could leave stale metadata after merging out-of-order rows into Parquet partitions, so index scans could miss rows and deduplication could keep duplicates. ALTER TABLE ... FORCE REINDEX PARQUET repairs affected partitions online; ADD INDEX and out-of-order writes repair them automatically. Until a partition is repaired, index queries on it fail with index does not cover parquet partition data instead of returning wrong rows. #8139
  • Quiet QWP connections no longer block WAL cleanup. A connection idle for qwp.min.idle.ms.before.writer.release (default 30s, 0 disables) releases its WAL writers. #7936
  • WAL apply no longer pauses when partition compaction holds the table writer. #8194
Correctness fixes

This release fixes wrong results, crashes and hangs in RIGHT/FULL hash joins, SPLICE JOIN, WINDOW JOIN, set operations over geohashes, SAMPLE BY with month and year strides, LIMIT and FILL, and parallel filtered queries under concurrent load. It also fixes queries returning wrong rows during out-of-order ingestion, index scans on Parquet partitions, covering indexes returning NULLs after restore or column changes, materialized views after a base column type change, crashes and hangs when an out-of-order commit fails, and querying narrow DECIMAL columns over QWP.

Changelog
Features
  • feat(sql): add GROUPING SETS, ROLLUP, CUBE support by @javier in #6853
  • feat(core): breaking change 💥 - add row-level retention to materialized views by @nwoolmer in #7263
  • feat(sql): breaking change 💥 - add DEDUP SKIP mode to keep existing rows on duplicate keys by @bluestreak01 in #7885
  • feat(core): Introduce new adaptive commit mode by @nwoolmer in #7411
Performance
  • perf(qwp): speed up QWP WebSocket ingestion of small messages by @jerrinot in #8110
  • perf(core): treat async munmap as an eviction hint, revive released mappings by @ideoma in #7751
Fixes
  • fix(sql): fix INSERT ... SELECT with a column list naming the wrong column in type errors by @eugenels in #7992
  • fix(core): fix crash and hangs when an out-of-order commit fails by @bluestreak01 in #8063
  • fix(http): fix client timeouts when following redirects by @jerrinot in #8084
  • fix(sql): fix wrong SAMPLE BY results for month and year strides, LIMIT and mixed FILL by @puzpuzpuz in #8053
  • fix(sql): fix wrong values in materialized views after a base column type change by @eugenels in #8039
  • fix(sql): fix crashes and wrong results in RIGHT/FULL hash joins, SPLICE JOIN and keyed SAMPLE BY FILL by @ideoma in #8109
  • fix(core): release native column files after converting a split active partition to Parquet by @RaphDal in #8065
  • fix(core): fix queries returning wrong rows or failing during out-of-order ingestion by @jerrinot in #7935
  • fix(core): fix covering index returning NULLs after restore and column changes by @ideoma in #8117
  • fix(qwp): fix quiet QWP connections blocking WAL cleanup by @jerrinot in #7936
  • fix(core): fix WAL apply pausing when partition compaction holds the table writer by @kafka1991 in #8194
  • fix(core): fix wrong rows from index scans and conversions of parquet partitions by @ideoma in #7988
  • fix(core): fix WAL apply falling back to slow 1-by-1 mode on backlogs with wide timestamp range by @ideoma in #8008
  • fix(sql): fix wrong results and internal errors in WINDOW JOIN, set operations, SAMPLE BY FILL, string functions and UDP ingestion by @eugenels in #8001
  • chore(qwp): breaking change 💥 - reject conflicting designated timestamps by @RaphDal in #8052
  • fix(qwp): fix querying DECIMAL columns with precision up to 9 over QWP egress by @sklarsa in #8134
  • fix(core): fix missing indexed rows after changing column types on Parquet tables by @ideoma in #8236
  • fix(sql): fix SAMPLE BY FILL(LINEAR) returning NULL between large DOUBLE values by @eugenels in #8042
  • fix(core): fix checkpoints of altered views and flaky cookie expiry tests by @glasstiger in #8248
  • fix(core): fix parquet index repair and deduplication after upgrades by @ideoma in #8139
  • fix(core): fix parallel queries hanging under concurrent load and skipping rows in batched PG Wire fetches by @kafka1991 in #8278

Full Changelog: 10.1.0...10.2.0

View originalPermalink
How 10.2.0 went

10.1.0

Added 4
  • SUBSAMPLE clause for server-side downsampling of time-series results to a fixed number of original rows, with methods lttb, m4, minmax, uniform, cadence and sdt
  • percentile_disc and percentile_cont functions available as aggregates and whole-partition window functions, with quantile_disc and quantile_cont aliases
  • Array-of-percentiles form for percentile_disc, percentile_cont and approx_percentile returning DOUBLE[]
  • HORIZON JOIN supports right-hand filters in the ON clause and as filtered subqueries, applied before ASOF matching
Changed 15
  • HORIZON JOIN without aggregates returns one row per left-hand row and offset and keeps the left-hand designated timestamp
  • HORIZON JOIN without aggregates no longer de-duplicates its output; use SELECT DISTINCT or an explicit GROUP BY for the old result
  • HORIZON JOIN rejects unsupported ON predicates with an error instead of ignoring them
  • INT arithmetic wraps at 32 bits in every context, including under a 64-bit cast or on insert into a LONG column; widen an operand to compute at 64 bits
  • Malformed intervals are rejected in SAMPLE BY, timestamp_floor() and materialized view REFRESH; intervals must use a one-letter unit such as 1m, 100T or 1d
  • dateadd() projections keep a designated timestamp only for fixed-duration units over the designated timestamp itself; other units fail to compile in time-series joins, SAMPLE BY and partitioned CTAS
Removed 1
  • Native binaries for x86-64 (Intel) macOS are no longer shipped
View originalRead the notes
How 10.1.0 went

10.0.1

Added 4
  • Live Views can project aliases and scalar expressions around window functions
  • ALTER TABLE ... ALTER COLUMN ... TYPE converts between DECIMAL and FLOAT/DOUBLE in both directions
  • Ordered UNION ALL can stream through a merge operator instead of sorting when branches expose compatible designated timestamps and scan order
  • current_user() and session_user() report the authenticated principal
Changed 8
  • Partition squash and POSTING-index lifecycle paths gain additional concurrency and I/O handling, improving behavior around open partitions, concurrent writers, and rollback
  • Compatible window functions over the same PARTITION BY key share one map and one probe per row, controlled by the reloadable cairo.sql.window.map.fusion.enabled setting
  • Live View refresh, seal, restart, and transient-memory costs are substantially reduced
  • DECIMAL arithmetic, scale handling, NULL consistency, casts, bind variables, WAL replay, ILP, CSV import/export, Parquet filtering, and storage coverage are expanded
  • An all-SYMBOL UNION or UNION ALL now returns SYMBOL, with HTTP metadata and CTAS preserving the type instead of widening it to STRING
  • PGWire result framing handles additional ARRAY, IPv4, and GEOHASH format combinations
  • Web Console 2.0.3 adds light/dark themes, notebook-level auto-refresh with per-cell overrides, improved grid sizing and editor settings, and OIDC and terminology fixes
  • GC pressure from idle workers is reduced on JDK 24+
Fixed 5
  • QWP table-update caching now follows table lifecycle and schema changes more closely, including DROP/recreate, rename, and column-type changes
  • Durable acknowledgement accounting now covers transactions committed at the append-time row threshold
  • Column type conversion now reports low-disk-space failures cleanly
  • Metadata compatibility improves for tables created before QuestDB 6.1
  • ILP TCP authentication handling is more robust for malformed input
View originalRead the notes
How 10.0.1 went

10.0.0

Added 7
  • QWP (QuestDB Wire Protocol), a compressed binary, columnar protocol over WebSocket for both ingestion and queries, served on the existing HTTP port
  • Store-and-forward buffering in QWP clients that retains data locally during network disconnects and replays it later
  • Smart failover in QWP clients across multiple configured addr endpoints, with priority settings to prefer primary or replica
  • Durability options for QWP store-and-forward: memory mode, sf_durability=periodic disk checkpointing, and request_durable_ack=on for end-to-end durability confirmation
  • Live Views (Beta) that incrementally maintain window-function result sets with WAL-table backing and an in-memory tier for millisecond update latency
  • Web Console 2.0 with Jupyter-style Notebooks supporting text, images, code, and live charts
  • MCP integration in the Web Console for connecting coding agents to build dashboards and analyse data
Changed 5
  • QWP is recommended for both ingress and egress going forward, superseding ILP and PG Wire, which are retained for backwards compatibility
  • QWP ingestion sends fully-typed, compressed columns, reducing row size roughly 3-4x compared to ILP on the TSBS schema
  • QWP pipelines requests over WebSockets, enabling tens of millions of rows per second on a single connection
  • QWP query egress is designed for high throughput with first-batch latency of a handful of milliseconds, with native Arrow, Polars, and Pandas integration in the Python client
  • Internal mechanisms were overhauled and performance improved across the release
View originalRead the notes
How 10.0.0 went

9.4.3

Added 5
  • Tables can now store partitions in PARQUET format by default via CREATE TABLE ... FORMAT PARQUET and ALTER TABLE ... SET FORMAT PARQUET
  • New configuration cairo.sql.parquet.cache.memory.size sets a per-cursor byte budget for decoded Parquet row groups, defaulting to 256 MB
  • Added is_end_of_month SQL function
  • Added periodic memory usage logging
  • Added a memory-budgeted cache for Parquet random access
Changed 8
  • Two-bound LIMIT null semantics changed: LIMIT null, n now returns the first N rows instead of the full sorted set
  • LIMIT n, null now returns an empty result instead of all rows
  • EXPLAIN plan rendering for encodable sorts now consistently shows as Encode sort light
  • Speed up ORDER BY ... LIMIT N queries by revising the top-K path for Parquet partitions, removing a sorting tree and pruning projected columns earlier
  • Speed up parallel ORDER BY ... LIMIT N queries with encoded sort keys
  • Skip Parquet decoding of rows that LIMIT discards
  • Push down filters into joins wrapped in views and subqueries
  • Speed up partition-to-Parquet conversion and reduce resulting file size
Fixed 3
  • Fixed internal error when a dotted name follows an operator
  • Fixed NATIVE_INDEX_READER leak when a posting-index row cursor is closed after its reader
  • Fixed concurrent ILP/TCP stale-writes bug that could write stale data for DECIMAL, LONG256, and implicit BINARY to SYMBOL casts
Deprecated 1
  • Configuration cairo.sql.parquet.frame.cache.capacity is deprecated and no longer used
View originalRead the notes
How 9.4.3 went

9.4.2

Added 1
  • Added a query quick-link share option in the Web Console editor drop-down on the run button, which opens and runs the copied query URL
Changed 5
  • Upgraded the Web Console to version 1.2.3
  • Improved visibility of Storage Policy settings in the Web Console
  • Reduced the eagerness of query validation in the Web Console editor
  • A plain INDEX TYPE POSTING without INCLUDE is now non-covering; cairo.posting.index.auto.include.timestamp=true no longer makes all posting indexes covering by default
  • SHOW CREATE TABLE now rejects views and materialized views; use SHOW CREATE MATERIALIZED VIEW and SHOW CREATE VIEW instead
Fixed 6
  • Fixed a posting index crash and missing rows after partition squash
  • Fixed all-null Parquet column reads and crashes on malformed Parquet files
  • Fixed wrong results and memory leaks in posting-index, join and group-by queries
  • Fixed a Parquet query crash and wrong results in latest-by, ASOF joins, and counts
  • Fixed count() over a GROUP BY subquery reporting phantom duplicates
  • Fixed UNION ALL column mismatch under aggregates
View originalRead the notes
How 9.4.2 went

9.4.1

Added 6
  • New SQL fuzz-testing engine for improving SQL engine robustness
  • New array_agg() aggregate function that collects per-group values into a DOUBLE[]
  • New regr_r2(y, x) aggregate function returning the coefficient of determination of a linear regression
  • Window functions first_value, last_value, nth_value, lag, lead, min, max, count, sum, and avg now support all DECIMAL sub-types (D8 to D256)
  • Opt-in native memory caps for window functions and ORDER BY via cairo.sql.window.cache.max.bytes, cairo.sql.window.rowid.max.bytes, cairo.sql.window.tree.max.bytes, cairo.sql.sort.key.max.bytes, cairo.sql.sort.light.value.max.bytes, and cairo.sql.sort.value.max.bytes
  • The WAL sequencer can rebuild a bricked or version-mismatched _meta from the committed transaction log, surviving table renames
Changed 14
  • Parquet metadata files (_pm) are migrated to a new version at startup
  • Calculations of the shape INT - FLOAT now return FLOAT type instead of DOUBLE
  • Nested INT calculations compared to LONG values now run at 64-bit width
  • STRING and VARCHAR with <= or >= null comparisons now correctly return matching null rows
  • twap() now correctly rejects non-designated timestamps
  • EXPLAIN plan output changed for non-keyed group by and sample by queries
Fixed 7
  • Corr, stddev, var, and covar aggregates no longer return NULL on sparse-NULL data under parallel group by
  • twap() and sparkline() no longer return wrong results under concurrent query load
  • Joins on a SYMBOL key combined with a UUID or DECIMAL key no longer fail with an internal error
  • A rare JIT-compiler crash (SIGSEGV) during query execution is fixed
  • A crash and boot-time crash loop when deduplicating a STRING dedup key whose partition data file exceeds 2 GiB is fixed
  • Tables with an indexed SYMBOL column no longer get stuck mid-conversion to Parquet under a storage policy
  • QWP WebSocket upgrades and reject responses no longer tear down the connection when they cannot be sent in a single write
View originalRead the notes
How 9.4.1 went

9.4.0

Added 7
  • Posting index for SYMBOL columns via INDEX TYPE POSTING, offering about 13x smaller index files and 1.3-1.5x faster lookups than the BITMAP index
  • Optional INCLUDE clause on posting indexes that builds a covering sidecar so queries reading only the indexed column and included columns skip column files
  • SHOW COLUMNS and table_columns() expose new indexType and indexInclude fields
  • Local parquet metadata sidecar (_pm) per parquet partition storing column descriptors, row-group byte ranges, encodings and min/max statistics, enabling planner pruning without opening data.parquet
  • Migration Mig940 generates _pm files for all existing parquet partitions on engine upgrade
  • Cross-column FILL(PREV(col_ref)) in SAMPLE BY to carry the previous value of another aggregate column by alias
  • Keyed SAMPLE BY FROM-TO with constant bounds is now supported natively
Changed 2
  • Designated timestamp is automatically appended to the INCLUDE list of a posting index, controlled by cairo.posting.index.auto.include.timestamp (default true)
  • SAMPLE BY FILL(NULL | constant | PREV) now runs on the parallel GROUP BY path instead of the sequential cursor path
Fixed 3
  • Sub-day SAMPLE BY with TIME ZONE and FROM/TO no longer misaligns the fill grid by the timezone offset
  • ALIGN TO CALENDAR WITH OFFSET combined with FILL no longer falls into an infinite fill loop
  • SAMPLE BY FILL now works on tables with pre-1970 timestamps
Deprecated 1
  • Posting index must be dropped with ALTER TABLE ... ALTER COLUMN ... DROP INDEX before rolling back to a pre-9.4.0 version, as older binaries cannot open tables containing a posting index
View originalRead the notes
How 9.4.0 went

9.3.5

Added 10
  • Lateral joins are supported, allowing subqueries in the FROM clause to reference columns from preceding tables, including LEFT LATERAL and implicit CROSS LATERAL
  • SQL-standard UNNEST operator expands array columns and JSON arrays into rows, including WITH ORDINALITY and COLUMNS clauses
  • Multiple arrays can be unnested simultaneously with NULL padding for mismatched lengths
  • Window functions stddev_pop, stddev_samp/stddev, var_pop, var_samp/variance, covar_pop, covar_samp, and corr
  • HORIZON JOIN accepts multiple right-hand-side tables in a single query
  • Per-column bloom filter configuration in CREATE TABLE and ALTER TABLE via the PARQUET() clause
Changed 10
  • Sub-day SAMPLE BY queries with ALIGN TO CALENDAR TIME ZONE produce correct bucket alignment during DST transitions, with sub-day buckets uniformly spaced in UTC using the timezone's standard offset
  • During DST fall-back, repeated local hours in SAMPLE BY produce separate rows instead of merging
  • FROM/TO boundaries in SAMPLE BY with a time zone are interpreted as local time in the specified timezone instead of UTC
  • Hash joins compare SYMBOL key columns as integers instead of strings
  • ASOF, HORIZON and WINDOW JOIN use lazy partition opening so queries targeting a narrow time range skip I/O for untouched partitions
  • ASOF and LT JOIN are faster on multi-key symbol columns
Fixed 1
  • ALTER TABLE ADD/DROP COLUMN works correctly on tables with Parquet-formatted partitions
View originalRead the notes
How 9.3.5 went

9.3.4

Added 7
  • WINDOW JOIN supports dynamic window ranges computed from column values or expressions
  • Queries over Parquet files use min/max statistics and bloom filters to skip row groups that cannot match the query predicate
  • New DOUBLE[] functions array_sort, array_reverse, array_elem_min, array_elem_max, array_elem_avg, and array_elem_sum
  • arg_min and arg_max now support CHAR arguments
  • Per-column Parquet encoding and compression configuration
  • minTimestamp and maxTimestamp columns added to sys.telemetry_wal
  • New cairo.wal.writer.madvise.mode configuration option for tuning WAL writer memory access patterns
Changed 10
  • Parquet export now uses RLE Dictionary encoding for Varchar columns instead of Delta Length Byte Array, and per-column encoding config can override this
  • Constant expression folding aligns compile-time NaN and Infinity behaviour with runtime, collapsing Infinity and -Infinity in constant float and double expressions to NULL
  • CASE and SWITCH expressions can no longer branch on Infinity or -Infinity as distinct values
  • ASOF and WINDOW JOIN execution is faster for large right-hand-side tables
  • ORDER BY uses pre-computed sort keys for fixed-width types and a dedicated fast path for SYMBOL columns
  • HORIZON JOIN parallelizes better across various data distributions
Fixed 11
  • Data corruption in DECIMAL128 and DECIMAL256 columns
  • Crash on LATEST BY ALL queries over large tables
  • Crash when Parquet partition statistics are missing
  • Crash in SAMPLE BY FILL with array column aggregates
  • read_parquet() crash on SYMBOL columns from native Parquet files
  • WINDOW JOIN INCLUDE PREVAILING dropping the prevailing row when the window had matches
View originalRead the notes
How 9.3.4 went

9.3.3

Added 10
  • HORIZON JOIN join type for markout analysis, computing left_timestamp plus offset and performing an ASOF match against the right-hand table
  • horizon pseudo-table exposing h.offset (raw microsecond value) and h.timestamp (left_timestamp plus offset) for use in expressions and grouping
  • twap(price, timestamp) aggregate computing time-weighted average price using step-function integration, with support for parallel GROUP BY and SAMPLE BY with FILL modes
  • SQL-standard WINDOW clause for defining reusable named window specifications
  • Window inheritance, allowing a named window to reference another named window as its base, including chained inheritance
  • JIT filter compilation on ARM64 (aarch64) systems including Apple Silicon and AWS Graviton
Changed 5
  • Parquet partition reads with selective filters use late materialization, decoding filter columns first and remaining columns only for matching rows
  • Parquet writing has been sped up
  • Parquet export of queries with computed expressions no longer falls back to a temporary table
  • Parallel GROUP BY and Top K queries use unordered page frame collection, reducing thread spread, p99 tail latency, and p99/p50 ratio under concurrent load, with a 34% single-thread regression for keyed GROUP BY
  • UNION, UNION ALL, EXCEPT, and INTERSECT queries push designated-timestamp filters into each branch, enabling per-branch partition pruning
View originalRead the notes
How 9.3.3 went

9.3.2

Added 6
  • New TICK syntax, a compact DSL for expressing complex time ranges and intervals, which compiles to efficient interval scans with time filtering pushed down
  • arg_min and arg_max aggregate functions to return the value of one column at the row where another column is at its minimum or maximum
  • geomean aggregate function to calculate the geometric mean of a set of positive numbers
  • EMA (exponential moving average) window function with kind and param arguments
  • VWEMA (volume-weighted exponential moving average) window function, which accepts a volume argument
  • percent_rank window function returning the relative rank of a row within its group
Changed 2
  • Improved speed and responsiveness of the chat in the QuestDB AI Assistant in the Web Console
  • Time-range queries over tables using a constant dateadd offset in the WHERE clause are now optimised
View originalRead the notes
How 9.3.2 went
View all

Discussion

If you publish QuestDB, you can claim this product by proving you administer its repository.