当前位置:网站首页>Restrictions on the use of tidb
Restrictions on the use of tidb
2022-06-27 06:34:00 【Tianxiang shop】
This article will describe in detail TiDB Common usage restrictions in , Include : Identifier length , The most supported databases 、 surface 、 Indexes 、 Partition table 、 Number of sequences, etc .
Identifier length limit
| Identifier type | Maximum length ( character ) |
|---|---|
| Database | 64 |
| Table | 64 |
| Column | 64 |
| Index | 64 |
| View | 64 |
| Sequence | 64 |
Databases、Tables、Views、Connections Total number limit
| Identifier type | The maximum number |
|---|---|
| Databases | unlimited |
| Tables | unlimited |
| Views | unlimited |
| Connections | unlimited |
Single Database The limitation of
| type | Maximum restriction |
|---|---|
| Tables | unlimited |
Single Table The limitation of
| type | Maximum restriction ( The default value is ) |
|---|---|
| Columns | The default is 1017, Maximum adjustable to 4096 |
| Indexs | The default is 64, Maximum adjustable to 512 |
| Rows | unlimited |
| Size | unlimited |
| Partitions | 8192 |
- Columns The maximum limit of can be passed through table-column-count-limit modify .
- Indexs The maximum limit of can be passed through index-limit modify .
Limit of single line
| type | Maximum restriction |
|---|---|
| Size | The default is 6MB, It can be done by txn-entry-size-limit Configuration item adjustment |
Single column restrictions
| type | Maximum restriction |
|---|---|
| Size | 6MB |
String type restrictions
| type | Maximum restriction |
|---|---|
| CHAR | 256 character |
| BINARY | 256 byte |
| VARBINARY | 65535 byte |
| VARCHAR | 16383 character |
| TEXT | 6MB byte |
| BLOB | 6MB byte |
SQL Statements The limitation of
| type | Maximum restriction |
|---|---|
| Maximum number of statements per transaction | When optimistic transactions are used and transaction retry is enabled , Default restrictions 5000, It can be done by stmt-count-limit adjustment |
边栏推荐
- The restart status of the openstack instance will change to the error handling method. The openstack built by the container restarts the compute service method of the computing node and prompts the gi
- 记一次Spark报错:Failed to allocate a page (67108864 bytes), try again.
- [cultivation system] common regular expressions
- Us camera cloud service scheme: designed for lightweight video production scenes
- G1 and ZGC garbage collector
- Dev++ 环境设置C语言关键字显示颜色
- thrift
- Change the status to the corresponding text during MySQL query
- matlab GUI界面仿真直流电机和交流电机转速仿真
- 卷积神经网络---CNN模型的应用(找矿预测)
猜你喜欢

Distribution gaussienne, régression linéaire, régression logistique

426 binary tree (513. find the value in the lower left corner of the tree, 112. sum of paths, 106. construct a binary tree from the middle order and post order traversal sequence, 654. maximum binary

Gaussian distribution, linear regression, logistic regression

Dev++ environment setting C language keyword display color

LeetCode 0086.分隔链表

Quick personal site building guide using WordPress

Multithreading basic part2

JVM garbage collection mechanism

Redis 缓存穿透、缓存击穿、缓存雪崩

How to check the frequency of memory and the number of memory slots in CPU-Z?
随机推荐
Kubesphere cluster configuration NFS storage solution - favorite
Thesis reading skills
主动学习(active learning)
TiDB 基本功能
1317. convert an integer to the sum of two zero free integers
机 器 学 习
multiprocessing.pool详解
IDEA一键生成Log日志
[QT notes] simple understanding of QT meta object system
路由器和交换机的区别
Code is data
力扣 179、最大数
第 299 场周赛 第四题 6103. 从树中删除边的最小分数
Spark sql 常用时间函数
[QT] use structure data to generate read / write configuration file code
JVM整体结构解析
论文阅读技巧
426-二叉树(513.找树左下角的值、112. 路径总和、106.从中序与后序遍历序列构造二叉树、654. 最大二叉树)
技术人员创业一年心得
NoViableAltException([email protected][2389:1: columnNameTypeOrConstraint : ( ( tableConstraint ) | ( columnNameT