Skip to content

Instantly share code, notes, and snippets.


ruoxi zanmato1984

  • PingCAP
  • Shanghai
View GitHub Profile
zanmato1984 /
Last active Apr 19, 2021
Using a GPU Boosts TiDB Analytics Performance by 10 to 150 Times


  • Ruoxi Sun (Tech Lead of Analytical Computing Team at PingCAP)
  • Fei Xu (Software Engineer at PingCAP)

Editors: Tom Dewan, Caitin Chen

GPU vs. CPU performance

TiDB is a Hybrid Transaction/Analytical Processing (HTAP) database that can efficiently process analytical queries. However, when large amounts of data are involved, the CPU becomes the bottleneck for processing queries that include JOIN statements and/or aggregation functions.