PGM Indexes: Learned indexes that match B-tree performance with 83x less space
11–20 of 124 posts
Re: PGM Indexes: Learned indexes that match B-tree performance with 83x less space
#12In the example they sort the data array. Does that mean this works just on sorted arrays? Insert and delete performance would be horrible I guess.
Skimming the paper it appears so. B-trees also require sorted data.
Re: PGM Indexes: Learned indexes that match B-tree performance with 83x less space
#13Re: PGM Indexes: Learned indexes that match B-tree performance with 83x less space
#14Earlier quoted context omitted.
Skimming the paper it appears so. B-trees also require sorted data.
B-trees don't need sorted data. The B-tree insertion algorithm performs the sorting for you.
Re: PGM Indexes: Learned indexes that match B-tree performance with 83x less space
#15Any Postgres implementation of this yet?
Re: PGM Indexes: Learned indexes that match B-tree performance with 83x less space
#16Reminds me of TokuDB. What happened to it?
Re: PGM Indexes: Learned indexes that match B-tree performance with 83x less space
#17Re: PGM Indexes: Learned indexes that match B-tree performance with 83x less space
#18They should have chosen another name, the acronym PGM already stands for Probabilistic Graphical Model and they overlap in possible usages.
You mean like they had to call the bug planet in Starship Troopers “Planet P” because all the other names in the universe had been taken?
Re: PGM Indexes: Learned indexes that match B-tree performance with 83x less space
#19Sure, you can compress the data. But that depends on the data, completely random data can't be compress. Other data can be. But a point blank 83x space claim seems bizarre - or it's comparing to a very inefficient implementation of a B-tree.
Edit: It seems the 83x claim is a product of the HN submission. I could not find it on the page. But even the page should say something like "a compressed index that allows full speed look-up" (akin to succinct data structures) and then it would make sense.