Shipped · Databases

What pingcap/tidb shipped

The public repository of Tidb · github.com/pingcap/tidb

Written by FoxPlug from the repository's own releases; not affiliated with Tidb. Paste your own repository in the box below and FoxPlug writes the same weekly update for your product. This page is an automatic summary of the releases, pull requests and commits in github.com/pingcap/tidb; Tidb did not write it and does not use or endorse FoxPlug. Every line links to the change it describes.

Get a weekly update like this for your product, free

Or Use it as a GitHub Action

See the update FoxPlug writes for tidb, free

Week of November 2, 2026

What shipped

Why it matters

This week's changes tighten correctness around privileges, partition cleanup, and index building, areas where silent wrong behavior matters most to people running the project in production. Materialized views gained readiness handling, depth limits, dashboard metrics, and toolchain updates, which makes that feature more predictable to operate. Several planner fixes reduce the chance of slow or wrong plans on joins, multi-valued indexes, and LIKE predicates.

Changelog entry

Example posts FoxPlug drafted from these changes. Not written or posted by the project.

Post for X

This week: column-level privileges are enforced at query time, snapshot backup gains a repository layout, a new tidb_max_keys_read limit, log redaction on by default, and planner fixes for joins, multi-valued indexes and LIKE filters.

Post for LinkedIn

This week the project shipped a set of correctness-focused changes. Column-level privileges such as SELECT on a single column are now enforced at query time rather than only stored and displayed. Snapshot backup supports a repository layout so one storage prefix can hold multiple snapshots. A new tidb_max_keys_read setting caps storage-engine keys read by SELECT statements, and log redaction is now on by default for TiDB and Lightning. On the materialized view side, auto analyze defers views still being built, nested views have a create-time depth limit, and column type changes propagate to dependent views. Planner and DDL fixes cover join reordering, LIKE filter retention, TRUNCATE PARTITION cleanup for global multi-valued indexes, and retryable backfill errors that previously produced pa

Week of October 26, 2026

What shipped

Why it matters

This week the materialized view effort moved from a scheduling engine and framework toward running maintenance inside the service, with comparison support for checking an MV against its last refresh snapshot. Outside that area, DROP DATABASE was made to stream table metadata, EXCHANGE PARTITION was fixed to raise ID allocators, and several planner and executor correctness issues were resolved.

Changelog entry

Example posts FoxPlug drafted from these changes. Not written or posted by the project.

Post for X

This week: automatic materialized view maintenance wired into the running service, a scheduler for refresh and purge tasks, and MV comparison support. Also: DROP DATABASE streams table metadata, EXCHANGE PARTITION raises ID allocators, and reverse sort keeps NULL ordering.

Post for LinkedIn

This week in TiDB: materialized view maintenance moved closer to production, with a scheduling engine that dispatches refresh and purge tasks and wiring into the running service. Comparison support lets users check an MV against the source-query snapshot of its last successful refresh. Elsewhere, DROP DATABASE now streams table metadata instead of materializing every table, EXCHANGE PARTITION raises ID allocators to avoid reuse, and the planner preserves NULL ordering for reverse sort expressions. Diagnostic logs now redact keys, values and SQL in more places.

Week of October 19, 2026

What shipped

Why it matters

This week mixes stability fixes with materialized view work: large DROP DATABASE operations use less memory, index builds recover from TiKV disk-full conditions without manual intervention, and partition and global index operations are less likely to leave broken state behind. Materialized view refresh gained executor builders, an MLog-writing path and SQL entry points, while several fixes address session migration and keyspace behavior that affect everyday use.

Changelog entry

Example posts FoxPlug drafted from these changes. Not written or posted by the project.

Post for X

This week: DROP DATABASE streams table metadata to cut memory spikes, NextGen add-index retries after TiKV disk full, REORGANIZE PARTITION no longer leaves broken global index copies, and materialized view refresh gets executor builders and SQL entry points.

Post for LinkedIn

This week in TiDB: DROP DATABASE now streams table metadata instead of materializing every table, reducing memory spikes on schemas with very many tables. NextGen add-index jobs retry automatically after TiKV disk-full errors rather than waiting for a manual resume. REORGANIZE PARTITION no longer leaves global index copies behind on cancel or broken after completion, and ADMIN CHECK TABLE routing for multi-valued indexes is fixed. DISTRIBUTE TABLE works on keyspace clusters, session migration preserves collation, isolation mode and read timestamps, and the graceful shutdown drain timeout is configurable. Materialized view refresh also gained executor builders, mlog writes and SQL entry points.

Week of October 12, 2026

What shipped

Why it matters

This week brings long-requested capabilities: a read-only index advisor statement and initial geospatial groundwork, both of which widen what applications can do directly in the database. Correctness fixes for partitioned tables and global index backfill address cases where rows could be silently skipped or mismatched. Sampling-based statistics and a DML execution time limit give users better control over ANALYZE cost and long-running transactional statements.

Changelog entry

Example posts FoxPlug drafted from these changes. Not written or posted by the project.

Post for X

This week: a read-only RECOMMEND INDEX RETURN RESULT FOR statement, basic geospatial design with ST_* functions, keyspace-scoped affinity groups, and tidb_dml_max_execution_time for transactional DML. Plus sampling-based NDV analysis and partition fixes for multi-table UPDATE and

Post for LinkedIn

What shipped in TiDB this week: a new read-only RECOMMEND INDEX RETURN RESULT FOR statement that returns index advisor recommendations without saving them, and a basic geospatial design that adds value representation and ST_* functions. Affinity group IDs are now scoped by keyspace so tables in different keyspaces no longer collide, and tidb_dml_max_execution_time caps total elapsed time for transactional DML. ANALYZE gains sampling-based NDV estimation through NDVRATE to reduce cost on large tables. Correctness fixes cover global index backfill handle equality, multi-table DELETE and UPDATE on nonclustered partitioned tables, and a nil pointer dereference in system variable handling for internal sessions.

Week of October 5, 2026

What shipped

Why it matters

This week brought correctness fixes for views, exported files and materialized view cleanup, plus better statistics handling so NDV estimates survive LOAD STATS. It also tightened credential handling in storage logs and made IMPORT INTO and DDL more reliable under transient failures and security enhanced mode.

Changelog entry

Example posts FoxPlug drafted from these changes. Not written or posted by the project.

Post for X

This week: WITH CHECK OPTION parses without CASCADED or LOCAL, LINES STARTING BY works in SELECT INTO OUTFILE, credentials are redacted in logs, and LOAD STATS keeps FM sketches for correct global NDV.

Post for LinkedIn

This week in the project: CREATE VIEW... WITH CHECK OPTION now parses without CASCADED or LOCAL, matching MySQL, and SELECT INTO OUTFILE honors LINES STARTING BY. JSON double formatting was fixed inside containers and for non-ASCII path keys, and materialized view cleanup now rolls back the transaction on failure. Statistics improved too: ANALYZE derives NDV from schema-guaranteed uniqueness and LOAD STATS keeps FM sketches, so a later ANALYZE of one partition no longer merges a wrong global NDV. Storage logs and errors now redact credentials, IMPORT INTO retries transient OSS credential fetch failures, and on the nextgen kernel ADD INDEX requires global sort when security enhanced mode is enabled.

Week of September 28, 2026

What shipped

Why it matters

This week includes security fixes for privilege checks, improvements to query planning and caching that reduce unnecessary work, and fixes for distributed index operations and client communication races. These changes address both correctness issues and performance concerns across authentication, query optimization, and infrastructure layers.

Changelog entry

Example posts FoxPlug drafted from these changes. Not written or posted by the project.

Post for X

This week: fixed SELECT privilege bypass, enabled plan caching for COALESCE updates, improved index selection logic, added diagnostic mode guards for RPC clients, and fixed client-go cancellation race.

Post for LinkedIn

New fixes and improvements in TiDB this week: resolved a SELECT privilege bypass vulnerability, enabled plan caching for non-prepared UPDATE statements with COALESCE, refined index selection in query planning to prevent unnecessary seeks, added diagnostic-mode guards for RPC clients, and fixed a client-go cancellation race that could block BatchCommands operations. These changes enhance security, query performance, and cluster stability.

Week of September 21, 2026

What shipped

Why it matters

This week includes fixes for statement latency monitoring accuracy, distributed DDL error handling, and data race conditions that improve reliability. New features for materialized view scheduling and adaptive query execution provide better resource efficiency and data consistency guarantees.

Changelog entry

Example posts FoxPlug drafted from these changes. Not written or posted by the project.

Post for X

TiDB v26.3.18 and recent releases ship fixes for statement latency attribution, distributed add-index error propagation, and statement summary data races. Materialized view purge scheduling and adaptive LIMIT scans improve resource efficiency.

Post for LinkedIn

This week's TiDB updates focus on reliability and efficiency improvements. We fixed latency attribution in multi-statement queries to ensure accurate performance metrics, resolved data races in the statement summary system, and enhanced DDL resource accounting for data reorganization jobs. New features include materialized view log purge execution and adaptive admission control for LIMIT scans, which reduces unnecessary data reads and improves overall query efficiency.

Week of September 14, 2026

What shipped

Why it matters

This week addresses multiple reliability issues across test stability, session handling, and resource management. Several backports fix authentication edge cases in the server, while planner improvements reduce incorrect query optimization decisions and new features expand OSS compatibility and monitoring capabilities.

Changelog entry

Example posts FoxPlug drafted from these changes. Not written or posted by the project.

Post for X

This week: Lightning adds OSS support, prepared statements fix CTE accumulation bugs, and global paging budgets apply to existing sessions. Multiple test flakiness issues resolved.

Post for LinkedIn

This week's updates focus on reliability and feature completeness. Lightning now accepts OSS URLs natively, resolving data source configuration limitations. Session handling improvements fix issues where failed authentication could leave connections in invalid states. Query optimization fixes prevent CTE consumer counts from accumulating across prepared statement reprepares. Global paging byte budgets now apply uniformly to existing sessions. Multiple test flakiness issues stabilized.

Weeks with too little public activity are left out rather than filled in. Last updated 2026-11-09.

Is this your repo? Ask us to remove this page.