TiDB Monthly Update for July 2020

Releases

We have four releases this month:

  • TiDB 4.0.4 Release Notes

    • Bug fixes
  • TiDB 4.0.3 Release Notes

    • New features

      • Display detailed version information for TiDB Dashboard #679
      • Implement file encryption in the TiFlash proxy
      • Support configuring kafka-client-id in MQ sink-uri #706
      • Support the specialized CSV separator and delimiter #116
    • Bug fixes

  • TiDB 4.0.2 Release Notes

    • New features

      • Support the MEMORY_QUOTA() hint in INSERT statements #18101
      • Support authentication based on the SAN field of TLS certificate #17698
      • Support the encryption-meta command in TiKV Control #8103
      • Enable TiFlash to run on the ARM architecture
      • Add a cli command to delete the TiCDC GC TTL #652
    • Bug fixes

  • TiDB 3.0.16 Release Notes

    • Improvements

      • Support the is null filter condition in hash partition pruning #17308
      • Split separate Regions for the newly added partition #17668
      • Avoid sending store heartbeats to PD after snapshots are received #8145
      • Improve the PD client log #8091
    • Bug fixes

Blog posts

In Announcing Chaos Mesh® as a CNCF Sandbox Project, we are thrill to announce that Chaos Mesh® is now officially accepted as a CNCF Sandbox project.

We have published Heterogeneous Database Replication to TiDB based on Tianshuang Qin's talk at TiDB DevCon 2020. This article introduces TiDB's best practices of migrating heterogeneous databases between different database platforms and application scenarios.

Horizontally Scaling the Hive Metastore Database by Migrating from MySQL to TiDB, written by Mengyu Hu, the Platform Engineer at Zhihu, introduces how Zhihu uses TiDB to horizontally scale Hive Metastore to meet their growing business needs.

Shawn Ma's article How TiDB's HTAP Makes Truly Hybrid Workloads Possible looks at the design details of TiDB's HTAP architecture, including the real-time updatable columnar engine, the multi-Raft replication strategy, and smart selection.

Heng Long and Shuang Chen has written Cluster Diagnostics: Troubleshoot Cluster Issues Using Only SQL Queries to elaborate on cluster diagnostics's diagnostic reports, and show you examples of how cluster diagnostics can help you quickly find system problems.

Notable pull requests

Planner

DDL

Support the ALTER PARTITION clause

TiDB Dashboard

Keep consistent search behaviors for log search, statements, and slow queries

Kubernetes

Execution

Tools

Engine

Fix the segment fault on creating the compaction filter when the base compaction filter is NULL

Scheduling

TiUP

Support deploying and managing DM 2.0

Notable issues

Planner

To provide settings to prefer index scans over table scans

Coprocessor

The Chunk-based computing for data types of fixed sizes and data types of varying sizes

DDL

TiDB Dashboard

Kubernetes

To improve the robustness and stability of TiDB Operator

Execution

To dump memory status of all SQL statements when the server is consuming a lot of memory

Tools

To support point-in-time recovery (PITR) in TiCDC and BR

Scheduling

To support the atomic helper API for placement rules

TiUP

To fix the issue that Prometheus configuration files cannot be edited using TiUP

Call for participation

Tools

TiUP

TiUP issues to be resolved

Scheduling

To use one tool with sub-commands instead of many tools

New contributors

We’d like to welcome the following new contributors to TiDB and thank them for their work!

tidb:

tikv:

parser:

pd:

tidb-operator:

docs:

docs-cn:

rust-prometheus:

This Month in TiKV

For more detailed and comprehensive information about TiKV, we have TiKV Monthly Update. The following covers July.

This Month in TiKV - July 2020