Better HN
topnewbestaskshowjobs
Log inSign up

zanmato

4 karma · joined Apr 27, 2021 (5y ago) · 4 submissions

Submissions

comment 5y ago · link · parent

For example analytical queries tend to have a big portion of joins and aggregations, they will be more CPU-intensive rather than disk-bound, esp. when complicated data types are involved such as decimal. Further more, traditional databases have buffer pool which is expected to buffer most disk accesses.

comment 5y ago · link · parent

It’ll require software strategies such as splitting the working set into multiple pieces and dealing with them one by one. In some extreme cases, for example consider a huge hash table used in a hash join that exceeds the max GPU memory, most systems just simply report OOM.

However we noted that NVIDIA recently announced the “Grace” CPU, which seemingly breaks the memory wall between host and device. This may be a game changer for such cases.

comment 5y ago · link · parent

Yeah this is THE major point of this work ;)

comment 5y ago · link · parent

Basically this article does the similar thing with BlazingSQL. Actually both are built on top of the cuDF project. The difference is that TiDB is an HTAP database and this article describes how we empower TiDB’s analytical processing by leveraging a GPU.

And the comparison is between TiDB running on a GPU and a CPU. No other database is involved in this comparison, and this may come in the future once the productionizing of this project is done.