Design and Implement Golang Failpoints

This post introduces design and implementation of Golang Failpoint. | Continue reading


@pingcap.com | 4 years ago

Tutorial: TiDB Binlog

Learn to deploy TiDB-Binlog with a simple TiDB cluster. | Continue reading


@pingcap.com | 5 years ago

PingCAP Open Sources TiDB-Binlog

Our team at PingCAP is excited to announce that we are open-sourcing our own binlog implementation, TiDB-Binlog. TiDB-Binlog is a tool we’ve been developing in-house (until now) to collect binary log data from TiDB server and provide real-time data backup and replication. | Continue reading


@pingcap.com | 5 years ago

We Found (and Fixed) 2 Linux Kernel Bugs When Testing a Kubernetes Operator

This post introduces how the EE team at PingCAP tackled two Linux kernel bugs while testing TiDB Operator in K8s. PingCAP engineers also hope the K8s community, RHEL and CentOS can help fix these bugs thoroughly in the near future. | Continue reading


@pingcap.com | 5 years ago

Try to Fix Two Linux Kernel Bugs While Testing TiDB Operator in K8s

This post introduces how the EE team at PingCAP tackled two Linux kernel bugs while testing TiDB Operator in K8s. PingCAP engineers also hope the K8s community, RHEL and CentOS can help fix these bugs thoroughly in the near future. | Continue reading


@pingcap.com | 5 years ago

How to Fix Two Linux Kernel Bugs While Testing TiDB Operator in K8s

This post introduces how the EE team at PingCAP tackled two Linux kernel bugs while testing TiDB Operator in K8s. PingCAP engineers also hope the K8s community, RHEL and CentOS can help fix these bugs thoroughly in the near future. | Continue reading


@pingcap.com | 5 years ago

Titan: A RocksDB Plugin to Reduce Write Amplification

As a RocksDB plugin for key-value separation, inspired by WiscKey, Titan is available for preview in TiDB 3.0. This post introduces the design and implementation of Titan. | Continue reading


@pingcap.com | 5 years ago

Titan Storage Engine Design and Implementation

Based on the RocksDB source, Titan is a new storage engine available for preview in TiDB 3.0 and its design is inspired by Wisckey. This post introduces the design and implementation of Titan. | Continue reading


@pingcap.com | 5 years ago

Powering the Xiaomi Mobile with TiDB

As sales of Xiaomi smartphones continue to climb and the MIUI user base continues to grow, the Database Administration team at Xiaomi was having an increasingly hard time managing their MySQL database infrastructure until they adopted TiDB, an open source distributed hybrid trans … | Continue reading


@pingcap.com | 5 years ago

TiDB Ecosystem Tools Deepdive: TiDB-Binlog

TiDB-Binlog is a tool used to collect the logical changes made to a TiDB cluster and provide incremental backup and replication. This post introduces its architecture evolution and implementation principles. | Continue reading


@pingcap.com | 5 years ago

TiDB 3.0 Beta Announced

This post introduces the key new features of TiDB 3.0 Beta. | Continue reading


@pingcap.com | 5 years ago

TiDB 3.0 Beta: Stability at Scale

This post introduces the key new features of TiDB 3.0 Beta. | Continue reading


@pingcap.com | 5 years ago

TiDB 2.1 GA: Battle-Tested to Handle an Unpredictable World

PingCAP, a leading distributed database company that created the popular MySQL-compatible cloud-native NewSQL database TiDB, announces that TiDB 2.1 is ready for General Availability. | Continue reading


@pingcap.com | 5 years ago

TiDB 2018 Year in Review

Thank you for a great 2018! | Continue reading


@pingcap.com | 5 years ago

5 Key Differences Between MySQL and TiDB for Scaling in the Cloud

This post introduces the top five key differences between TiDB and MySQL. | Continue reading


@pingcap.com | 5 years ago

TiDB (a NewSQL DB) gets deployed in Meituan-Dianping (290M monthly users)

As our business grew quickly, we were overwhelmed trying to tackle the mounting data until we found TiDB, a MySQL-compatible NewSQL hybrid transactional and analytical processing (HTAP) database, built and supported by PingCAP. Now we can harness our data with more confidence tha … | Continue reading


@pingcap.com | 5 years ago

TiDB 2.1 GA: Battle-Tested to Handle an Unpredictable World

PingCAP, a leading distributed database company that created the popular MySQL-compatible cloud-native NewSQL database TiDB, announces that TiDB 2.1 is ready for General Availability. | Continue reading


@pingcap.com | 5 years ago

TiKV Uses Lease Read to Guarantee Strong Consistency and Linearizability

This post discusses Raft Log Read, `ReadIndex` Read, and Lease Read, and why TiKV adopts the Lease Read approach. | Continue reading


@pingcap.com | 5 years ago

TiDB: Architecture and Use Cases of a Cloud-Native NewSQL Database

This post provides a macro-level overview of TiDB and is the main reference content for readers to orient and dig deeper into other TiDB subjects. | Continue reading


@pingcap.com | 5 years ago

Announcing TiDB Cloud, Managed as a Service and in the Marketplace of GCP

This post announces that TiDB Cloud is now available for public preview. | Continue reading


@pingcap.com | 5 years ago

Announcing TiDB Cloud, Managed as a Service and in the Marketplace

This post announces that TiDB Cloud is now available for public preview. | Continue reading


@pingcap.com | 5 years ago

iQiYi, Netflix of China, Uses TiDB as Its Primary Database

As our business grew exponentially, we were overwhelmed trying to handle the mounting data until we found TiDB, a MySQL-compatible NewSQL hybrid transactional and analytical processing (HTAP) database, built and supported by PingCAP. Now we no longer worry about data volume and c … | Continue reading


@pingcap.com | 5 years ago

PingCAP Launches TiDB Academy to Teach MySQL DBAs about Distributed DB

Today, we are excited to launch TiDB Academy, a series of technical training courses and certifications on TiDB and distributed databases in general, taught by our senior technical team. | Continue reading


@pingcap.com | 5 years ago

TiDB Reaches 200 Contributors Milestone

TiDB recently added its 200th contributor. As CEO and co-founder of PingCAP who began building TiDB three years ago, I would like to thank the entire TiDB community for helping us reach this important milestone! | Continue reading


@pingcap.com | 5 years ago

9 Why's to Ask When Evaluating a Distributed Database

Since PingCAP started building TiDB, it has encountered countless challenges, pitfalls, and critical design choices. Over the past three years, the PingCAP team has answered many questions from the users. Ed Huang, the CTO of PingCAP, has summarized these questions into “9 why’s” … | Continue reading


@pingcap.com | 5 years ago

TiDB Deployed in Fast-Growing Zhuan Zhuan (100m Users “Recommerce” Marketplace)

With our fast-growing business, the surging data volume posed a serious challenge to our backend system and put the operations team under great pressure. How to tackle these challenges became a thorny problem until we found TiDB, a MySQL compatible distributed hybrid transactiona … | Continue reading


@pingcap.com | 5 years ago

Landing Your First Rust Pull Request in TiKV

This guide is intended to show how you can land your first Pull Request (PR) in Rust to contribute to TiKV in less than 30 minutes. But before we do that, here’s some helpful background. | Continue reading


@pingcap.com | 5 years ago

How to Land Your First Rust Pull Request in TiKV

This guide is intended to show how you can land your first Pull Request (PR) in Rust to contribute to TiKV in less than 30 minutes. But before we do that, here’s some helpful background. | Continue reading


@pingcap.com | 5 years ago

Making real-time analytics “real” with Spark on top of TiDB/TiKV

The motivation behind building TiSpark was to enable real-time analytics on TiDB without the delay and challenges of ETL. Extract, transform, and load (ETL)--a process to extract data from operational databases, transform that data, then load it into a database designed to suppor … | Continue reading


@pingcap.com | 5 years ago

TiSpark: More Data Insights, No More ETL

The motivation behind building TiSpark was to enable real-time analytics on TiDB without the delay and challenges of ETL. Extract, transform, and load (ETL)--a process to extract data from operational databases, transform that data, then load it into a database designed to suppor … | Continue reading


@pingcap.com | 5 years ago

Ele.me Stores 20+ Terabytes of Data in TiDB to Serve 260M Users

With a fast-growing business comes soaring data size, which has placed tremendous pressure on Ele.me’s backend system, especially the database. How to tackle the challenges that come with mounting data has been a nightmare until we found TiDB, a MySQL compatible distributed hybri … | Continue reading


@pingcap.com | 5 years ago

Ele.me uses Redis on TiKV and TiDB for data archive

With a fast-growing business comes soaring data size, which has placed tremendous pressure on Ele.me’s backend system, especially the database. How to tackle the challenges that come with mounting data has been a nightmare until we found TiDB, a MySQL compatible distributed hybri … | Continue reading


@pingcap.com | 5 years ago

Spin Up an HTAP Database in 5 Minutes with TiDB and TiSpark

In this 5-minute tutorial for beginners, we will show you how to spin up a standard TiDB cluster using Docker Compose on your local computer, so you can get a taste of its hybrid power, before using it for work or your own project in production. | Continue reading


@pingcap.com | 5 years ago

How to Spin Up an HTAP Database in 5 Minutes with TiDB and TiSpark

In this 5-minute tutorial for beginners, we will show you how to spin up a standard TiDB cluster using Docker Compose on your local computer, so you can get a taste of its hybrid power, before using it for work or your own project in production. | Continue reading


@pingcap.com | 5 years ago

A Raft implementation in Rust

As an open-source distributed scalable HTAP database, TiDB uses the Raft Consensus Algorithm in its distributed transactional key-value storage engine, TiKV, to ensure data consistency, auto-failover, and fault tolerance. TiDB has thus far been used by more than 200 companies in … | Continue reading


@pingcap.com | 5 years ago

Implement Raft in Rust

As an open-source distributed scalable HTAP database, TiDB uses the Raft Consensus Algorithm in its distributed transactional key-value storage engine, TiKV, to ensure data consistency, auto-failover, and fault tolerance. TiDB has thus far been used by more than 200 companies in … | Continue reading


@pingcap.com | 5 years ago

How we build TiDB

This is the speech Max Liu gave at Percona Live Open Source Database Conference 2016. | Continue reading


@pingcap.com | 6 years ago

TiDB 2.0 Is Ready: Faster, Smarter, and Battle-Tested

TiDB 2.0 is released! We absorbed insights and feedbacks from our customers, listened to requests and issues from our community, and reflected internally on our ultimate vision of building a distributed hybrid transactional and analytical processing database that scales itself, h … | Continue reading


@pingcap.com | 6 years ago

TiDB 2.0 is released with big improvements on the OLAP performance

TiDB 2.0 is released! We absorbed insights and feedbacks from our customers, listened to requests and issues from our community, and reflected internally on our ultimate vision of building a distributed hybrid transactional and analytical processing database that scales itself, h … | Continue reading


@pingcap.com | 6 years ago