3 ms·
To be fair, they've made it very clear how it works: 1) They have optimized the (existing?) CSV import code to use SSE instructions, for faster CSV import 2)
by justinsb 12y ago
To be fair, they've made it very clear how it works:
1) They have optimized the (existing?) CSV import code to use SSE instructions, for faster CSV import
2) For a sufficiently complicated query, they will compile it to native code using LLVM. They presumably precompile most of Postgres (or at least the execution parts) to LLVM IR, and then convert enough of the execution plan into code so that the LLVM optimizer can optimize it (inlining, branch prediction, dead code elimination etc). If they are able to persuade LLVM to optimize the per-row decoding, I think that could be a huge win.
It's a great accomplishment; I do wish they had contributed it to Postgres, but I can't blame them for not doing so (they need to eat!).
- ris 12y ago"I do wish they had contributed it to Postgres, but I can't blame them for not doing so (they need to eat!)." Stop this. The two are not mutually exclusive. Postgres developers are not starving.