TiDB 2.1.7TiDB 2.1.7 Kyle Kingsbury 2019-06-12 TiDB is a distributed, auto-sharded SQL database based on Google’s Percolator model. Despite promising snap- shot isolation, TiDB 2.1.7 through 3.0.0-beta.1-40 allowed thanks to two auto-retry mechanisms which blindly re-applied updates when a transaction conflicted. TiDB also supports a select ... for update statement which mostly, but not entirely, prevents write skew disabled, TiDB 2.1.8 through 3.0.0-beta.1-40 passed our tests for snapshot iso- lation and single-key linearizability. 3.0.0-rc.2, which disables auto-retry by default, also passes. Finally, TiDB has a theoretical0 码力 | 9 页 | 141.29 KB | 6 月前3
Go in TiDBGo in TiDB Yao Wei | PingCAP About me ● Yao Wei (姚维) ● TiDB Kernel Expert, General Manager of South Region, China ● 360 Infra team / Alibaba-UC / PingCAP ● Atlas/MySQL-Sniffer ● Infrastructure software HBase Cassandra MongoDB ... Google Spanner Google F1 TiDB RDBMS NoSQL NewSQL Architecture TiKV TiKV TiKV TiKV Raft Raft Raft TiDB TiDB TiDB ... ... Placement Driver (PD) Control flow: Balance queries ● Very complex OLAP queries ● External Consistency ● SQL is much more complex than KV Why TiDB choose Golang? ● Easy-learning ● Productivity ● Concurrency ● Easy to trace bugs and profile0 码力 | 22 页 | 1.01 MB | 1 年前3
TiDB and Amazon AuroraTiDB and Amazon Aurora Compare / Contrast / Combine Ed Huang, CTO @ PingCAP h@pingcap.com TiDB Community Slack Channel https://pingcap.com/tidbslack/ Compare Why Aurora? ● Amazon Aurora is popular typical scenarios What’s TiDB TiKV Node N Store N TiKV Node 1 Store 1 TiKV Node 2 Store 2 ... TiDB Node TiDB Node TiDB Node Key-Value or Co-processor API calls ... ... ... TiDB servers, stateless, SQL ORMs, JDBC/ODBC, Applications ... MySQL Wire Protocol heartbeat meta TiDB is not a database middleware Sharding middleware TiDB ACID Transaction Support Mostly Elastic Scaling Complex Query (Join, Sub0 码力 | 57 页 | 2.52 MB | 6 月前3
1.2 Go in TiDBGo in TiDB 申砾@PingCAP Agenda • About Me • What is TiDB • TiDB Architecture • SQL Layer Internal • Golang in TiDB • Next Step of TiDB About Me • Shen Li (申砾) • Tech Lead of TiDB, VP of Engineering Engineering • Netease / 360 / PingCAP • Infrastructure software engineer What is TiDB A Distributed, Consistent, Scalable, SQL Database that supports the best features of both traditional RDBMS and NoSQL Physical Plan Final Aggregate sum(count(c1)) DistSQL Scan TiKV TiKV TiKV Physical Plan on TiDB count(c1) count(c1) count(c1) count(c1) Read Index idx1: (10, +∞) Read Row Data by RowID Filter0 码力 | 27 页 | 935.47 KB | 6 月前3
TiDB 101 Fernando IparFernando Ipar / Percona University Montevideo / April 2019 TiDB 101 © The Pythian Group Inc., 2019 ●Internal Principal Consultant @ Pythian. ●Pager-carrying, buck stops at my team. ●OSDB Practice MongoDB, Cassandra, …). ●19 years of MySQL experience. �2 About me © The Pythian Group Inc., 2019 �3 TiDB Created by PingCAP (Founded in April 2015 by 3 Infrastructure Engineers) © The Pythian Group Inc com/tag/myrocks/ [2] https://www.pingcap.com/success-stories/https://www.pingcap.com/success-stories/ �4 TiDB Overview © The Pythian Group Inc., 2019 ●You need a sharded MySQL. ●You have a sharded MySQL but0 码力 | 13 页 | 2.59 MB | 6 月前3
TiDB Audit Plugin User GuideTiDB Audit Plugin User Guide August 4, 2022 TiDB Audit Plugin User Guide Introduction The TiDB audit plugin records the TiDB server’s activities that are expected to follow auditing regulations of download the plugin on TiDB Enterprise Edition Downloads. Deploy the audit plugin After downloading the plugin, you can use either TiDB Operator or TiUP to deploy the audit plugin. Use TiDB Operator to deploy the plugin Configure TidbCluster CR. tidb: additionalContainers: - command: - sh - -c - touch /var/log/tidb/tidb-audit.log; tail -n0 -F /var/log/tidb/tidb-audit.log; image: busybox:1.26.2 © 20220 码力 | 15 页 | 257.26 KB | 1 年前3
TiDB v5.1 DocumentationTiDB Documentation PingCAP Inc. 20240520 Table of Contents 1 Docs Home 24 2 About TiDB 24 2.1 TiDB Introduction· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 26 2.2 TiDB 5.1 Release Notes · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 42 2.3 TiDB Features · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·0 码力 | 2745 页 | 47.65 MB | 1 年前3
TiDB v5.4 DocumentationTiDB Documentation PingCAP Inc. 20240520 Table of Contents 1 Docs Home 27 2 About TiDB 27 2.1 TiDB Introduction· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 29 2.2 TiDB 5.4 Release Notes · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 54 2.3 TiDB Features · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·0 码力 | 3650 页 | 52.72 MB | 1 年前3
TiDB v5.3 DocumentationTiDB Documentation PingCAP Inc. 20240520 Table of Contents 1 Docs Home 26 2 About TiDB 26 2.1 TiDB Introduction· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 28 2.2 TiDB 5.3 Release Notes · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 49 2.3 TiDB Features · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·0 码力 | 2996 页 | 49.30 MB | 1 年前3
TiDB v5.2 DocumentationTiDB Documentation PingCAP Inc. 20240520 Table of Contents 1 Docs Home 25 2 About TiDB 25 2.1 TiDB Introduction· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 27 2.2 TiDB 5.2 Release Notes · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 41 2.3 TiDB Features · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·0 码力 | 2848 页 | 47.90 MB | 1 年前3
共 146 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15













