02 TiDB Operator 架构与实现 付业成
TiDB Operator: Design & Implemention Presented by Yecheng Fu (@cofyc) PingCAP.com Agenda ● TiDB Operator 简介 ● 扩展 Kubernetes 的几种方式 ● TiDB Operator 实现 TiDB Operator 是什么 PingCAP.com Cloud Native lifecycle management of TiDB cluster - Deployment - Upgrading - Scaling - Handle network, hardware failures, etc. - Backup/Restore/Data migration - ... TiDB Operator TiDB PingCAP.com Kubernetes know how to operate a TiDB cluster... Kubernetes Pattern - Declarative Model PingCAP.com - Kubernetes has pod, deployment, statefulset, etc. - But it does not know how to operate TiDB cluster… - Until we0 码力 | 47 页 | 1.73 MB | 5 月前3Kubernetes Operator 实践 - MySQL容器化
Kubernetes Operator 实践 —— MySQL 容器化 刘林 搜狗资深工程师 关于我 搜狗商业平台研发部 资深开发工程师 l 主要从事商业平台研发工作,在构建高性能、高可用大规模 系统方面有丰富的实践经验 l 目前专注于云计算、DevOps 等相关领域,负责搜狗商业云 平台的设计研发工作 刘林 1. 背景介绍 2. Operator 的基本原理 3. MySQL MySQL Operator 设计实践 4. 小结 搜狗商业平台 技术体系广 服务多迭代快 搜狗产品矩阵 商业平台 信息流广告 搜索广告 品牌广告 代理商 广告主 技术体系 CRM 广告平台 物料展现 审核平台 大数据平台 基础架构 Golang C++ JavaScript Java Python 质量要求高 业务响应快 故障恢复快 Cluster1 有状态服务容器化 1. 背景介绍 2. Operator 的基本原理 3. MySQL Operator 设计实践 4. 小结 无状态服务 服务调度 有状态服务集群 服务调度 状态保存 集群管理 有状态服务 服务调度 状态保存 带来的新挑战 服务调度 状态存储 集群管理 成员管理 扩缩容 故障迁移 高可用 CoreOS 提出了 operator Deployment StatefulSet0 码力 | 42 页 | 4.77 MB | 1 年前3TiDB 2.1.7
TiDB 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 | 5 月前3TiDB and Amazon Aurora
TiDB 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 | 5 月前31.2 Go in TiDB
Go 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 | 5 月前3TiDB中文技术文档
目 录 致谢 README TiDB 简介 TiDB 快速入门指南 TiDB 用户文档 TiDB 数据库管理 TiDB 服务 TiDB 进程启动参数 TiDB 系统数据库 TiDB 系统变量 TiDB 专用系统变量和语法 TiDB 访问权限管理 TiDB 用户账户管理 使用加密连接 SQL 优化 理解 TiDB 执行计划 统计信息 语言结构 字面值 数据库、表、索引、列和别名 关键字和保留字 和 API TiDB 事务隔离级别 错误码与故障诊断 与 MySQL 兼容性对比 TiDB 内存控制文档 Bit-value Literals Boolean Literals Date 和 Time 字面值 十六进制的字面值 NULL Values 数值字面值 字符串字面值 TiDB 用户文档 高级功能 历史数据回溯 垃圾回收 (GC) TiDB Ansible 常见运维操作 TiDB 运维文档 Try Try TiDB - 3 - 本文档使用 书栈(BookStack.CN) 构建 TiDB 运维文档 软硬件环境需求 部署集群 Ansible 部署方案(强烈推荐) 离线 Ansible 部署方案 Docker 部署方案 Docker Compose 部署方案 跨机房部署方案 配置集群 参数解释 TiDB 配置项解释 开启 TLS 验证 生成自签名证书 监控集群 整体监控框架概述 重要监控指标详解0 码力 | 444 页 | 4.89 MB | 5 月前3TiDB 原理与实战
TiDB 原理与实战 lixia@pingcap.com @紫沐夏_go About me ● 程序媛,TiDB committer, Go 语言狂热粉 ○ 主要研究方向为分布式系统, 坚信分布式系统才是未来 ● 目前在 PingCAP 就职 ○ 15 年中旬加入 PingCAP ○ 主要参与模块为 TiDB 的 online DDL,SQL 优化器,各种必要的功能改 进以及性能提升 ● lixia@pingcap.com ○ GitHub:https://github.com/zimulala Agenda ● A brief introduction of NewSQL ● TiDB ● Plan optimization ● Dist SQL ● Online DDL ● TiKV ● Feelings ● Q & A A brief introduction of NewSQL Oracle DB2 ... Redis HBase Cassandra MongoDB ... Google Spanner Google F1 TiDB RDBMS NoSQL NewSQL TiDB and TiKV TiDB 执行流程: TiDB 支持 MySQL 协议 ○ 用户从 MySQL 的相关解决方案迁移 过来时几乎没迁移成本。 ○ 目前还有少量函数或功能未 实现 Plan0 码力 | 23 页 | 496.41 KB | 5 月前3TiDB 101 Fernando Ipar
Fernando 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 | 5 月前3TiDB Audit Plugin User Guide
TiDB 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 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 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 年前3TiDB v5.1 Documentation
TiDB 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
共 224 条
- 1
- 2
- 3
- 4
- 5
- 6
- 23