TiDB中文技术文档CN) 构建 3. SELECT _utf8'some text'; 转义字符: \0: ASCII NUL (X’00’) 字符 \‘: 单引号 \“: 双引号 \b: 退格符号 \n: 换行符 \r: 回车符 \t: tab 符(制表符) \z: ASCII 26 (Ctrl + Z) \\: 反斜杠 \ \%: \% \: \ 如果要在 string literal 中使用 ' 或者 中的关键字跟保留字,保留字用 (R) 来标识: ACTION ADD (R) ADDDATE ADMIN AFTER ALL (R) ALTER (R) ALWAYS ANALYZE(R) AND (R) ANY AS (R) ASC (R) ASCII AUTO_INCREMENT AVG AVG_ROW_LENGTH BEGIN BETWEEN (R) BIGINT (R) BINARY (R) BINLOG BIT BIT_XOR BLOB (R) BOOL BOOLEAN BOTH (R) BTREE BY (R) BYTE CASCADE (R) CASE (R) CAST CHANGE (R) CHAR (R) CHARACTER (R) CHARSET CHECK (R) CHECKSUM COALESCE COLLATE (R) COLLATION COLUMN (R) COLUMNS COMMENT0 码力 | 444 页 | 4.89 MB | 6 月前3
TiDB 2.1.7consistent with a total order of those updates. For in- stance: T1: w(x, 1) T2: w(y, 1) T3: r(x, 1), r(y, nil) T4: r(x, nil), r(y, 1) Under snapshot isolation, T1 and T2 may execute concurrently, because their write concurrently, reading those keys in the reverse order using a second process: T1: w(x, 1) T2: w(y, 1) T3: r(y) T4: r(x) A serializable system could allow x and y to be inserted in either order, and likewise, could could be lost altogether. To begin, consider this trio of transactions from an ap- pend test. We write r(34, [2 1]) to denote the value 2Technically, the process logs a fatal error, prints a stacktrace, and0 码力 | 9 页 | 141.29 KB | 6 月前3
TiDB v5.1 Documentation· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 2744 15.5 R· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · that when importing CSV files, if the last line of the file does not contain line break characters (\r\n), an error will be reported #1133 * Fix the issue that if a table to be imported includes an auto-increment Parquet 2.5.3.2 Test environment 2.5.3.2.1 Hardware prerequisite • Node count: 3 • CPU: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz, 40 cores • Memory: 189 GB • Disks: NVMe 3TB * 2 2.5.3.2.2 Software version0 码力 | 2745 页 | 47.65 MB | 1 年前3
TiDB v5.3 Documentation· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 2995 15.5 R· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · Parquet 2.5.3.2 Test environment 2.5.3.2.1 Hardware prerequisite • Node count: 3 70 • CPU: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz, 40 cores • Memory: 189 GB • Disks: NVMe 3TB * 2 2.5.3.2.2 Software version tripdata.csv' INTO TABLE �→ trips FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\r\n' IGNORE 1 LINES (duration, start_date, end_date, start_station_number, start_station, end_station_number0 码力 | 2996 页 | 49.30 MB | 1 年前3
TiDB v5.2 Documentation· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 2847 23 15.5 R· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · log rotation configurations #2182 – TiDB Lightning * Support customized line terminators (except \r and \n) #1297 * Support expression index and the index that depends on virtual generated columns #1407 Improve the MySQL compatibility of the built-in functionstr_to_date for the format specifiers %b/%M/%r/%T #25767 – Fix the issue that inconsistent binding caches might be created in multiple TiDB after0 码力 | 2848 页 | 47.90 MB | 1 年前3
TiDB v5.4 Documentation· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 3649 15.7 R· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · Hardware prerequisite 74 Instance type Instance count PD 1 TiDB 1 TiKV 3 TiFlash 3 • CPU: Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz, 40 cores • Memory: 189 GB • Disks: NVMe 3TB * 2 2.5.3.2.2 Software version tripdata.csv' INTO TABLE �→ trips FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\r\n' IGNORE 1 LINES (duration, start_date, end_date, start_station_number, start_station, end_station_number0 码力 | 3650 页 | 52.72 MB | 1 年前3
TiDB v5.2 中文手册· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 2258 15.5 R · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 的开放协议更紧凑的二进制 MQ 格式 #1621 * 移除对 file sorter 的支持 #2114 * 支持日志轮替配置 #2182 – TiDB Lightning * 支持 CSV 文件中除 \r 和 \n 之外的自定义行尾 #1297 * 支持表达式索引和依赖于虚拟生成列的索引 #1407 – Dumpling * 支持备份兼容 MySQL 但不支持 START TRANSACTION 均衡到不同 TiFlash 节点上 #24724 – 支持执行 MPP 查询后将缓存中过时的 Region 无效化 #24432 – 提升内置函数 str_to_date 在格式指定器中 %b/%M/%r/%T 的 MySQL 兼容性 #25767 – 修复因对同一条查询重复创建不同 binding 可能导致的多个 TiDB 上 binding cache 不一致的问题 #26015 – 修复升级可能会导致的0 码力 | 2259 页 | 48.16 MB | 1 年前3
TiDB v6.1 Documentation· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 4486 17.10 R· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · tripdata.csv' INTO TABLE �→ trips FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\r\n' IGNORE 1 LINES (duration, start_date, end_date, start_station_number, start_station, end_station_number INFILE '${FILE}' INTO TABLE trips FIELDS TERMINATED BY �→ ',' ENCLOSED BY '\"' LINES TERMINATED BY '\r\n' IGNORE 1 LINES ( �→ duration, start_date, end_date, start_station_number, start_station, �→ end_station_number0 码力 | 4487 页 | 84.44 MB | 1 年前3
TiDB v5.1 中文手册· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 2188 15.5 R · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · #1127 * 修复数据导入期间 Batch Split Region 因键的总大小超过 Raft 条目限制而可能失败的问题 #969 * 修复在导入 CSV 文件时,如果文件的最后一行未包含换行符 (\r\n) 会导入报错的问题 #1133 * 修复待导入的目标表中包含 double 类型的自增列时会导致表的 auto_Increment 值异常的问题 #1178 – Backup & Restore 6.15.0 • Apache Spark 3.1.1 + Parquet 2.5.3.2 测试环境 48 2.5.3.2.1 硬件配置 • 节点数量:3 • CPU:Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz,40 核 • 内存:189 GB • 磁盘:NVMe 3TB * 2 2.5.3.2.2 软件版本 服务类型 软件版本 TiDB0 码力 | 2189 页 | 47.96 MB | 1 年前3
TiDB v5.3 中文手册· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 2372 15.5 R · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 6.15.0 • Apache Spark 3.1.1 + Parquet 2.5.3.2 测试环境 2.5.3.2.1 硬件配置 56 • 节点数量:3 • CPU:Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz,40 核 • 内存:189 GB • 磁盘:NVMe 3TB * 2 2.5.3.2.2 软件版本 服务类型 软件版本 TiDB 量 ${base_mirror} 指代此镜像地址。 4. 将不完整的离线镜像合并到已有的离线镜像中: 首先将当前离线镜像中的 keys 目录复制到 $HOME/.tiup 目录中: cp -r ${base_mirror}/keys $HOME/.tiup/ 然后使用 TiUP 命令将不完整的离线镜像合并到当前使用的镜像中: tiup mirror merge tiup-custom-mirror-v10 码力 | 2374 页 | 49.52 MB | 1 年前3
共 41 条
- 1
- 2
- 3
- 4
- 5













