MySQL 与 CUDA 的实现

发布于 2024-09-29 20:00:55 字数 247 浏览 1 评论 0原文

我是一名高年级本科生,专业是CS。目前我正在上计算机体系结构课程。我们需要做一个项目。我想做一些与 CUDA 相关的事情,与串行实现相比,计算性能将有适度的提高。

我对数据库非常感兴趣,所以我决定做一些与SQL相关的事情。我只有 MySQL 的经验,找不到任何与如何使用 CUDA 使用 MySQL 相关的内容。我只能找到一项关于 SQL 的研究,它使用 SQLite。我不知道该怎么做以及如何收集有关此主题的信息,因此我决定听取您的意见。

最好的

I am a senior undergrad majoring in CS. At the moment I am taking a Computer Architecture class. We need to do a project. I want to do something related to CUDA, where the performance of the computation will have a moderate increase compred to a serial implementation.

I am really interested in databases so I decided to do something related to SQL. I only have experience with MySQL and I could not find anything related to how to work with MySQL using CUDA. There is only one reseasrch I could find about SQL and it uses SQLite. I am not sure what to do and how to gather information on this subject so I decided to take your opinions.

Best

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

恬淡成诗 2024-10-06 20:00:55

以防万一有人最终进入此页面, PGStorm 是外部数据包装器的模块PostgreSQL 数据库。

在此处输入图像描述

Just in case someone end-up in this page, the PGStorm is a module of foreign data wrapper of PostgreSQL database.

enter image description here

懵少女 2024-10-06 20:00:55

您可能想查看在 GPU 上运行并使用 CUDA 的 SQL 语言的实现。
它是开源的,因此您可以查看连接、排序和分组的算法。
关联 :
http://sourceforge.net/projects/alenka/

You might want to look at implementation of SQL language which runs on GPU and uses CUDA.
it is open source so you can look at algorithms for joins, sorts and groupings.
Link :
http://sourceforge.net/projects/alenka/

自由范儿 2024-10-06 20:00:55

真的吗? Google 从 NVIDIA 找到了这个:

http://forums.nvidia.com/index.php?showtopic =100342

他们有导游。那不合适吗?这当然不适合胆小的人。

http://developer.download.nvidia.com/compute/cuda /1_1/NVIDIA_CUDA_Programming_Guide_1.1.pdf

Really? Google found this from NVIDIA:

http://forums.nvidia.com/index.php?showtopic=100342

They have a guide. Is that not suitable? It's certainly not for the faint of heart.

http://developer.download.nvidia.com/compute/cuda/1_1/NVIDIA_CUDA_Programming_Guide_1.1.pdf

倚栏听风 2024-10-06 20:00:55

与其他人相反,虽然我不确定如何,GPU 可以与 MySQL 一起工作......我不知道为什么每个人都说它不能。如果MySQL中有CPU工作负载,那么无论CPU在做什么,在某种程度上,如果有人花时间来实现它,GPU就可以在不同的线程上更新不同的行。可以将每个表分配给每个块,或者只是自由形式并让最终用户决定。

或者至少有人可以编辑驱动程序以加快通信效率。

On the contrary to everyone else, while I'm not sure how, a GPU can work with MySQL... I dont know why every says it couldnt. If there is CPU workload in MySQL then whatever that CPU is doing, at some level, if someone took the time to implement it, a GPU could, for example, work on UPDATING separate rows on separate threads. Could either alloc each table to each block, or just freeform it and let the end user decide.

Or at least someone could edit the driver to speed up efficiency of communication.

£冰雨忧蓝° 2024-10-06 20:00:55

看起来现在有一个在 python 中使用 SQLgpus 上查询数据的解决方案

: nvidia.com/blog/beginners-guide-to-querying-data-using-sql-on-gpus-in-python/" rel="nofollow noreferrer">https://developer.nvidia.com/blog/beginners- Guide-to-querying-data-using-sql-on-gpus-in-python/

我想知道它们是否是使用不同编程语言的其他可能性。

It looks like that now there's a solution for querying data using SQL on gpus in python :

https://developer.nvidia.com/blog/beginners-guide-to-querying-data-using-sql-on-gpus-in-python/

I wonder if they are some other possibilities using different programming langages though.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文