tencent cloud

TDSQL Boundless

Release Notes
Product Introduction
Overview
Scenarios
Product Architecture
Instance Types
Compatibility Notes
Kernel Features
Kernel Overview
Kernel Version Release Notes
Functionality Features
Performance Features
Billing
Billing Overview
Purchase Method
Pricing Details
Renewal
Overdue Payments
Refund
Getting Started
Creating an Instance
Connect to Instances
User Guide
Data Migration
Data Subscription
Instance Management
Configuration Change
Parameter Configuration
Account Management
Security Group
Backup and Restoration
Database Auditing
Tag Management
Use Cases
Technical Evolution and Usage Practices of Online DDL
Lock Mechanism Analysis and Troubleshooting Practices
Data Intelligent Scheduling and Related Practices for Performance Optimization
TDSQL Boundless Selection Guide and Practical Tutorial
Developer Guide
Developer Guide (MySQL Compatibility Mode)
Developer Guide (HBase Compatibility Mode)
Performance Tuning
Performance Tuning Overview
SQL Tuning
DDL Tuning
Performance White Paper
Performance Overview
TPC-C Test
Sysbench Test
API Documentation
History
Introduction
API Category
Making API Requests
Instance APIs
Security Group APIs
Task APIs
Backup APIs
Rollback APIs
Parameter APIs
Database APIs
Data Types
Error Codes
General Reference
System Architecture
SQL Reference
Database Parameter Description
TPC-H benchmark data model reference
Error Code Information
Security and Compliance
FAQs
Agreements
Service Level Agreement
Terms of Service
Privacy Policy
Data Processing And Security Agreement
Contact Us
Glossary

Architecture Overview

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-02-10 10:54:57

Architecture of the TDStore Distributed Storage Engine

TDStore is the storage engine that powers TDSQL Boundless. It is a distributed storage engine built upon RocksDB. By incorporating a data sharding module and a distributed transaction module in its upper layers, and integrating Raft consensus protocol module in its lower layer, TDStore transforms a single-machine RocksDB into a distributed KV storage engine. This architecture delivers high scalability, high availability, distributed transactions, automatic data balancing scheduling, strong consistency across multiple replicas.

Single-Machine KV Storage Engine (RocksDB)
Receive KV requests passed from the computing layer.
Stores data using a Log-Structured Merge-Tree (LSM-Tree) structure.
Logical Data Sharding
Supports scheduling and migration by data shard.
Implements flexible scheduling of data across nodes in the cluster.
Distributed Transaction
Maintains participant context and transaction states for distributed transactions across various data shards.
Supports scheduling co-location related data onto the same data shard. This strategy converts most of the distributed transactions into non-distributed transactions, thereby improving overall transaction performance.
Multi-Replica Disaster Recovery Layer (Multi-Raft)
Creates multiple replicas for each data shard across different TDStore nodes, with each shard and its replicas forming a Raft Group.
Each data shard is synchronized as an independent log stream.

Low-Cost Mass Storage

The TDStore storage layer leverages an LSM-Tree and SSTable architecture to store and manage data. This design achieves a very high compression ratio, significantly reducing storage costs for massive datasets. A single instance can support petabyte-scale (PB-scale) storage.
For details on TDStore's compression in different scenarios, refer to the section on High Data Compression Ratio.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백