"Big data" features coming in PostgreSQL 9.5
"Big data" features coming in PostgreSQL 9.5
Posted Aug 8, 2015 6:01 UTC (Sat) by kleptog (subscriber, #1183)In reply to: "Big data" features coming in PostgreSQL 9.5 by jberkus
Parent article: "Big data" features coming in PostgreSQL 9.5
Posted Aug 8, 2015 7:24 UTC (Sat)
by petergeoghegan (guest, #84275)
[Link] (1 responses)
The idea that strxfrm() is not generally useful seems dubious, even leaving aside a technique like abbreviated keys. It's in the C standard. And Certainly, ICU offers something that's similar but very much more advanced. The glibc docs strongly suggest using strxfrm() where the space overhead is acceptable during a sort of a non-trivial number of strings.
Posted Aug 9, 2015 12:20 UTC (Sun)
by nix (subscriber, #2304)
[Link]
Index building... is of a different order. The memory hierarchy is less important, because everything is hitting the disk anyway, and because you abbreviate the blobs their horrendous size is reduced to something well below one cacheline for every blob.
(This has been a genuine guess: no numbers or experiments were conducted and no strxfrm() blobs were harmed in the making of this post. But I have tried to use strxfrm() before, myself, long ago, and come to similar conclusions back then, though it was the Solaris strxfrm() bugs that really killed that idea.)
"Big data" features coming in PostgreSQL 9.5
"Big data" features coming in PostgreSQL 9.5
