TiDB 架构解析与实践.pptx

上传人(卖家):无敌的果实 文档编号:2526806 上传时间:2022-04-29 格式:PPTX 页数:23 大小:1.24MB
下载 相关 举报
TiDB 架构解析与实践.pptx_第1页
第1页 / 共23页
TiDB 架构解析与实践.pptx_第2页
第2页 / 共23页
TiDB 架构解析与实践.pptx_第3页
第3页 / 共23页
TiDB 架构解析与实践.pptx_第4页
第4页 / 共23页
TiDB 架构解析与实践.pptx_第5页
第5页 / 共23页
亲,该文档总共23页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

1、TiDB Architecture and PracticeAbout Me Shen Li (申砾) VP of Engineering PingCAP Infrastructure Engineer / Open-source advocator Netease/360/PingCAP Tech lead of TiDB About PingCAP Since 2015 Office Beijing, Shanghai, Guangzhou, Hangzhou, Chengdu, Shenzhen,Silicon Valley Open-Source infrastructure soft

2、ware TiDB, TiKV, TiSpark, TiDB-OperatorAgenda Introduction Architecture Evolution TiDB in Real WorldPart I - IntroductionWhy we want to build a “New”SQL Database From the beginning RDBMSRDBMSNoSQLNewSQL How to scale? Middleware1970s20102015Present NoSQL NewSQL: F1 & SpannerMySQLPostgreSQLOracleRedis

3、HBaseCassandraMongoDBGoogleSpannerGoogle F1TiDBDB2.Whats TiDB?TiDB - A Distributed, Consistent, Scalable, SQL Database that supports the bestfeatures of both traditional RDBMS and NoSQL. Build from scratch Key features: Horizontal Scalability High Availability ACID Transaction SQL at ScaleOpen Sourc

4、e From first-day Active community 300+ contributorsOne of the most popularOpen Source DistributedRelational Database inthe world!Part II - ArchitectureTiDB ArchitecturePDPDData locationTSO/Data locationPDPD ClusterMetadataSparkDriverTiDBTiDBTiDBTiDBTiKVTiKVTiKVTiKVTiKVTiKVJobMySQL ClientsSyncerDistS

5、QL APIDistSQL APIWorkerWorkerWorker.TiDB.Spark ClusterTiDB ClusterTiKV Cluster (Storage)TiSparkThe SQL Layer Stateless SQL layer Client can connect to any existingtidb-server instanceLogicalPlanOptimizedLogical PlanSQLAST TiDB *will not* re-shuffle the dataacross different tidb-serversStatisticsCost

6、 Model Full-featured SQL Layer Speak MySQL wire protocol Why not reusing MySQL? Homemade parser & lexer RBO & CBOSelectedPhysical Plantidb-serverTiKVTiKVTiKVTiKVTiKVTiKV Secondary index support DML & DDLTiKV ClusterPingCAP.comThe Storage Layer (1/2)Client The storage layer for TiDB Distributed Key-V

7、alue storage engineDataflow Support ACID Transactions Replicate logs by Raft Range partitioning Split / merge dynamically SQL operators pushdownPDMetadataTiKVTiKVTiKVTiKVTiKVTiKVTiKVTiKVTiKVTiKVTiKVTiKVPDPDPlacement DriverTiKV NodesPingCAP.comThe Storage Layer (2/2)ClientPlacementDriverRPCRPCRPCRPCP

8、D 1PD 2PD 3TiKV node 1Store 1TiKV node 2Store 2TiKV node 3Store 3TiKV node 4Store 4Region 1Region 1Region 1Region 1Region 3Region 2Region 5Region 3Region 2Region 5Region 4Region 4Region 3Region 5Region 4Raft GroupPingCAP.comSchedulingPingCAP.comEcosystem ToolsPart III - EvolutionHTAP Hybrid transact

9、ional/analytical platform Real-time Data No more ETL! Cascades Optimizer Vectorized+Parallel Execution Engine Row-Column mixed Storage Engine Isolation of resourcesCloud NativeTiDB OperatorTiDB Controller ManagerTiDB SchedulerTiDBSchedulerTiDB Cluster ControllerTiDBControllerPDControllerTiKVControllerKubeSchedulerKubernetes CoreSchedulerController ManagerAPI ServerPart IV - TiDB in Real WorldSay goodbye to shardingReal-time Data Platform Real-time Data Convergence Platform Middle-End SystemPingCAP.comGeo ReplicationThank You !PingCAP.com

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 办公、行业 > 常用办公文档
版权提示 | 免责声明

1,本文(TiDB 架构解析与实践.pptx)为本站会员(无敌的果实)主动上传,163文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
2,用户下载本文档,所消耗的文币(积分)将全额增加到上传者的账号。
3, 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(发送邮件至3464097650@qq.com或直接QQ联系客服),我们立即给予删除!


侵权处理QQ:3464097650--上传资料QQ:3464097650

【声明】本站为“文档C2C交易模式”,即用户上传的文档直接卖给(下载)用户,本站只是网络空间服务平台,本站所有原创文档下载所得归上传人所有,如您发现上传作品侵犯了您的版权,请立刻联系我们并提供证据,我们将在3个工作日内予以改正。


163文库-Www.163Wenku.Com |网站地图|