1.3 Go practices in TiDB 姚维Overview TiDB TiDB TiDB Application via MySQL Protocol TiKV TiKV TiFlash TiKV TiKV ... DistSQL API KV API ... PD PD PD PD Cluster Pump Pump Pump Drainer ... TiDB Binlog Downstream Database Schrodinger mockCommitError && kv.IsMockCommitErrorEnable() { // kv.MockCommitErrorDisable() // return errors.New("mock commit error") // } …. } https://github.com/pingcap/tidb/blob/master/store/tikv/txn.go#L223 The mockCommitError && kv.IsMockCommitErrorEnable() { kv.MockCommitErrorDisable() return errors.New("mock commit error") }; __badTypemockCommitError: __fp_mockCommitError.BadType(vmockCommitError, "bool");0 码力 | 32 页 | 1.76 MB | 6 月前3
TiDB v6.1 Documentation· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 892 9.2 TiDB Monitoring API· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 894 does not support using Ctrl+C to terminate queries or sessions. User document, #8854 39 • TiKV API V2 (experimental) Before v6.1.0, when TiKV is used as Raw Key Value storage, TiKV only provides basic Value read and write capability because it only stores the raw data passed in by the client. TiKV API V2 provides a new Raw Key Value storage format and access interface, including: • The data is stored0 码力 | 4487 页 | 84.44 MB | 1 年前3
TiDB v5.1 Documentation· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 322 7.2 TiDB Monitoring API· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 324 replication rules related to TiFlash in the current PD instance: curl http://: /pd/api/v1/config/rules/group/tiflash [ { "group_id": "tiflash", "id": "table-45-r", "override": true, "start_key": as an example. Delete it by the following command: curl -v -X DELETE http:// : /pd/api/v1/config/rule/ �→ tiflash/table-45-r 6.2.1.6 Scale in a TiCDC cluster If you want to remove the 0 码力 | 2745 页 | 47.65 MB | 1 年前3
TiDB v5.3 Documentation· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 353 7.2 TiDB Monitoring API· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 355 replication rules related to TiFlash in the current PD instance: curl http://: /pd/api/v1/config/rules/group/tiflash [ { "group_id": "tiflash", "id": "table-45-r", "override": true, "start_key": as an example. Delete it by the following command: curl -v -X DELETE http:// : /pd/api/v1/config/rule/ �→ tiflash/table-45-r 214 6.2.1.6 Scale in a TiCDC cluster If you want to remove 0 码力 | 2996 页 | 49.30 MB | 1 年前3
TiDB v5.2 Documentation· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 336 7.2 TiDB Monitoring API· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 338 replication rules related to TiFlash in the current PD instance: curl http://: /pd/api/v1/config/rules/group/tiflash [ { "group_id": "tiflash", "id": "table-45-r", "override": true, "start_key": as an example. Delete it by the following command: curl -v -X DELETE http:// : /pd/api/v1/config/rule/ �→ tiflash/table-45-r 201 6.2.1.6 Scale in a TiCDC cluster If you want to remove 0 码力 | 2848 页 | 47.90 MB | 1 年前3
TiDB v5.4 Documentation· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 447 7.2 TiDB Monitoring API· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 449 operations internally. • DM OpenAPI becomes generally available (GA) DM supports daily management via API, including adding data sources and managing tasks. In v5.4.0, DM OpenAPI becomes GA. User document GLOBAL} PLAN_CACHE syntax to clear the cached query plan #30370 • TiKV – Coprocessor supports paging API to process requests in a stream-like way #11448 – Support read-through-lock so that read operations0 码力 | 3650 页 | 52.72 MB | 1 年前3
TiDB v6.5 Documentation· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1054 9 9.2 TiDB Monitoring API· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1056 supports data backup and restore for products that use RawKV. TiKV-BR can also upgrade the api-version from API V1 to API V2 for TiKV cluster. For more information, see documentation. 43 2.2.2 Compatibility JDBC TiDB is a MySQL-compatible database, and JDBC (Java Database Connectivity) is the data access API for Java. MySQL Connector/J is MySQL’s implementation of JDBC. In this tutorial, you can learn how0 码力 | 5282 页 | 99.69 MB | 1 年前3
TiDB v7.6 Documentation· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1102 9.2 TiDB Monitoring API· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1104 TiCDC introduces a new API GET /api/v2/changefeed/{ �→ changefeed_id}/synced to query the downstream synchronization status of a specified replication task (changefeed). By using this API, you can determine impact of slow meta Region leader reads on schema version updates #48125 @cfzjywxk • TiKV • Add an API endpoint /async_tasks for querying asynchronous tasks #15759 @YuJuncen • Add priority labels to gRPC0 码力 | 6123 页 | 107.24 MB | 1 年前3
TiDB v7.5 Documentation· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1086 9.2 TiDB Monitoring API· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1088 JDBC TiDB is a MySQL-compatible database, and JDBC (Java Database Connectivity) is the data access API for Java. MySQL Connector/J is MySQL’s implementation of JDBC. In this tutorial, you can learn how tidb_version;'); console.log(rows[0]['tidb_version']); For more information, refer to TypeORM: DataSource API. 223 4.3.4.5.4 Useful notes Foreign key constraints Using foreign key constraints (experimental)0 码力 | 6020 页 | 106.82 MB | 1 年前3
TiDB v7.1 Documentation· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1084 9.2 TiDB Monitoring API· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1086 JDBC TiDB is a MySQL-compatible database, and JDBC (Java Database Connectivity) is the data access API for Java. MySQL Connector/J is MySQL’s implementation of JDBC. In this tutorial, you can learn how tidb_version;'); console.log(rows[0]['tidb_version']); For more information, refer to TypeORM: DataSource API. 243 4.3.4.5.4 Useful notes Foreign key constraints Using foreign key constraints (experimental)0 码力 | 5716 页 | 104.74 MB | 1 年前3
共 46 条
- 1
- 2
- 3
- 4
- 5













