Wondering how much the "moving data to the GPU" overhead won't help to make things significantly faster
Really depends on the shape of the data and query at hand. If you're doing aggregate computations over million/billions of scalar-sized rows, it could be quite fast. However joining two cold tables will still be more limited by schema and disk read than anything.
PG-Strom: SSD-To-GPU Direct SQL Execution
21–30 of 38 posts
Re: PG-Strom: SSD-To-GPU Direct SQL Execution
#22I still am hoping for affordable SSD to FPGA direct execution someday!
Re: PG-Strom: SSD-To-GPU Direct SQL Execution
#23I love the concept.p But it's hard to tell whether this is ready for production. Anyone have any hands on experience with it?!
Re: PG-Strom: SSD-To-GPU Direct SQL Execution
#24Re: PG-Strom: SSD-To-GPU Direct SQL Execution
#25It's great to see this type of evolution in database performance, maybe this will become the standard someday. The only thing missing is that there isn't a comparable project for MySQL.
Not trying to be a snoot here, but what is the point of using MySQL today? I can't think of something that I'm aware it does better than Postgres.
Re: PG-Strom: SSD-To-GPU Direct SQL Execution
#26Earlier quoted context omitted.
Not trying to be a snoot here, but what is the point of using MySQL today? I can't think of something that I'm aware it does better than Postgres.
Postgres can have some write-amplification issues for update-heavy loads where at least one of the updated fields is covered by an index. Famously, this triggered Uber to switch to MySQL. Its impact is noticeable in one of my projects as well -- and it isn't that large (a few dozen million rows).
- heap bloat
- index bloat
- CPU overhead of index manipulations
- Write-ahead-log overhead of updates
- increased overhead / frequency of VACUUM
- total amount of disk writes
Thanks!
Edit: formatting.
Re: PG-Strom: SSD-To-GPU Direct SQL Execution
#27Note that GPUDirect is only available on nVidia Quadro and Tesla series GPUs.
Re: PG-Strom: SSD-To-GPU Direct SQL Execution
#28I love the concept.p But it's hard to tell whether this is ready for production. Anyone have any hands on experience with it?!
This is the first time the concept has ever been shown publicly. You must be exceptionally brave to use it in production. Most CTOs are cynical, and always wait for the .1 version
Re: PG-Strom: SSD-To-GPU Direct SQL Execution
#29Earlier quoted context omitted.
Postgres can have some write-amplification issues for update-heavy loads where at least one of the updated fields is covered by an index. Famously, this triggered Uber to switch to MySQL. Its impact is noticeable in one of my projects as well -- and it isn't that large (a few dozen million rows).
Not trying to doubt your experience, just collecting datapoints for improvements. I'd appreciate if you could describe what your problems around write amplification are. Is it - heap bloat - index bloat - CPU overhead of index manipulations - Write-ahead-log overhead of updates - increased overhead / frequency of VACUUM - total amount of disk writes Thanks! Edit: formatting.
Do you have a favored resource that you can direct me to that would help me identify the factors that you cited and ultimately allow me to make more nuanced criticisms (or to find a fixable error in my approach, which would of course be the ideal result)?
Re: PG-Strom: SSD-To-GPU Direct SQL Execution
#30Slides : https://www.slideshare.net/kaigai/20170602ossummitanintellig...