HTAP Made Simple:Fallacies and Pitfalls-孙若曦-黄东旭 .pdf

编号:153115 PDF 39页 4.05MB 下载积分:VIP专享
下载报告请您先登录!

HTAP Made Simple:Fallacies and Pitfalls-孙若曦-黄东旭 .pdf

1、HTAP Made SimpleFallacies and PitfallsRossi Sun2023/02/07About MeRossi Sun(孙若曦)Tech lead,Compute Arch.&Engine team PingCAPWas Tech lead,SQL on Hadoop team Transwarp Tech lead,GPU Arch Infra team NVIDIAOver 10-year experience on infra System-level software Database kernel&big-data GPU techniquesHTAPH

2、TAP:Hybrid Transactional/Analytical ProcessingCoined by Gartner in 2014 Reatime Analytics Analytics see the exact operational data Simplify data infrastructure(no data movement)Going mainstream 20%database buyers cited HTAP capabilities 40%marked HTAP as Top 3 factorTiDB Architecture 1.0Pitfall:Non-

3、Scalable APAuto-shardingDistributed transactionTP scales wellAP:we can do join and aggregation,only that on a single nodeSELECT COUNT(*)FROM t0 JOIN t1 ON t0.c1=t1.c1 WHERE t0.c2=xxx and t1.c2=yyyIntroducing TiSpark(Since 2.0)Introducing TiSpark(Cont.)Fallacy:One Size Fits AllThe“Hybrid”what?Row sto

4、re performs poor for APidnameage0962Jane307658John453589Jim205523Susan52id0962765835895523nameJaneJohnJimSusanage30452052Fallacy:One Size Fits All(Cont.)TP is severely interferedOLTPOLAPIntroducing Columnar Store(POC)Pitfall:Unbounded StalenessPitfall:ComplexityEmbracing Raft(Since 4.0)Introducing M

5、PP(Since 5.0)Introducing MPP(Cont.)Fallacy:Consistency&FreshnessUse MVCC+learner read(raft)to guarantee data consistency and freshnessJust like serializable isolation level Ideal,but at the cost of performanceFallacy:Consistency&Freshness(Cont.)Raft Learner.TS:10$100MVCCRaft Leader42Timestamp:11bala

6、nce=?Fallacy:Consistency&Freshness(Cont.)Raft Learner.TS:10$100TS:11$200TS:12$150MVCCRaft Leader44Timestamp:11balance=$200Stale Read(Coming in 6.6)Bounded stalenessData integrityGets 30%more QPS in our internal POCRaft Learner.TS:10$100TS:11?MVCCRaft Leader42Timestamp:11Staleness

友情提示

1、下载报告失败解决办法
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站报告下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

本文(HTAP Made Simple:Fallacies and Pitfalls-孙若曦-黄东旭 .pdf)为本站 (张5G) 主动上传,三个皮匠报告文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三个皮匠报告文库(点击联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。
客服
商务合作
小程序
服务号
折叠