TiDB中文技术文档经过加密存储在 mysql.user 表中。目前这个行为和 MySQL 不一 致,会在接下来的版本中修改为和 MySQL 一致的行为。 限制和约束 Create User 语句 TiDB 访问权限管理 - 53 - 本文档使用 书栈(BookStack.CN) 构建 TiDB 用户账户管理 TiDB 将用户账户存储在 mysql.user 系统表里面。每个账户由用户名和 host 作为标识。每个账户可以设置一个 juss stringLit 50. | SubSelect 51. | '!' PrimaryExpression 52. | '~' PrimaryExpression 53. | '-' PrimaryExpression 54. | '+' PrimaryExpression 55. | "BINARY" PrimaryExpression 表示精度(以位数表示),只使用该值来确定是否结果列的数据类型为 FLOAT 或 DOUBLE。如果 p 为从 0 到 24,数据类型变为没 有 M 或 D 值的 FLOAT。如果 p 为从 25 到 53,数据类型变为没有 M 或 D 值的 DOUBLE。结果列范围与本节前面描述的单精度 FLOAT 或双 精度 DOUBLE 数据类型相同。 字段意义: 语法元素 说明 M 小数总位数 D 小数点后位数0 码力 | 444 页 | 4.89 MB | 6 月前3
TiDB v5.3 Documentation· · · · · · · · · · · · · · · · · · · · · · · 53 2.3.1 Data types, functions, and operators· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 53 2.3.2 Indexing and constraints· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 53 2.3.3 SQL statements · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 54 2.3.4 Advanced Y Y Y Y N 1TiDB incorrectly treats latin1 as a subset of utf8. See TiDB #18955 for more details. 53 2.3.3 SQL statements SQL statements 2 5.3 5.2 5.1 5.0 4.0 Basic SELECT, INSERT, UPDATE, DELETE,0 码力 | 2996 页 | 49.30 MB | 1 年前3
分布式NewSQL数据库TiDB⽬录 分布式NewSQL数据库 TiDB Copyright © 2012-2021 UCloud 优刻得 3/120 38 39 40 40 41 41 43 43 43 46 49 49 52 53 55 57 57 58 58 59 60 备份恢复 备份恢复 设置备份策略 调整⾃动备份策略 ⼿动备份 删除备份数据 备份恢复 Dashboard/监控访问 监控访问 代理节点 配置访问代理 访问 进⼊产品主⻚, 会默认列出当前地域的实例列表。 找到实例,点击操作栏中的“详情”按钮进⼊详情⻚⾯。 实例 分布式NewSQL数据库 TiDB Copyright © 2012-2021 UCloud 优刻得 53/120 实例 分布式NewSQL数据库 TiDB Copyright © 2012-2021 UCloud 优刻得 54/120 详情⻚⾯左侧会显⽰实例的基础信息等内容,可以在⻚⾯左侧进⾏资源上限调整,0 码力 | 120 页 | 7.42 MB | 6 月前3
TiDB v5.2 Documentation33.72 -2.98% Compared with v5.1.1, the Update Non-index performance of v5.2.0 is reduced by 1.98%. 53 Figure 2: Update Non-index 2.5.1.4.3 Update Index performance Threads v5.1.1 QPS v5.1.1 95% latency one shows the situation after scattering hotspots. 447 Figure 52: Dashboard Example 5 448 Figure 53: Dashboard Example 6 As shown in the load diagrams above, before setting SHARD_ROW_ID_BITS, load hotspots where `id` = ? ; | 7480000000000000355 �→ F728000000000000002 | {"db_id":1,"db_name":"test","table_id":53," �→ table_name":"t","handle_type":"int","handle_value":"2"} | �→ 426812829645406217 | | 1 | 2021-08-050 码力 | 2848 页 | 47.90 MB | 1 年前3
TiDB v5.4 DocumentationImprovements · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 53 2.2.4 Bug fixes · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · Increase the non-temporary thread count of gRPC to avoid the frequent creation or destruction of threads 53 • Tools – Backup & Restore (BR) * Add a validity check for the key when BR performs encrypted backup execution details such as the Call/sec, Scan Rows/sec, Scan Indexes/sec, and Latency/call. Figure 53: Top SQL Details 8.6 Identify Expensive Queries TiDB allows you to identify expensive queries during0 码力 | 3650 页 | 52.72 MB | 1 年前3
TiDB v5.2 中文手册语句查看可用的内建函数。参 考 SQL 语法文档。 2.6.2.5 DDL 的限制 TiDB 中,所有支持的 DDL 变更操作都是在线执行的。与 MySQL 相比,TiDB 中的 DDL 存在以下限制: 53 • 不能在单条 ALTER TABLE 语句中完成多个操作。例如,不能在单个语句中添加多个列或索引,否则,可 能会输出 Unsupported multi schema change 的错误。 "region_count": 531, "region_weight": 1, "region_score": 531, "region_size": 531, "start_ts": "2020-05-21T10:53:38+08:00", "last_heartbeat_ts": "2020-05-21T11:00:38.949235439+08:00", "uptime": "7m0.949235439s" CLUSTERED 主键的详细信 息,请参考聚簇索引。 以下是两张无主键情况下使用 SHARD_ROW_ID_BITS 打散热点后的流量图,第一张展示了打散前的情况,第二 张展示了打散后的情况。 331 图 53: Dashboard 示例 5 332 图 54: Dashboard 示例 6 从流量图可见,设置 SHARD_ROW_ID_BITS 后,流量热点由之前的只在一个 Region 上变得很分散。0 码力 | 2259 页 | 48.16 MB | 1 年前3
TiDB v5.3 中文手册TPC-C 性能对比测试报告 - v5.3.0 对比 v5.2.2 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 53 2.5.3 TiDB TPC-H 性能对比测试报告 - v5.3 MPP 模式对比 Greenplum 6.15.0 以及 Apache Spark 3.1.1 · · · · · · 56 2 c5.4xlarge 3 TPC-C c5.9xlarge 1 2.5.2.2.2 软件版本 服务类型 软件版本 PD v5.2.2、v5.3.0 TiDB v5.2.2、v5.3.0 53 服务类型 软件版本 TiKV v5.2.2、v5.3.0 TiUP 1.5.1 2.5.2.2.3 配置参数 两个版本使用同样的配置 TiDB 参数配置 log.level: "error" "region_count": 531, "region_weight": 1, "region_score": 531, "region_size": 531, "start_ts": "2020-05-21T10:53:38+08:00", 259 "last_heartbeat_ts": "2020-05-21T11:00:38.949235439+08:00", "uptime": "7m0.949235439s"0 码力 | 2374 页 | 49.52 MB | 1 年前3
TiDB v6.1 Documentationexe- cuted ANALYZE �→ �→ TABLE �→ by users and au- to- matic ana- lyze tasks in the TiDB back- ground. 53 Variable name Change type Description tidb_nontransactional_ignore_error �→ Newly added This vari- choose Data integration > Connectors > Snowflake Sink. The page shown below is displayed. Figure 53: Add snowflake sink connector 3. Select the topic you want to replicate to Snowflake. Then go to the where `id` = ? ; | 7480000000000000355 �→ F728000000000000002 | {"db_id":1,"db_name":"test","table_id":53," �→ table_name":"t","handle_type":"int","handle_value":"2"} | �→ 426812829645406217 | 1047 | 1 |0 码力 | 4487 页 | 84.44 MB | 1 年前3
TiDB v8.2 DocumentationDeprecated features · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 53 2.2.4 Improvements · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · asynchronously by default, and the tidb_enable_async_merge_global_stats system variable will be deprecated. 53 • It is planned to redesign the auto-evolution of execution plan bindings in subse- quent releases to connect to your TiDB. • Password: enter the password to use to connect to your TiDB. 313 Figure 53: Navicat: configure connection general panel for self-hosted TiDB 3. Click Test Connection to validate0 码力 | 6549 页 | 108.77 MB | 10 月前3
TiDB v5.4 中文手册--mysql-host=$aws_nlb_host \ --mysql-port=$aws_nlb_port \ run --tables=16 --table-size=10000000 2.5.1.4 测试结果 53 2.5.1.4.1 Point Select 性能 54 Threads v5.3.0 TPS v5.4.0 TPS v5.3.0 95% latency (ms) v5.4.0 95% "region_count": 531, "region_weight": 1, "region_score": 531, "region_size": 531, "start_ts": "2020-05-21T10:53:38+08:00", 324 "last_heartbeat_ts": "2020-05-21T11:00:38.949235439+08:00", "uptime": "7m0.949235439s" Exporter 截图 • 快照可视化:通过网页端可视化工具 Visualizer 将快照导出文件可视化。快照经过可视化后,操作起来 与实际的 Grafana Dashboard 无异。 331 图 53: MetricsTool Visualizer 截图 • 导入快照:介绍如何将导出的快照重新导入到已有的 Grafana 实例中。 7.4.2 FAQs 7.4.2.1 与直接截图及导出 PDF0 码力 | 2852 页 | 52.59 MB | 1 年前3
共 33 条
- 1
- 2
- 3
- 4













