Blazing-Fast Cluster Recovery: How TiDB 8.1 Redefines Large-Scale Data Restoration
Backup and restore are critical for ensuring business continuity, with the Recovery Time Objective (RTO) serving as a key metric for assessing restore performance. As TiDB continues to grow in popularity for its scalability, many users have datasets reaching hundreds of terabytes (TBs). That means the challenge of ensuring a fast RTO for such large […]
Kickstart Your Distributed SQL Journey: Setting Up TiDB Locally with TiUP Playground
TiDB is a powerful, open-source distributed SQL database built for handling both transactional and analytical workloads. With its MySQL compatibility, horizontal scalability, and real-time HTAP capabilities, it’s designed for modern, cloud-native architectures. In this distributed SQL tutorial, we’ll walk you through setting up a local TiDB cluster for development and testing in just a few […]
A Comprehensive Guide to TiDB’s Backup and Recovery Technology
Data loss can occur while using a database for various reasons, such as operator error, malicious hacker attacks, and server hardware failures. Backup and recovery technology is the final line of defense to ensure data can still be restored and used after such losses. TiDB, as a native distributed database, fully supports various backup and […]
From Plan to Execution: Zhihu’s Guide to Petabyte-Scale TiDB Database Migration
Author: Xiaolei Dai, Database lead at Zhihu Efficient and reliable data migration is crucial for large-scale online services. Zhihu, one of China’s largest knowledge-sharing platforms, recently undertook the complex task of online migration for dozens of TiDB databases, totaling petabytes (PB) of data. This blog post, based on the expertise of Zhihu’s database lead, Dai […]
Raft Engine: A Log-Structured Embedded Storage Engine for Multi-Raft Logs in TiKV
We introduce how we build and implement TiKV’s Raft Engine, a log-structured embedded storage engine for multi-Raft logs, and how it improves storage performance.
KubeCon 2021 Q&A: PingCAP Recaps the Event and Explores Its HTAP Database
VMblog followed up with Liming Deng, PingCAP's database engineer, on his recent presentation on KubeCon 2021.
How to Troubleshoot RocksDB Write Stalls in TiKV
Author: Mike Barlow (Solutions Architect at PingCAP) Editors: Jose Espinoza, Tina Yang, Tom Dewan TiDB, an open-source, distributed NewSQL database, can experience write performance degradation for several reasons. This troubleshooting guide discusses write performance degradation related to the RocksDB built-in write stall feature. RocksDB is an open-source, mature, and high-performance key-value store. It is optimized for fast, low latency […]
Getting Started with JuiceFS Using TiKV
JuiceFS is an open-source, cloud-native distributed file system that allows users to freely choose the backend storage engine. This post introduces how to use TiKV as a metadata engine for JuiceFS.
How We Trace a KV Database with Less than 5% Performance Impact
As a key-value database, TiKV has much higher performance requirements than a regular application, so tracing tools must have minimal impact. Learn how we trace TiKV requests while impacting performance less than 5%.
Dive Deep into TiKV Transactions: The Life Story of a TiKV Prewrite Request
This post introduces the execution workflow of a TiKV request in the prewrite phase. It offers a top-down description of how the prewrite request of an optimistic transaction is executed within the multiple modules of the Region leader.
TiFS, a TiKV-Based Partition Tolerant, Strictly Consistent File System
TiFS is a distributed file system built upon TiKV. It is partition tolerant, strictly consistent, and most efficient for reading and writing small files or other complicated file system operations.
TiKV + SPDK: Pushing the Limits of Storage Performance
By introducing SPDK into TiKV, we enable the database to directly send instructions to NVMe disks, reducing read/write latency significantly.