News for hackers. Stuff that matters.
Re:Scalable Linear Algebra on a Relational Database System (... by wsdookadr on Saturday January 01, 2022 @07:35AM (#29757797)
Cool article. The first time I've seen linear algebra done in RDBMS was with MadLib, a PostgreSQL extension which implements a lot of these operations https://madlib.apache.org/docs/latest/group__grp__matrix.htm...

So all the operations described in the article, and more are implemented here https://github.com/apache/madlib/tree/master/src/ports/postg...

I'm not sure why Madlib is not mentioned in that CACM article

Re:Scalable Linear Algebra on a Relational Database System (... by nullifidian on Saturday January 01, 2022 @10:12AM (#29758994)
Madlib is mentioned in the Related Work section of the PDF article.
Re:Scalable Linear Algebra on a Relational Database System (... by AntonioL on Saturday January 01, 2022 @12:23AM (#29755767)
Lot of interesting ideas to move computation close to where the data reside can be found in this paper: http://www.cs.ox.ac.uk/dan.olteanu/papers/soc-sigmod16.pdf this is an example of how linear regression can be implemented which is intimately related to the article.
Re:Scalable Linear Algebra on a Relational Database System (... by servytor on Saturday January 01, 2022 @01:05AM (#29755956)
Re:Scalable Linear Algebra on a Relational Database System (... by nicklaf on Saturday January 01, 2022 @06:14AM (#29757403)
PDF version of the paper: http://cmj4.web.rice.edu/mat_vec.pdf
Re:Scalable Linear Algebra on a Relational Database System (... by taeric on Saturday January 01, 2022 @01:40AM (#29756145)
I'm convinced this is ultimately going to happen.

I liken it to how we used to test on how to sort and merge data, with the answer being that it is always a trade off. Which is exactly what an execution plan is. More, index projections is half of the magic developers relearn every year.

To that end, getting linear algebra primitives easily accessed in a query language feels like it will be a game changer.