git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 64f8589) | patch
JIT tuple deforming in LLVM JIT provider.
2018年3月26日 19:57:19 +0000 (12:57 -0700)
2018年3月26日 19:57:19 +0000 (12:57 -0700)
commit 32af96b2b118cd204ca809d7c48c7f8ea7f879cf
JIT tuple deforming in LLVM JIT provider.

Performing JIT compilation for deforming gains performance benefits
over unJITed deforming from compile-time knowledge of the tuple
descriptor. Fixed column widths, NOT NULLness, etc can be taken
advantage of.

Right now the JITed deforming is only used when deforming tuples as
part of expression evaluation (and obviously only if the descriptor is
known). It's likely to be beneficial in other cases, too.

By default tuple deforming is JITed whenever an expression is JIT
compiled. There's a separate boolean GUC controlling it, but that's
expected to be primarily useful for development and benchmarking.

Docs will follow in a later commit containing docs for the whole JIT
feature.

Author: Andres Freund
Discussion: https://postgr.es/m/20170901064131.tazjxwus3k2w3ybh@alap3.anarazel.de
17 files changed:
src/backend/access/common/heaptuple.c diff | blob | blame | history
src/backend/executor/execExpr.c diff | blob | blame | history
src/backend/executor/execTuples.c diff | blob | blame | history
src/backend/executor/nodeForeignscan.c diff | blob | blame | history
src/backend/jit/jit.c diff | blob | blame | history
src/backend/jit/llvm/Makefile diff | blob | blame | history
src/backend/jit/llvm/llvmjit.c diff | blob | blame | history
src/backend/jit/llvm/llvmjit_deform.c [new file with mode: 0644] blob
src/backend/jit/llvm/llvmjit_expr.c diff | blob | blame | history
src/backend/jit/llvm/llvmjit_types.c diff | blob | blame | history
src/backend/optimizer/plan/planner.c diff | blob | blame | history
src/backend/utils/misc/guc.c diff | blob | blame | history
src/include/access/htup_details.h diff | blob | blame | history
src/include/executor/execExpr.h diff | blob | blame | history
src/include/jit/jit.h diff | blob | blame | history
src/include/jit/llvmjit.h diff | blob | blame | history
src/include/nodes/execnodes.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /