TiDB v7.6 DocumentationThe default sup- ported TLS versions of TiDB are changed from TLS1.1 or higher to TLS1.2 or higher. 54 Configuration file Configuration parame- ter Change type Description TiKV blob- �→ file �→ - �→ #49487 @winoros • Fix the issue of excessive statistical error in constructing statistics caused by Golang’s implicit conversion algorithm #49801 @qw4990 • Fix the issue that Daylight Saving Time is displayed sample code reposi- tory: git clone https://github.com/tidb-samples/tidb-golang-sql-driver-quickstart. �→ git cd tidb-golang-sql-driver-quickstart Step 2: Configure connection information Connect to0 码力 | 6123 页 | 107.24 MB | 1 年前3
TiDB v7.5 Documentationflush- �→ worker �→ -num Newly added Controls the number of flushing workers in the redo module. 54 Configuration file Configuration parame- ter Change type Description TiCDC sink. �→ column �→ - sample code reposi- tory: git clone https://github.com/tidb-samples/tidb-golang-sql-driver-quickstart. �→ git cd tidb-golang-sql-driver-quickstart Step 2: Configure connection information Connect to application development. For complete sample code and how to run it, check out the tidb-samples/tidb-golang-sql- driver-quickstart repository. Connect to TiDB func openDB(driverName string, runnable func(db0 码力 | 6020 页 | 106.82 MB | 1 年前3
TiDB v6.1 Documentation· · · · · · · · · · · · · · · · · · · · · · · · 145 4.3.1 Build a Simple CRUD App with TiDB and Golang · · · · · · · · · · · · · · · · · 145 4.3.2 Build a TiDB Application Using Spring Boot · · · · · re- turn er- ror im- me- di- ately when an er- ror oc- curs in a non- transactional DML state- ment. 54 Variable name Change type Description tidb_prepared_plan_cache_memory_guard_ratio �→ Newly added Simple CRUD App with TiDB and Golang This document describes how to use TiDB and Golang to build a simple CRUD appli- cation. 145 Note: It is recommended to use Golang 1.20 or a later version. 4.30 码力 | 4487 页 | 84.44 MB | 1 年前3
TiDB v7.1 Documentationinitial connec- tions in the connec- tion pool to the LDAP server in LDAP SASL authen- tica- tion. 54 Variable name Change type Description authentication_ldap_sasl_max_pool_size �→ Newly added Specifies sample code reposi- tory: git clone https://github.com/tidb-samples/tidb-golang-sql-driver-quickstart. �→ git cd tidb-golang-sql-driver-quickstart Step 2: Configure connection information Connect to application development. For complete sample code and how to run it, check out the tidb-samples/tidb-golang-sql- driver-quickstart repository. Connect to TiDB func openDB(driverName string, runnable func(db0 码力 | 5716 页 | 104.74 MB | 1 年前3
TiDB v6.5 Documentationcauses too large ana- lyzed mem- ory size tracked, the mem- ory track is dis- abled. In ad- dition, in Golang 1.19, the mem- ory tracked by the GC- aware mem- ory track does not have much impact on the overall change pass- words period- ically. The default value 0 indi- cates that pass- words never expire. 54 Variable name Change type Description disconnect_on_expired_password �→ Newly added Indicates whether sample code reposi- tory: git clone https://github.com/tidb-samples/tidb-golang-sql-driver-quickstart. �→ git cd tidb-golang-sql-driver-quickstart Step 2: Configure connection information Connect to0 码力 | 5282 页 | 99.69 MB | 1 年前3
TiDB v8.4 DocumentationTiKV OOM issues caused by uneven distri- bution of regions during fast table cre- ation in batches. 54 Variable name Change type Description tidb_ �→ schema �→ _ �→ cache �→ _ �→ size Modified Changes 540000. PD max- �→ merge �→ - �→ region �→ - �→ size Modified Changes the default value from 20 to 54. 69 Configuration file or compo- nent Configuration parame- ter Change type Description TiFlash sample code reposi- tory: git clone https://github.com/tidb-samples/tidb-golang-sql-driver-quickstart. �→ git cd tidb-golang-sql-driver-quickstart Step 2: Configure connection information Connect to0 码力 | 6705 页 | 110.86 MB | 10 月前3
TiDB v8.5 Documentationspond- ing column when execut- ing CREATE �→ �→ TABLE �→ or ALTER �→ TABLE �→ to create a global index. 54 Variable name Change type Description tidb_ �→ enable �→ _ �→ list �→ _ �→ partition �→ Deprecated 540000. PD max- �→ merge �→ - �→ region �→ - �→ size Modified Changes the default value from 20 to 54. 74 Configuration file or compo- nent Configuration parame- ter Change type Description TiFlash sample code reposi- tory: git clone https://github.com/tidb-samples/tidb-golang-sql-driver-quickstart. �→ git cd tidb-golang-sql-driver-quickstart Step 2: Configure connection information Connect to0 码力 | 6730 页 | 111.36 MB | 10 月前3
TiDB v8.2 DocumentationImprovements · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 54 2.2.5 Bug fixes · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · @crazycs520 • Remove stores without Regions during MPP load balancing #52313 @xzhangxian1008 • TiKV 54 • Add the Compaction Job Size(files) metric to show the number of SST files involved in a single compaction sample code reposi- tory: git clone https://github.com/tidb-samples/tidb-golang-sql-driver-quickstart. �→ git cd tidb-golang-sql-driver-quickstart Step 2: Configure connection information Connect to0 码力 | 6549 页 | 108.77 MB | 10 月前3
TiDB v8.1 DocumentationDeprecated features · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 54 2.2.4 Improvements · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · consistent with the maximum number of conflicting records that can be tolerated in a single import task. 54 • Starting from v8.0.0, TiDB Lightning deprecates the old version of conflict detection strategy sample code reposi- tory: git clone https://github.com/tidb-samples/tidb-golang-sql-driver-quickstart. �→ git cd tidb-golang-sql-driver-quickstart Step 2: Configure connection information Connect to0 码力 | 6479 页 | 108.61 MB | 10 月前3
TiDB v7.1 中文手册Region 上线 的重试次 数,默认 值为 1800。 重试符合 指数回退 策略,最 大重试间 隔为 2 秒。 若两次重 试之间有 任何 Region 上线,该 次操作不 会被计为 重试次数。 54 配置文件 配置项 修改类型 描述 TiDB Lightning tikv- �→ importer �→ . �→ region �→ -split �→ -batch �→ -size 步:克隆示例代码仓库到本地 运行以下命令,将示例代码仓库克隆到本地: git clone https://github.com/tidb-samples/tidb-golang-sql-driver-quickstart.git cd tidb-golang-sql-driver-quickstart 第 2 步:配置连接信息 根据不同的 TiDB 部署方式,使用不同的方法连接到 TiDB 集群。 1 Expected-Output.txt,并与你的程序输出进行比较。结果近似即为连接成功。 4.3.2.1.3 示例代码片段 你可参考以下关键代码片段,完成自己的应用开发。 完整代码及其运行方式,见代码仓库 tidb-golang-sql-driver-quickstart。 连接到 TiDB func openDB(driverName string, runnable func(db *sql.DB)) { dsn0 码力 | 4369 页 | 98.92 MB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













