Blog

Databend Query Engine, Cache, and Search Updates: October–November 2026

avatarDatabendLabsDec 3, 2026View Markdown
Databend Query Engine, Cache, and Search Updates: October–November 2026

This article examines the implementation changes, the measurements reported in their pull requests, and the settings or compatibility constraints that matter when evaluating an upgrade.

Release Scope

According to GitHub Releases, the Databend repository published 17 releases in these two months: 15 nightlies from

v1.2.951-nightly
through
v1.2.971-nightly
, plus
v1.2.925-patch-14
and
v1.2.925-patch-15
. October accounted for eight nightlies and two patches; November had seven nightlies. The period included 347 release changes.

Query Execution: Less Decoding, Aggregation Work, and Scanning

Encoded Columns (Experimental)

The new session setting

enable_encoded_columns
is off by default (
0
). When enabled, columns read from Fuse can remain compactly encoded in memory. Low-cardinality strings retain dictionary encoding with one- or two-byte keys per row. Integers, dates, and Decimal values with narrow ranges use frame-of-reference encoding. Filters, expressions, Decimal operations, and low-cardinality
GROUP BY
can then operate on encoded values, reducing memory-bandwidth demand.

Subsequent PRs extended the path to scalar functions and grouping and aggregation over dictionaries. The build side of a Hash Join can retain a dictionary, and a single string probe key can be hashed by dictionary value. With the column cache disabled, Databend reuses Parquet dictionaries but no longer builds a row-by-row dictionary for high-cardinality columns. Virtual columns extracted from VARIANT can retain Parquet dictionaries as well.

The PR benchmarks report warm-query total runtime of 0.69–0.73×

main
on TPC-H SF30 and 0.88× on ClickBench. All five JSONBench queries improved; for example, Q3 went from 162 ms to 119 ms. The benefit depends on cardinality and value distribution, so a workload dominated by high-cardinality columns may see little improvement. The setting remains experimental and disabled by default.

Scan, Filter, and Aggregation Changes

Several independent PRs measured the following changes on ClickBench's 100-million-row dataset. Their machines and configurations differed, so the results are not additive.

ChangeVersionResult reported in the PR
Use
memchr::memmem
for
%needle%
LIKE
searches and reduce Parquet scan memory
v1.2.968
Total runtime for 43 queries fell 4.3% (7.6% with column caching enabled). Peak memory on the first scan of
count(*) WHERE url <> ''
fell from 1,659 MiB to 819 MiB, including the effect of #21129.
Apply filters on prewhere-only columns before decoding the remaining columns
v1.2.970
For a predicate such as
UserID % 100 = 7 AND URL LIKE '%google%'
, runtime fell from 1.86 s to 1.03 s with encoded columns on, and from 0.81 s to 0.70 s with them off.
Speed up
regexp_replace
, time-field operations, and dictionary grouping
v1.2.967
Q28 (
regexp_replace
) fell from 2.78 s to 1.41 s; total runtime for 43 queries fell 8.6–11.5%.
Rewrite grouped
count(DISTINCT)
and improve partial aggregation
v1.2.967
Q10 and Q11 fell 41% and 36%, respectively; total runtime fell 4.7%.
Emit final aggregation output one block at a time
v1.2.968
Peak memory for Q32, with 100 million groups, fell from 10.2 GiB to 7.7 GiB.

Aggregation Execution

The aggregation rewrite covers transport, partial aggregation, and hash-table layout. Each exchange connection can have up to four frames in flight, reducing idle time when CPUs are saturated. A thread now chooses among a small table, table expansion, or bypass at runtime using its input row count, number of groups already built, and a HyperLogLog estimate of distinct keys. Output uses a global shuffle; the old

legacy
partial-aggregation mode has been removed.

Hash-table indexes, rows, and aggregation states now use paged storage. A probe reads fewer cache lines, and serialized states can be merged directly. The PR reports 12–37% lower runtime for more than 4 million groups on Graviton4 and 12–43% less memory across the tested group counts. Below 256,000 groups, runtime differed from the old implementation by 0–7%.

Other aggregation changes have distinct behavior and controls:

  • Heavy-hitter aggregation can count only the frequent keys precisely for a pattern such as

    SELECT key, COUNT(*) c ... GROUP BY key ORDER BY c DESC LIMIT n
    , while keeping the result exact. Set
    enable_heavy_hitter_aggregate
    to use it; it is off by default.

  • Cascading grouping sets are now on by default. Lower levels of

    ROLLUP
    ,
    CUBE
    , and
    GROUPING SETS
    derive from the nearest higher-level result. Set the option to
    0
    to restore the earlier behavior.

  • Aggregating materialized-view

    REFRESH
    now streams aggregation states. It no longer spills at the final aggregation stage, avoiding the Arrow 2 GiB limit error when a large state was read back.

Runtime Pruning and Condition Cache

Runtime TopN pruning now uses the first sort key in a multi-column sort. It can pass through

UNION ALL
and reach scans in each branch, including branches of a view defined with
UNION ALL
. After a runtime Bloom filter is built, Databend folds it to the size appropriate for the target false-positive rate and skips filters that would eliminate almost no rows.

Segment Zone Map adds a snapshot-level file containing min, max, and null-count summaries by segment. Built by reclustering and enabled by default, it lets a scan rule out segments before reading their metadata. If the file is missing or stale, Databend falls back to ordinary segment pruning without changing the result.

Condition Cache stores matching rows for each deterministic prewhere condition and data-block pair. A repeated filter can skip blocks with no matches; a

count(*)
query may avoid reading the data block altogether. It is intended for relatively stable data and repeated dashboard predicates, and is off by default under
enable_condition_cache
. In the PR's 100-million-row ClickBench test,
SELECT COUNT(*) FROM hits WHERE URL LIKE '%google%'
fell from 1.624 s to 0.017 s. A grouped query using the same predicate (Q21) fell from 1.749 s to 0.266 s, while total runtime for 43 queries fell from 28.56 s to 23.80 s. The cache occupied 2.5 MB after the full suite; the PR reported no extra overhead when every predicate was different.

Memory and Cache Allocation

Previously, 24 Query-node caches each had a separate LRU and capacity. Their configured capacities could add up to more than node memory, and they did not shrink under pressure. The shared backend now divides memory into meta, index, and data pools, allocates against the server memory limit, and reclaims cache space under pressure.

query.max_memory_limit_enabled
and
cache.shared_memory_enabled
now default to
true
. When
max_server_memory_usage = 0
, the effective limit is 80% of physical memory or the cgroup limit. Sort and Join spill thresholds derive from that limit, so a container can spill before reaching it. In a single-node MS MARCO full-text test with 16 cores and 40 concurrent clients, the shared backend reached roughly 2.5× the former QPS, according to the PR. The default
cache.data_max_ratio
is now
0
: deserialized column data is not cached in memory unless explicitly configured, leaving more of the budget for queries.

Disk caching has also been consolidated. Instead of a disk tier for each memory cache, a single cache below the read layer stores the original object bytes:

[cache]
data_cache_storage = "disk"

[cache.disk]
path = "/var/lib/databend/cache"
# Without max_bytes, the cache uses up to about 85% of the disk, capped at 1 TiB.

The default remains

data_cache_storage = "none"
, so nodes without disk caching are unaffected. Old
disk_cache_*_size
settings are accepted but ignored and logged; files in the old layout are deleted on first startup. The management endpoint
GET /v1/caches
exposes capacity, occupancy, and hit statistics for local caches and pools.

HNSW Storage and FP16 Refinement

Each vector index on each data block now has one bundle containing its HNSW graph, SQ8 quantized values, optional FP16 original vectors, and a checksum. Old Parquet index files remain readable.

REFRESH VECTOR INDEX
can build the new format for existing blocks, and
VACUUM
recognizes both directory layouts.

With

refine = true
, retrieval first uses SQ8 to select
LIMIT × vector_refine_factor
candidates and then rescores them with FP16 values.
vector_refine_factor
defaults to
2
; setting it to
0
disables refinement.
vector_search_ef
controls the HNSW candidate-list size. Both are query-level settings and can be tuned without rebuilding the index.

CREATE TABLE t (
id INT NOT NULL,
embedding VECTOR(768) NOT NULL,
VECTOR INDEX idx (embedding) distance = 'cosine' m = 16 ef_construct = 200 refine = true
);

-- After creating an index on an existing table, build it for existing blocks.
CREATE VECTOR INDEX idx ON t(embedding) distance = 'cosine' refine = true;
REFRESH VECTOR INDEX idx ON t;

SELECT id, cosine_distance(embedding, [0.1, 0.2, ...]::VECTOR(768)) AS d
FROM t ORDER BY d LIMIT 10;

Neighbor-vector prefetching and AVX-VNNI/AVX-512 VNNI on x86 or ARM

udot
speed up dot products without changing recall in the reported tests. Their QPS improved about 8% on x86 and 32% on ARM. SIMD distance calculations and cached intermediate neighbor-selection results reduced the import time for one million vectors by about 40% and server CPU time by 58%. HNSW components and FP16 refinement pages can enter the disk cache, avoiding another object-storage read after restart or eviction.

Other per-query changes parse a 768-dimensional vector literal directly from tokens, redact SQL only once, and use 2 MiB huge pages for HNSW buffers. In the PR's VectorDBBench Performance768D10M test (10 million Cohere vectors of 768 dimensions), recall stayed at 0.958 while QPS rose 27% with default settings. A separate one-million-row, 64-concurrent-client test reported about 1,400 QPS and a P99 near 53 ms for vector-only retrieval.

There are correctness fixes as well. HNSW construction with cosine distance now uses normalized vectors; for non-unit-length data, recall in the PR test rose from 0.196 to 0.904. The releases also fix a constant offset in SQ8 scoring for L2 distance and dead zones caused by duplicate vectors in the graph.

REFRESH VECTOR INDEX
** does not rebuild indexes created by earlier versions. The PR recommends dropping and recreating those indexes.**

Full-Text Index Access

For a top-N query ordered by

score()
, each data block now collects only its top N candidates. In a 10-million-document PR test, the candidate set fell from about 8.77 million to at most 440. Searcher handles and term information are cached per index file rather than reopened and looked up on every query; the PR reported 11–33% more QPS, with larger gains across more data blocks.

Full-text and vector TopN queries can read candidates directly from index-hit blocks, with roughly 20% higher QPS in one PR test. Another change decodes only rows matched by the inverted index, cutting scan and filter CPU time by about 75% and increasing QPS by about 29% in its test.

The inverted index also gains

user_dictionary
for Japanese tokenization (a CSV read from a stage and snapshotted into table storage),
mode = 'decompose'
for Japanese compound words, and
tokenizer = 'whitespace'
for pretokenized text:

CREATE INVERTED INDEX idx ON news(content)
tokenizer = 'japanese' user_dictionary = '@ja_dict/userdict.csv';

Fixed Costs Under Search Concurrency

For short full-text and vector queries, thread creation and metadata reads can dominate at high concurrency. Pruning now uses a global runtime rather than creating

max_threads
threads for every query (
v1.2.971
). Idle execution threads are reused between queries (
v1.2.971
), and planning a
SELECT
avoids a duplicate metadata read (
v1.2.968
).

The PR's test used a 16-core node, with 12 cores running Databend, one-million-row full-text and vector tables, and 64 concurrent clients:

WorkloadBeforeAfter
Full-text search, one data block1,473 QPS1,960 QPS (+33%)
Full-text search, four data blocks982 QPS1,344 QPS (+37%)
Vector search, four data blocks1,243 QPS1,411 QPS (+14%)
P99 at 1,450 mixed requests/s (half full-text, half vector)1.2 s / 1.5 s; unable to keep up22 ms / 24 ms

These figures are from #21254. In a separate, similar test, thread reuse (#21256) lowered full-text and vector P99 by about 82% and 91%, respectively, with four data blocks. #21254 showed no regression on TPC-H SF10 or TPC-DS SF100.

Table Management and Writes

Zero-Copy Table Cloning (Experimental)

CREATE TABLE ... CLONE
creates a clone of a managed Fuse table within one tenant and catalog, including across databases. The clone has its own table ID, storage prefix, owner, and grants, but shares immutable segments and data blocks with the source at creation time. It can also target a historical snapshot, timestamp, offset in seconds, or tag.

SET enable_experimental_clone_table = 1;

CREATE TABLE orders_dev CLONE orders;
CREATE TABLE orders_snapshot CLONE orders AT (TIMESTAMP => '2026-11-01 00:00:00'::TIMESTAMP);

VACUUM
,
PURGE
, and dropped-table cleanup recognize clone relationships and protect data still referenced by a child table. Cloning is off by default and should be enabled only after all relevant nodes support the clone protocol. It does not support
STREAM
or
BEFORE
. If the source table is dropped while a child exists,
VACUUM DROP
conservatively retains the entire source directory. Clone relationships introduce Meta format v189.

Manual Row-Level TTL Materialization

The previous release introduced TTL definitions and metadata. This release adds a command to remove expired rows:

CREATE TABLE events (id INT, event_time TIMESTAMP) TTL event_time + INTERVAL 30 DAY;

ALTER TABLE events MATERIALIZE TTL;

MATERIALIZE TTL
runs synchronously through the DELETE path, including range pruning, whole-block removal, and partial-block rewrites. A TTL expression must use a DATE, TIMESTAMP, or TIMESTAMP_TZ column, optionally followed by
+ INTERVAL n unit
; NULLs remain. Execution requires
ALTER
privilege and evaluates original stored values regardless of row access or masking policies. There is no automatic background cleanup yet: the command must be scheduled separately. Temporary and TRANSIENT tables and explicit transactions are not supported.

Partitioning, Reclustering, and Ingestion

  • Fuse tables can

    DROP PARTITION KEY
    and add a new key without rewriting existing data. Partition statistics are versioned, like clustering keys, to prevent incorrect pruning after a definition changes. Tables using versioned partition metadata require metadata reader version 188 or later.

  • Ordinary tables and materialized views now use

    OPTIMIZE TABLE ... RECLUSTER [FINAL] [WHERE ...] [LIMIT n]
    . The former
    ALTER TABLE ... RECLUSTER
    and
    ALTER MATERIALIZED VIEW ... RECLUSTER
    remain aliases. Reclustering tasks can be scheduled in batches according to each node's budget.

  • Horizontal reclustering gained streaming multiway merge and reuse of compatible inverted indexes in October. Because some workloads regressed,

    enable_recluster_multiway_merge
    was subsequently changed to off by default and must be enabled explicitly.

  • With

    COPY INTO ... SORTED_BY_CLUSTER_KEY = TRUE
    , the input files are declared sorted by the target table's linear cluster key. COPY retains each file's row order and produces nonoverlapping blocks on that key, avoiding a post-load recluster. Databend checks the first and last row of each batch and errors when batches are out of order, but cannot detect disorder within a batch. The option supports CSV, NDJSON, TEXT, and Parquet, but not COPY with a transformation query or tables with
    PARTITION BY
    .

  • When

    ALTER TABLE ... MODIFY COLUMN
    requires a data rewrite, conversion and writing run in parallel across nodes rather than on the coordinator alone.

  • Databases can set

    DEFAULT_S3_STORAGE_CLASS
    and external Fuse tables can set
    S3_STORAGE_CLASS
    to
    standard
    or
    intelligent_tiering
    .

Partial-column UPDATE, which would rewrite only the columns involved, received three preparatory PRs for metadata, the read path, and Bloom pruning. Its write path has not merged. It does not yet produce split data blocks and is not a usable feature in this release.

Security and Access Control

Python UDF Isolation and External Access

Previously, a Python UDF worker inherited the Query node's environment variables, including cloud credentials, and could read node configuration or contact internal services. The worker model and access rules have changed:

  • Each Python scalar-UDF query gets a dedicated worker process, reused within that SQL statement but not across statements. Concurrency follows

    max_threads
    .

  • Before executing user code on Linux, each worker enters an unprivileged sandbox. Landlock restricts filesystem access, while seccomp blocks system calls such as socket creation and launching another program. Execution is rejected if sandbox entry fails. This requires Linux 5.13+ with Landlock enabled, and the container's seccomp profile must permit

    landlock_*
    calls. JavaScript/WebAssembly UDFs also gain execution-time and memory limits.

  • A Python UDF can reach approved HTTP(S) hosts through

    NETWORK RULE
    and
    EXTERNAL ACCESS INTEGRATION
    . Operations must enable
    query.enable_python_udf_external_access
    (off by default). Databend checks DNS results before connection and rejects private, loopback, and metadata-service addresses by default.

  • Remote UDF endpoints can be governed with the same objects. Referencing an integration requires

    USAGE
    ; after an integration is disabled, nodes reject requests from existing functions once they receive the metadata change.

CREATE OR REPLACE NETWORK RULE video_rule
TYPE = HOST_PORT
VALUE_LIST = ('video.example.com:443')
MODE = EGRESS;

CREATE OR REPLACE EXTERNAL ACCESS INTEGRATION video_access
ALLOWED_NETWORK_RULES = (video_rule)
ENABLED = TRUE;

GRANT USAGE ON INTEGRATION video_access TO ROLE developer;

CREATE FUNCTION parse_video(STRING)
RETURNS VARIANT
LANGUAGE python
HANDLER = 'parse_video'
ADDRESS = 'https://video.example.com'
EXTERNAL_ACCESS_INTEGRATIONS = (video_access);

The sandbox is a breaking change. Python UDFs that use

subprocess
, direct network access, files outside the function directory,
multiprocessing
locks, or dependencies available only as source distributions may fail. They also cannot run on Linux hosts without Landlock enabled.

Masking, Materialized Views, and Object Privileges

When binding a masking policy, the data owner can set

where_use_unmasked_value = true
. A
SELECT
then evaluates its
WHERE
predicate on the unmasked value while returning a masked result. The option is off by default and does not change projection,
JOIN ON
,
GROUP BY
,
HAVING
, or
ORDER BY
, which still use masked values.

ALTER TABLE events
MODIFY COLUMN data SET MASKING POLICY mask_data
OPTIONS (where_use_unmasked_value = true);

Direct reads of a materialized view now need its own

SELECT
grant, matching the boundary used for ordinary views. A materialized view cannot be created from a source table with a row access or masking policy; those policies also cannot be added to a source table on which an existing materialized view depends. This prevents materialized results or query rewrites from bypassing policies. Attaching a table now requires an explicit
ATTACH TABLE
privilege in addition to
CREATE
;
account_admin
has it by default.

Without global

GRANT
,
system.users
shows only the current user and
system.roles
only available roles. SQL in query history and logs is now redacted through the syntax tree: credentials such as passwords and connection parameters are hidden while business expressions remain visible.

HTTP Query Sessions

Follow-up requests for an HTTP query—result pages, status, and cancellation—remain tied to the credential used at submission. Clients need no change. If the user's password changes while a query runs, the existing connection can still finish reading results without repeated polling failures triggering an account lockout. HTTP kill, final, state, page, and heartbeat endpoints also check the query's tenant and user ownership, including for

SUPER
.

A user without

SUPER
can terminate their own query or session across sessions and nodes, provided tenant, username, and host match. Session IDs appear as
p-<UUID>
in
connection_id()
and
system.processes.id
. HTTP uploads to a stage now require that stage's
WRITE
privilege, consistent with SQL writes. When creating stages or external tables or running
COPY
, Databend validates S3, Azure Blob, and GCS storage parameters and masks signature and token parameters in error messages.

Operations and SQL

  • The management port adds

    /v1/queries/:query_id/perf
    endpoints to start and stop CPU sampling and retrieve a flame graph for a running query, or for all threads on all nodes. No setup before query execution is required.

  • send_notification
    sends through an existing notification integration. It requires global
    SUPER
    ; Cloud Control delivers the notification asynchronously.

CALL system$send_notification('oncall', 'Query errors detected');
  • SHOW CREATE CONNECTION
    returns a connection definition with credentials redacted by default; unknown new options are redacted too.

  • /v1/session/login
    accepts a
    catalog
    field. A DSN can log in even when its database exists only in an external catalog such as Iceberg; bendsql also supports a
    catalog
    DSN parameter.

  • With

    cache.meta_service_caches
    configured, Query nodes retain local watched copies of users, global settings, and cluster nodes, reducing meta-service reads. It is off by default. Because updates propagate asynchronously, deleting a user or changing a password may take effect after a delay.

  • Task scheduler fixes address permanent scheduling termination after an error during meta-leader changes, a departed execution node leaving a task permanently classified as overlapping, and a deleted task recreated under the same name losing its schedule.

  • to_string(binary, charset)
    ,
    convert_from
    /
    convert_to
    , and their
    try_*
    counterparts decode encodings such as GBK in SQL. For example,
    to_string(from_base64('xOO6ww=='), 'gbk')
    returns
    你好
    .

Correctness and Resource Cleanup

The release fixes

UNION ALL
branches that could lose data or misalign labels while reading stage files. That also affected
INSERT ... SELECT
and CTAS using those branches. Other result fixes cover grouping-set schemas and grouping IDs; scalar aggregation over an empty group in a correlated subquery; anti joins on expression keys; name scope in CTEs and views; time-zone offsets in equality keys; and consistent hashing of bitmap, geometry, and interval values.

Decimal arithmetic, casts, and rounding have been revised. Multiplication and division round half away from zero, use wider intermediate integer types when necessary, and raise errors such as

Decimal overflow
rather than returning a wrapped incorrect value when the result exceeds precision. Text parsing, float-to-Decimal conversion,
quantile_cont
, modulo, and overflow checks in Decimal64
sum
/
avg
were corrected as well.

In the Iceberg catalog, CTAS and columns of type DECIMAL, TUPLE, ARRAY, and MAP can now be created and written.

bucket
and
truncate
partition transforms write the correct partition values; time travel reads the specified snapshot; and out-of-range values error instead of silently becoming NULL. Previously,
INSERT OVERWRITE
silently appended, while
TRUNCATE TABLE
and
ALTER TABLE ADD/DROP COLUMN
returned success without taking effect. They now return explicit unsupported-operation errors. The release also supports Iceberg tables on Azure
abfs[s]
and name mapping.

Under memory pressure, final sort segments can spill. Window-partition restoration, hash shuffle memory (independent of cluster size), and all-pairs joins are bounded. Fixes cover hash-join probing across multiple spill rounds, reading back spilled data types, and decoding very large Fuse blocks in batches according to

max_block_size
. Cleanup now removes canceled lock waits and FlightSQL statements, releases abandoned queued requests, avoids a materialized CTE hanging on an unread channel, and prevents a processor panic from terminating a shared executor.

Client and Repository Updates

The November

bendsql
release,
v0.34.3
, adds
!mode
to switch its REPL among
sql
,
smart
, and
agent
. It can use an OpenAI-compatible endpoint or locally installed Codex, Claude Code, Pi, evot, and other command-line tools, with streaming answers. Generated SQL is not executed automatically, and the user must consent before query context is sent to a model.

For Databend Cloud, bendsql can connect directly using a personal Cloud API Token and organization ID, for example

bendsql --org <organization-id>
. Rust, Python, and Node drivers support the corresponding DSN parameters. The DSN also gains
catalog
and
server_side_params
, useful for tools such as OpenMetadata reading external catalogs. Passwords and tokens on the command line are obscured in process arguments rather than exposed by
ps
, and the Python driver exposes cursor write statistics.

There were no new

databend-jdbc
GitHub Releases in this period. The repository's top-level
LICENSE
now contains the standard Apache-2.0 text, while the Elastic License 2.0 notice for enterprise-code directories has moved to
LICENSING.md
. The licensing scope of each directory has not changed; GitHub and dependency scanners can now identify the repository license correctly.

Upgrade Checks

Several defaults and behaviors changed. Validate against the release notes for the exact target version before upgrading.

Memory and Cache

  • The server memory limit and shared cache backend are on by default. Without an explicit

    max_server_memory_usage
    , the limit is 80% of physical memory or the cgroup limit, and spill thresholds change with it. Reassess nodes that relied on effectively unlimited memory.

  • The shared backend does not read the former per-cache

    cache.*
    capacities. To retain the old backend, set
    cache.shared_memory_enabled = false
    .

  • cache.data_max_ratio
    defaults to
    0
    , leaving deserialized column data out of the in-memory cache unless configured.

  • For nodes using disk cache, the former

    disk_cache_*_size
    settings are ignored, and old-layout files are removed on first startup. Plan for cache warm-up.

Security and Privileges

  • Python UDFs require Linux 5.13+ and enabled Landlock. UDFs that rely on subprocesses, network access, or arbitrary files may fail under the sandbox.

  • Creating a materialized view over a source with row-access or masking policies is rejected. Existing combinations fail validation on read and refresh, although

    SHOW CREATE
    and
    DROP
    remain available.

  • Attaching a table requires an explicit

    ATTACH TABLE
    grant.

  • Without global

    GRANT
    , a user sees only their permitted identity information in
    system.users
    and
    system.roles
    .

Behavior and Configuration

  • The session setting

    s3_storage_class
    , previously available only in nightlies, is renamed
    experimental_s3_storage_class
    and applies only to external tables. Internal-table storage class is controlled by server-side
    [storage.s3].storage_class
    .

  • Cascading grouping sets are on by default;

    enable_recluster_multiway_merge
    is off by default; and
    partial_aggregate_mode
    no longer accepts
    legacy
    .

  • Decimal results beyond declared precision now error, and rounding uses half away from zero. Recheck queries that depend on the previous results.

  • In the Iceberg catalog,

    INSERT OVERWRITE
    ,
    TRUNCATE TABLE
    , and
    ALTER TABLE ADD/DROP COLUMN
    now explicitly report that they are unsupported instead of silently appending or doing nothing.

  • The

    tenant_quota
    table function and
    CALL admin$tenant_quota(...)
    have been removed. Quotas are configured under
    [query.quota]
    .

  • Binary version strings no longer contain the

    -nightly
    suffix (for example,
    v1.2.952
    ). Release tag names have not changed; scripts parsing the binary version may need updating.

Metadata Compatibility

Versioned partitions used by

DROP PARTITION KEY
require metadata reader version 188. Cloning introduces Meta format v189, and Python UDF external-access bindings require metadata reader version 192. After using these features, an older version may be unable to read the related tables or functions. Complete a full-node upgrade before enabling them in production.

Closing Notes

Over October and November, Databend improved query execution, memory allocation, and search, alongside table management, security, and correctness. Together, these changes extend the lakehouse platform's ability to handle analytics and search workloads in one place, including BI, log analysis, and AI applications. Databend continues to iterate on these capabilities. Try the updates against your own workload and share the results, problems, and areas you would like to see improved.

For details, see the Databend repository, documentation, and release notes for the target version.

Share this post

Subscribe to our newsletter

Stay informed on feature releases, product roadmap, support, and cloud offerings!