github 0 码力 |
22 页 |
1.01 MB
| 2 年前 3 # 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 snapshot isolation, TiDB 2.1.7 through 3.0.0-beta.1-40 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 isolation and single-key linearizability. 3.0.0-rc.2, which disables auto-retry by default, also passes. Finally, TiDB has a theoretical 0 码力 |
9 页 |
141.29 KB
| 1 年前 3 1_1.jpg)
## Go in TiDB
## 申砾@PingCAP
## GopherChina 2017
## Agenda
• About Me
• What is TiDB
• TiDB Architecture
• SQL Layer Internal
• Golang in TiDB
• Next Step of TiDB
## GopherChina 2017 About Me
• Shen Li (申砾)
• Tech Lead of TiDB, VP of Engineering
• Netease / 360 / PingCAP
• Infrastructure software engineer
GopherChina 2017
## What is TiDB
A Distributed, Consistent, Scalable, SQL idx1: $(10, +\infty)$
GopherChina 2017
## Example - Distributed Physical Plan
Physical Plan on TiDB
Final Aggregate sum(count(c1))
DistSQL Scan
Physical Plan on TiKV

## TiDB is not a database middleware
||Sharding middleware|TiDB|
|---|---|---|
|ACID Transaction Capacity (Good performance)|Few TBs|200 TB+|
## TiDB architecture

TiDB Server
## Storage Physical Stack
Highly layered 0 码力 |
57 页 |
2.52 MB
| 1 年前 3 进阶篇:编写可维护的webpack 构建配置
05 | 进阶篇:webpack 构建速度和体积优化策略
06 | 原理篇:通过源码掌握webpack 打包原理
07 | 原理篇:编写 Loader 和插件
08 | 实战篇:React 全家桶 和webpack 开发商城项目
## ☐ ☐ ☐ ☐
## 扫码试看/订阅《玩转webpack》
## 一 个最简单的 loader 代码结构
定义:loader result.image;
result.coordinates;
result.properties;
});
## 插件的运行环境
插件没有像 loader 那样的独立运行环境
只能在 webpack 里面运行
## 插件的基本结构
## 基本结构:
class MyPlugin {
apply(compiler) {
compiler.hooks ...
}
});
}
}
module.exports = MyPlugin;
插件使用:
plugins: [ new MyPlugin() ]
## 搭建插件的运行环境
const path = require("path");
const DemoPlugin = require("/plugins/demo-plugin 0 码力 |
29 页 |
4.37 MB
| 2 年前 3 ## TiDB 中文技术 文档
书栈(BookStack.CN)
## 目录
致谢
README
TDB简介
TDB快速入门指南
TDB用户文档
TiDB数据库管理
TiDB服务
TiDB进程启动参数
TiDB系统数据库
TiDB系统变量
TiDB专用系统变量和语法
TiDB访问权限管理 TiDB访问权限管理
TiDB用户账户管理
使用加密连接
SQL优化
理解TiDB执行计划
统计信息
语言结构
字面值
数据库、表、索引、列和别名
关键字和保留字
用户变量
表达式语法
注释语法
字符集和时区
字符集支持
字符集配置
时区
数据类型
TiDB 事务隔离级别
错误码与故障诊断
与 MySQL 兼容性对比
TiDB 内存控制文档
Bit-value Literals
Boolean Literals
Date 和 Time 字面值
十六进制的字面值
NULL Values
数值字面值
字符串字面值
TiDB 用户文档 0 码力 |
444 页 |
4.89 MB
| 1 年前 3 ## TiDB 101
Fernando Ipar / Percona University Montevideo / April 2019
## Pythian
About me
•Internal Principal Consultant @ Pythian.
•Pager-carrying, buck stops at my team.
•OSDB Practice (MySQL/MariaDB 3/0/4/7/304714d8e786caf05d379f2d7654ca4f/p11_1.jpg)
### https://pingcap.com/tidb-academy/
## TiDB ACADEMY Welcome to TiDB Academy!
Log In / Sign Up
Please log in to view the courses.
I have certification 0 码力 |
13 页 |
2.59 MB
| 1 年前 3
|