- Docs Home
- About TiDB Self-Managed
- Get Started
- Develop
- Overview
- Quick Start
- Example Applications
- Java
- Go
- Python
- Node.js
- Ruby
- Connect to TiDB
- Design Database Schema
- Write Data
- Read Data
- Vector Search
- Overview
- Get Started
- Integrations
- Overview
- AI Frameworks
- Embedding Models/Services
- ORM Libraries
- Improve Performance
- Limitations
- Transaction
- Optimize
- Troubleshoot
- Reference
- Cloud Native Development Environment
- Third-Party Support
- Deploy
- Software and Hardware Requirements
- Environment Configuration Checklist
- Plan Cluster Topology
- Deploy Using TiUP
- Deploy on Kubernetes
- Verify Cluster Status
- Test Cluster Performance
- Migrate
- Overview
- Migration Tools
- Import Best Practices
- Migration Scenarios
- Migrate from Aurora
- Migrate Small Datasets from MySQL
- Migrate Large Datasets from MySQL
- Migrate and Merge MySQL Shards of Small Datasets
- Migrate and Merge MySQL Shards of Large Datasets
- Migrate from Vitess
- Migrate from MariaDB
- Migrate from CSV Files
- Migrate from SQL Files
- Migrate from Parquet Files
- Migrate from One TiDB Cluster to Another TiDB Cluster
- Migrate from TiDB to MySQL-compatible Databases
- Advanced Migration
- Stream Data
- TiCDC Overview
- Deploy and Maintain
- Changefeed
- Monitor and Alert
- Integration Scenarios
- Reference
- TiCDC Architecture
- TiCDC Server Configurations
- TiCDC Changefeed Configurations
- TiCDC Client Authentication
- Data Integrity Validation for Single-Row Data
- Data Consistency Validation for Upstream and Downstream TiDB Clusters
- TiCDC Behavior in Splitting UPDATE Events
- Output Protocols
- TiCDC Open API v2
- TiCDC Open API v1
- TiCDC Data Consumption
- TiCDC Compatibility
- Troubleshoot
- FAQs
- Glossary
- Maintain
- Security
- Upgrade
- Scale
- Backup and Restore
- Overview
- Architecture
- Use BR
- BR CLI Manuals
- References
- Cluster Disaster Recovery (DR)
- Resource Control
- Configure Time Zone
- Daily Checklist
- Maintain TiFlash
- Maintain TiDB Using TiUP
- Modify Configuration Dynamically
- Online Unsafe Recovery
- Replicate Data Between Primary and Secondary Clusters
- Monitor and Alert
- Troubleshoot
- Issue Summary
- Issue Scenarios
- Diagnostic Methods
- Support Resources
- Performance Tuning
- Tuning Guide
- Configuration Tuning
- SQL Tuning
- Overview
- Understanding the Query Execution Plan
- SQL Optimization Process
- Overview
- Logic Optimization
- Physical Optimization
- Prepared Execution Plan Cache
- Non-Prepared Execution Plan Cache
- Control Execution Plans
- Tutorials
- Multiple Availability Zones in One Region Deployment
- Three Availability Zones in Two Regions Deployment
- Two Availability Zones in One Region Deployment
- Read Historical Data
- Best Practices
- Use Placement Rules
- Use Load Base Split
- Use Store Limit
- DDL Execution Principles and Best Practices
- Use PD Microservices
- TiDB Tools
- Overview
- Use Cases
- Download
- TiUP
- Documentation Map
- Overview
- Terminology and Concepts
- Manage TiUP Components
- FAQ
- Troubleshooting Guide
- Command Reference
- Overview
- TiUP Commands
- TiUP Cluster Commands
- Overview
- tiup cluster audit
- tiup cluster audit cleanup
- tiup cluster check
- tiup cluster clean
- tiup cluster deploy
- tiup cluster destroy
- tiup cluster disable
- tiup cluster display
- tiup cluster edit-config
- tiup cluster enable
- tiup cluster help
- tiup cluster import
- tiup cluster list
- tiup cluster meta backup
- tiup cluster meta restore
- tiup cluster patch
- tiup cluster prune
- tiup cluster reload
- tiup cluster rename
- tiup cluster replay
- tiup cluster restart
- tiup cluster scale-in
- tiup cluster scale-out
- tiup cluster start
- tiup cluster stop
- tiup cluster template
- tiup cluster upgrade
- TiUP DM Commands
- Overview
- tiup dm audit
- tiup dm deploy
- tiup dm destroy
- tiup dm disable
- tiup dm display
- tiup dm edit-config
- tiup dm enable
- tiup dm help
- tiup dm import
- tiup dm list
- tiup dm patch
- tiup dm prune
- tiup dm reload
- tiup dm replay
- tiup dm restart
- tiup dm scale-in
- tiup dm scale-out
- tiup dm start
- tiup dm stop
- tiup dm template
- tiup dm upgrade
- TiDB Cluster Topology Reference
- DM Cluster Topology Reference
- Mirror Reference Guide
- TiUP Components
- TiDB Operator
- TiDB Data Migration
- About TiDB Data Migration
- Architecture
- Quick Start
- Best Practices
- Deploy a DM cluster
- Tutorials
- Advanced Tutorials
- Maintain
- Cluster Upgrade
- Tools
- Performance Tuning
- Manage Data Sources
- Manage Tasks
- Export and Import Data Sources and Task Configurations of Clusters
- Handle Alerts
- Daily Check
- Reference
- Architecture
- Mechanism
- Command Line
- Configuration Files
- OpenAPI
- Compatibility Catalog
- Secure
- Monitoring and Alerts
- Error Codes
- Glossary
- Example
- Troubleshoot
- Release Notes
- TiDB Lightning
- Overview
IMPORT INTO
vs. TiDB Lightning- Compatibility of TiDB Lightning and
IMPORT INTO
with TiCDC and Log Backup - Get Started
- Deploy TiDB Lightning
- Target Database Requirements
- Data Sources
- Physical Import Mode
- Logical Import Mode
- Prechecks
- Table Filter
- Checkpoints
- Import Data in Parallel
- Error Resolution
- Troubleshooting
- Reference
- Dumpling
- PingCAP Clinic Diagnostic Service
- TiSpark
- sync-diff-inspector
- TiProxy
- Reference
- Cluster Architecture
- Storage Engine - TiKV
- Storage Engine - TiFlash
- Overview
- Create TiFlash Replicas
- Use TiDB to Read TiFlash Replicas
- Use TiSpark to Read TiFlash Replicas
- Use MPP Mode
- Use FastScan
- Disaggregated Storage and Compute Architecture and S3 Support
- Supported Push-down Calculations
- TiFlash Query Result Materialization
- TiFlash Late Materialization
- Spill to Disk
- Data Validation
- MinTSO Scheduler
- Compatibility
- Pipeline Execution Model
- TiDB Distributed eXecution Framework (DXF)
- System Variables
- Server Status Variables
- Configuration File Parameters
- CLI
- Command Line Flags
- Key Monitoring Metrics
- Privileges
- SQL
- SQL Language Structure and Syntax
- SQL Statements
- Overview
ADMIN
ADMIN CANCEL DDL
ADMIN CHECKSUM TABLE
ADMIN CHECK [TABLE|INDEX]
ADMIN CLEANUP
ADMIN PAUSE DDL
ADMIN RECOVER INDEX
ADMIN RESUME DDL
ADMIN [SET|SHOW|UNSET] BDR ROLE
ADMIN SHOW DDL [JOBS|JOB QUERIES]
ALTER DATABASE
ALTER INSTANCE
ALTER PLACEMENT POLICY
ALTER RANGE
ALTER RESOURCE GROUP
ALTER SEQUENCE
ALTER TABLE
ALTER USER
ANALYZE TABLE
BACKUP
BATCH
BEGIN
CALIBRATE RESOURCE
CANCEL IMPORT JOB
COMMIT
CREATE BINDING
CREATE DATABASE
CREATE INDEX
CREATE PLACEMENT POLICY
CREATE RESOURCE GROUP
CREATE ROLE
CREATE SEQUENCE
CREATE TABLE LIKE
CREATE TABLE
CREATE USER
CREATE VIEW
DEALLOCATE
DELETE
DESC
DESCRIBE
DO
DROP BINDING
DROP DATABASE
DROP PLACEMENT POLICY
DROP RESOURCE GROUP
DROP ROLE
DROP SEQUENCE
DROP STATS
DROP TABLE
DROP USER
DROP VIEW
EXECUTE
EXPLAIN ANALYZE
EXPLAIN
FLASHBACK CLUSTER
FLASHBACK DATABASE
FLASHBACK TABLE
FLUSH PRIVILEGES
FLUSH STATUS
FLUSH TABLES
GRANT <privileges>
GRANT <role>
IMPORT INTO
INSERT
KILL
LOAD DATA
LOAD STATS
LOCK STATS
[LOCK|UNLOCK] TABLES
PREPARE
QUERY WATCH
RECOVER TABLE
RENAME USER
RENAME TABLE
REPLACE
RESTORE
REVOKE <privileges>
REVOKE <role>
ROLLBACK
SAVEPOINT
SELECT
SET DEFAULT ROLE
SET [NAMES|CHARACTER SET]
SET PASSWORD
SET RESOURCE GROUP
SET ROLE
SET TRANSACTION
SET <variable>
SHOW ANALYZE STATUS
SHOW [BACKUPS|RESTORES]
SHOW BINDINGS
SHOW BUILTINS
SHOW CHARACTER SET
SHOW COLLATION
SHOW COLUMN_STATS_USAGE
SHOW COLUMNS FROM
SHOW CONFIG
SHOW CREATE DATABASE
SHOW CREATE PLACEMENT POLICY
SHOW CREATE RESOURCE GROUP
SHOW CREATE SEQUENCE
SHOW CREATE TABLE
SHOW CREATE USER
SHOW DATABASES
SHOW ENGINES
SHOW ERRORS
SHOW FIELDS FROM
SHOW GRANTS
SHOW IMPORT JOB
SHOW INDEXES
SHOW MASTER STATUS
SHOW PLACEMENT
SHOW PLACEMENT FOR
SHOW PLACEMENT LABELS
SHOW PLUGINS
SHOW PRIVILEGES
SHOW PROCESSLIST
SHOW PROFILES
SHOW SCHEMAS
SHOW STATS_BUCKETS
SHOW STATS_HEALTHY
SHOW STATS_HISTOGRAMS
SHOW STATS_LOCKED
SHOW STATS_META
SHOW STATS_TOPN
SHOW STATUS
SHOW TABLE NEXT_ROW_ID
SHOW TABLE REGIONS
SHOW TABLE STATUS
SHOW TABLES
SHOW VARIABLES
SHOW WARNINGS
SHUTDOWN
SPLIT REGION
START TRANSACTION
TABLE
TRACE
TRUNCATE
UNLOCK STATS
UPDATE
USE
WITH
- Data Types
- Functions and Operators
- Overview
- Type Conversion in Expression Evaluation
- Operators
- Control Flow Functions
- String Functions
- Numeric Functions and Operators
- Date and Time Functions
- Bit Functions and Operators
- Cast Functions and Operators
- Encryption and Compression Functions
- Locking Functions
- Information Functions
- Vector Functions and Operators
- JSON Functions
- Aggregate (GROUP BY) Functions
- GROUP BY Modifiers
- Window Functions
- Miscellaneous Functions
- Precision Math
- Set Operations
- Sequence Functions
- List of Expressions for Pushdown
- TiDB Specific Functions
- Comparisons between Functions and Syntax of Oracle and TiDB
- Clustered Indexes
- Vector Index
- Constraints
- Generated Columns
- SQL Mode
- Table Attributes
- Transactions
- Views
- Partitioning
- Temporary Tables
- Cached Tables
- FOREIGN KEY Constraints
- Character Set and Collation
- Placement Rules in SQL
- System Tables
mysql
Schema- INFORMATION_SCHEMA
- Overview
ANALYZE_STATUS
CHECK_CONSTRAINTS
CLIENT_ERRORS_SUMMARY_BY_HOST
CLIENT_ERRORS_SUMMARY_BY_USER
CLIENT_ERRORS_SUMMARY_GLOBAL
CHARACTER_SETS
CLUSTER_CONFIG
CLUSTER_HARDWARE
CLUSTER_INFO
CLUSTER_LOAD
CLUSTER_LOG
CLUSTER_SYSTEMINFO
COLLATIONS
COLLATION_CHARACTER_SET_APPLICABILITY
COLUMNS
DATA_LOCK_WAITS
DDL_JOBS
DEADLOCKS
ENGINES
INSPECTION_RESULT
INSPECTION_RULES
INSPECTION_SUMMARY
KEYWORDS
KEY_COLUMN_USAGE
MEMORY_USAGE
MEMORY_USAGE_OPS_HISTORY
METRICS_SUMMARY
METRICS_TABLES
PARTITIONS
PLACEMENT_POLICIES
PROCESSLIST
REFERENTIAL_CONSTRAINTS
RESOURCE_GROUPS
RUNAWAY_WATCHES
SCHEMATA
SEQUENCES
SESSION_VARIABLES
SLOW_QUERY
STATISTICS
TABLES
TABLE_CONSTRAINTS
TABLE_STORAGE_STATS
TIDB_CHECK_CONSTRAINTS
TIDB_HOT_REGIONS
TIDB_HOT_REGIONS_HISTORY
TIDB_INDEXES
TIDB_INDEX_USAGE
TIDB_SERVERS_INFO
TIDB_TRX
TIFLASH_REPLICA
TIFLASH_SEGMENTS
TIFLASH_TABLES
TIKV_REGION_PEERS
TIKV_REGION_STATUS
TIKV_STORE_STATUS
USER_ATTRIBUTES
USER_PRIVILEGES
VARIABLES_INFO
VIEWS
METRICS_SCHEMA
- PERFORMANCE_SCHEMA
- SYS
- Metadata Lock
- TiDB Accelerated Table Creation
- Schema Cache
- UI
- TiDB Dashboard
- Overview
- Maintain
- Access
- Overview Page
- Cluster Info Page
- Top SQL Page
- Key Visualizer Page
- Metrics Relation Graph
- SQL Statements Analysis
- Slow Queries Page
- Cluster Diagnostics
- Monitoring Page
- Search Logs Page
- Resource Manager Page
- Instance Profiling
- Session Management and Configuration
- FAQ
- TiDB Dashboard
- Telemetry
- Error Codes
- Table Filter
- Schedule Replicas by Topology Labels
- URI Formats of External Storage Services
- FAQs
- Release Notes
- All Releases
- Release Timeline
- TiDB Versioning
- TiDB Installation Packages
- v8.4
- v8.3
- v8.2
- v8.1
- v8.0
- v7.6
- v7.5
- v7.4
- v7.3
- v7.2
- v7.1
- v7.0
- v6.6
- v6.5
- v6.4
- v6.3
- v6.2
- v6.1
- v6.0
- v5.4
- v5.3
- v5.2
- v5.1
- v5.0
- v4.0
- v3.1
- v3.0
- v2.1
- v2.0
- v1.0
- Glossary