Recent Posts

Golang 中的 OpenTelemetry 快速入门

9 minute read

本文将带您快速上手在 Golang 中使用 OpenTelemetry(OTel)。我们将从一个简单的 Golang 应用程序出发,学习如何采集并在控制台输出 trace、log 和 metrics 数据。接着,将介绍如何将追踪信息上报至 OTel Collector、Jaeger 和 Prometheus,并演...

Index Architecture Proposal

less than 1 minute read

Vector Index refers to constructing a time and space efficient data structure for vector data based on a certain mathematical quantization model, to efficien...

Proposal to Pause User DDL During TiDB Upgrades

less than 1 minute read

This document describes a feature that allows users to pause the execution of their Data Definition Language (DDL) statements during the upgrade process of T...

Proposal for Supporting Charset Framework in TiDB

less than 1 minute read

Currently, TiDB only supports ascii, binary, latin1, utf8, and utf8mb4 character sets. This proposal aims to add a framework for character sets to TiDB to fa...

Column Type Modification Proposal

less than 1 minute read

This proposal proposes a new feature that supports column type modification more comprehensively.

表结构设计最佳实践

1 minute read

本文基于 TiDB 的实现机制,介绍表结构在设计时的注意事项以及建议。 读者在阅读本文之前,知道 TiDB 整体架构 ,了解 TiDB 原理的三篇文章(讲存储,说计算,谈调度)。

TiDB DDL Architecture

less than 1 minute read

This article will describe the architecture of the Online DDL implemented in TiDB.

TiDB 源码阅读系列文章(八)基于代价的优化

less than 1 minute read

本文是 TiDB 源码阅读系列文章的第八篇。内文会先简单介绍制定查询计划以及优化的过程,然后用较大篇幅详述在得到逻辑计划后,如何基于统计信息和不同的属性选择等生成各种不同代价的物理计划,通过比较物理计划的代价,最后选择一个代价最小的物理计划,即 Cost-Based Optimization(CBO)的过程。

TiDB 的异步 schema 变更优化

2 minute read

近一年我们在 DDL 方面做了一些优化,可能跟原来介绍 DDL 实现的文章有许多出入。所以这次介绍一下近期的一些优化,这些优化是在之前分享过一篇关于 TiDB schema 异步变更实现的文章的基础上做的。看优化前建议先看一下之前的实现。 概述 原来我们根据 Google F1 的在线异步 schema 变更算...