- Introduction
- Concepts
- Architecture
- Key Features
- Horizontal Scalability
- MySQL Compatible Syntax
- Replicate from and to MySQL
- Distributed Transactions with Strong Consistency
- Cloud Native Architecture
- Minimize ETL with HTAP
- Fault Tolerance & Recovery with Raft
- Automatic Rebalancing
- Deployment and Orchestration with Ansible, Kubernetes, Docker
- JSON Support
- Spark Integration
- Read Historical Data Without Restoring from Backup
- Fast Import and Restore of Data
- Hybrid of Column and Row Storage
- SQL Plan Management
- Open Source
- Online Schema Changes
- How-to
- Get Started
- Deploy
- Hardware Recommendations
- From Binary Tarball
- Orchestrated Deployment
- Geographic Redundancy
- Data Migration with Ansible
- Configure
- Secure
- Transport Layer Security (TLS)
- Generate Self-signed Certificates
- Monitor
- Migrate
- Maintain
- Common Ansible Operations
- Backup and Restore
- Identify Abnormal Queries
- Scale
- Upgrade
- Troubleshoot
- Reference
- SQL
- MySQL Compatibility
- SQL Language Structure
- Data Types
- Functions and Operators
- Function and Operator Reference
- 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
- Information Functions
- JSON Functions
- Aggregate (GROUP BY) Functions
- Window Functions
- Miscellaneous Functions
- Precision Math
- List of Expressions for Pushdown
- SQL Statements
ADD COLUMN
ADD INDEX
ADMIN
ADMIN CANCEL DDL
ADMIN CHECKSUM TABLE
ADMIN CHECK [TABLE|INDEX]
ADMIN SHOW DDL [JOBS|QUERIES]
ALTER DATABASE
ALTER TABLE
ALTER USER
ANALYZE TABLE
BEGIN
CHANGE COLUMN
COMMIT
CREATE DATABASE
CREATE INDEX
CREATE ROLE
CREATE TABLE LIKE
CREATE TABLE
CREATE USER
CREATE VIEW
DEALLOCATE
DELETE
DESC
DESCRIBE
DO
DROP COLUMN
DROP DATABASE
DROP INDEX
DROP ROLE
DROP TABLE
DROP USER
DROP VIEW
EXECUTE
EXPLAIN ANALYZE
EXPLAIN
FLUSH PRIVILEGES
FLUSH STATUS
FLUSH TABLES
GRANT <privileges>
GRANT <role>
INSERT
KILL [TIDB]
LOAD DATA
LOAD STATS
MODIFY COLUMN
PREPARE
RECOVER TABLE
RENAME INDEX
RENAME TABLE
REPLACE
REVOKE <privileges>
REVOKE <role>
ROLLBACK
SELECT
SET DEFAULT ROLE
SET [NAMES|CHARACTER SET]
SET PASSWORD
SET ROLE
SET TRANSACTION
SET [GLOBAL|SESSION] <variable>
SHOW ANALYZE STATUS
SHOW CHARACTER SET
SHOW COLLATION
SHOW [FULL] COLUMNS FROM
SHOW CREATE TABLE
SHOW CREATE USER
SHOW DATABASES
SHOW ENGINES
SHOW ERRORS
SHOW [FULL] FIELDS FROM
SHOW GRANTS
SHOW INDEXES [FROM|IN]
SHOW INDEX [FROM|IN]
SHOW KEYS [FROM|IN]
SHOW PRIVILEGES
SHOW [FULL] PROCESSSLIST
SHOW SCHEMAS
SHOW STATUS
SHOW [FULL] TABLES
SHOW TABLE REGIONS
SHOW TABLE STATUS
SHOW [GLOBAL|SESSION] VARIABLES
SHOW WARNINGS
SPLIT REGION
START TRANSACTION
TRACE
TRUNCATE
UPDATE
USE
- Constraints
- Generated Columns
- Partitioning
- Character Set
- SQL Mode
- Views
- Configuration
- Security
- Transactions
- System Databases
- Errors Codes
- Supported Client Drivers
- Garbage Collection (GC)
- Performance
- Overview
- Understanding the Query Execution Plan
- The Blocklist of Optimization Rules and Expression Pushdown
- Introduction to Statistics
- TopN and Limit Push Down
- Optimizer Hints
- Check the TiDB Cluster Status Using SQL Statements
- Execution Plan Binding
- Statement Summary Table
- Tune TiKV
- Operating System Tuning
- Column Pruning
- Key Monitoring Metrics
- Alert Rules
- Best Practices
- TiSpark
- TiKV
- TiDB Binlog
- Tools
- TiDB in Kubernetes
- FAQs
- Support
- Contribute
- Adopters
- Releases
- All Releases
- v3.0
- v2.1
- v2.0
- v1.0
- Glossary
Important
You are viewing the documentation of an older version of the TiDB database (TiDB v3.0).
It is recommended that you use the latest stable version of the TiDB database.
TiDB 3.0.20 Release Notes
Release date: December 25, 2020
TiDB version: 3.0.20
Compatibility Change
TiDB
- Deprecate the
enable-streaming
configuration item #21054
- Deprecate the
Improvements
TiDB
- Raise an error when preparing the
LOAD DATA
statement #21222
- Raise an error when preparing the
TiKV
- Add the
end_point_slow_log_threshold
configuration item #9145
- Add the
Bug Fixes
TiDB
- Fix the incorrect cache of the transaction status for pessimistic transactions #21706
- Fix the issue of inaccurate statistics that occurs when querying
INFORMATION_SCHEMA.TIDB_HOT_REGIONS
#21319 - Fix the issue that
DELETE
might not delete data correctly when the database name is not in a pure lower representation #21205 - Fix the issue of stack overflow that occurs when building the recursive view #21000
- Fix the issue of goroutine leak in TiKV client #20863
- Fix the wrong default zero value for the
year
type #20828 - Fix the issue of goroutine leak in index lookup join #20791
- Fix the issue that executing
INSERT SELECT FOR UPDATE
returns the malformed packet in the pessimistic transaction #20681 - Fix the unknown time zone
'posixrules'
#20605 - Fix the issue that occurs when converting the unsigned integer type to the bit type #20362
- Fix the corrupted default value of the bit type column #20339
- Fix the potentially incorrect results when one of the equal condition is the
Enum
orSet
type #20296 - Fix a wrong behavior of
!= any()
#20061 - Fix the issue that type conversion in
BETWEEN...AND...
returns invalid results #21503 - Fix a compatibility issue with the
ADDDATE
function #21008 - Set the correct default value for newly added
Enum
column #20999 - Fix the result of SQL statements like
SELECT DATE_ADD('2007-03-28 22:08:28',INTERVAL "-2.-2" SECOND)
to be compatible with MySQL #20627 - Fix the incorrect default value when modifying the column type #20532
- Fix the issue that the
timestamp
function gets wrong result when the input argument is thefloat
ordecimal
type #20469 - Fix a potential deadlock issue in statistics #20424
- Fix the issue that the overflown float type data is inserted #20251
TiKV
- Fix the issue that an error is returned indicating that a key exists when this key is locked and deleted in a committed transaction #8931
PD
- Fix the issue that too many logs are printed when starting PD and when there are too many stale Regions #3064
What’s on this page
Was this page helpful?