- 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
- Use BR (recommended)
- Identify Abnormal Queries
- Scale
- Upgrade
- Troubleshoot
- Reference
- SQL
- MySQL Compatibility
- SQL Language Structure
- Attributes
- 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 INSTANCE
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
- Follower Read
- 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
- TiFlash
- TiDB Binlog
- Tools
- Overview
- Use Cases
- Download
- TiDB Operator
- Table Filter
- Backup & Restore (BR)
- Mydumper
- Syncer
- Loader
- Data Migration
- TiDB Lightning
- sync-diff-inspector
- PD Control
- PD Recover
- TiKV Control
- TiDB Control
- TiDB in Kubernetes
- FAQs
- Support
- Contribute
- Releases
- All Releases
- v3.1
- 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.1).
It is recommended that you use the latest LTS version of the TiDB database.
TiDB 3.0.3 Release Notes
Release date: August 29, 2019
TiDB version: 3.0.3
TiDB Ansible version: 3.0.3
TiDB
- SQL Optimizer
- Add the
opt_rule_blacklist
table to disable logic optimization rules such asaggregation_eliminate
andcolumn_prune
#11658 - Fix the issue that incorrect results might be returned for
Index Join
when the join key uses a prefix index or an unsigned index column that is equal to a negative value #11759 - Fix the issue that
”
or\
in theSELECT
statements ofcreate … binding ...
might result in parsing errors #11726
- Add the
- SQL Execution Engine
- Fix the issue that type errors in the return value might occur when the Quote function handles a null value #11619
- Fix the issue that incorrect results for
ifnull
might be returned when Max/Min is used for type inferring withNotNullFlag
retained #11641 - Fix the potential error that occurs when comparing bit type data in string form #11660
- Decrease the concurrency for data that requires sequential read to lower the possibility of OOM #11679
- Fix the issue that incorrect type inferring might be caused when multiple parameters are unsigned for some built-in functions (for example,
if
andcoalesce
) #11621 - Fix the incompatibility with MySQL when the
Div
function handles unsigned decimal types #11813 - Fix the issue that panic might occur when executing SQL statements that modify the status of Pump/Drainer #11827
- Fix the issue that panic might occur for
select ... for update
when Autocommit = 1 and there is nobegin
statement #11736 - Fix the permission check error that might occur when the
set default role
statement is executed #11777 - Fix the permission check error that might occur when
create user
ordrop user
is executed #11814 - Fix the issue that the
select ... for update
statement might auto retry when it is constructed into thePointGetExecutor
function #11718 - Fix the boundary error that might occur when the Window function handles partition #11825
- Fix the issue that the
time
function hits EOF errors when handling an incorrectly formatted argument #11893 - Fix the issue that the Window function does not check the passed-in parameters #11705
- Fix the issue that the plan result viewed via
Explain
is inconsistent with the actually executed plan #11186 - Fix the issue that duplicate memory referenced by the Window function might result in a crash or incorrect results #11823
- Update the incorrect information in the
Succ
field in the slow log #11887
- Server
- DDL
- Skip the execution of unsupported partition-related DDL statements, including statements that modify the partition type while deleting multiple partitions #11373
- Disallow a Generated Column to be placed before its dependent columns #11686
- Modify the default values of
tidb_ddl_reorg_worker_cnt
andtidb_ddl_reorg_batch_size
#11874
- Monitor
- Add new backoff monitoring types to record duration for each backoff type; add more backoff metrics to cover previously uncounted types such as commit backoff #11728
TiKV
- Fix the issue that ReadIndex might fail to respond to requests because of duplicate context #5256
- Fix potential scheduling jitters caused by premature
PutStore
#5277 - Fix incorrect timestamps reported from Region heartbeats #5296
- Reduce the size of core dump by excluding the shared block cache from it #5322
- Fix potential TiKV panics during region merge #5291
- Speed up leader change check for the dead lock detector #5317
- Support using
grpc env
to create deadlock clients #5346 - Add
config-check
to check whether the configuration is correct #5349 - Fix the issue that ReadIndex does not return anything when there is no leader #5351
PD
- Return success message for
pdctl
#1685
Tools
- TiDB Binlog
- TiDB Lightning:
- Skip the system databases
mysql
,information_schema
,performance_schema
, andsys
by default when importing #225
- Skip the system databases
TiDB Ansible
- Optimize PD operations for rolling update to improve stability #894
- Remove the Grafana Collector components that are not supported by the current Grafana version #892
- Update TiKV alerting rules #898
- Fix the issue that the generated TiKV configuration misses the
pessimistic-txn
parameter #911 - Update Spark to V2.4.3, and update TiSpark to V2.1.4 that is compatible with Spark V2.4.3 #913, #918
What’s on this page
Was this page helpful?