postgresql/src/backend
Tomas Vondra c50b3158bf Reduce overhead of pg_mcv_list (de)serialization
Commit ea4e1c0e8f resolved issues with memory alignment in serialized
pg_mcv_list values, but it required copying data to/from the varlena
buffer during serialization and deserialization.  As the MCV lits may
be fairly large, the overhead (memory consumption, CPU usage) can get
rather significant too.

This change tweaks the serialization format so that the alignment is
correct with respect to the varlena value, and so the parts may be
accessed directly without copying the data.

Catversion bump, as it affects existing pg_statistic_ext data.
2019-04-03 21:23:40 +02:00
..
access Generate less WAL during GiST, GIN and SP-GiST index build. 2019-04-03 17:03:15 +03:00
bootstrap tableam: relation creation, VACUUM FULL/CLUSTER, SET TABLESPACE. 2019-03-28 20:01:43 -07:00
catalog GSSAPI encryption support 2019-04-03 15:02:33 -04:00
commands Copy name when cloning FKs recurses to partitions 2019-04-03 15:35:54 -03:00
executor tableam: bitmap table scan. 2019-03-31 18:37:57 -07:00
foreign Update copyright for 2019 2019-01-02 12:44:25 -05:00
jit Renaming for new subscripting mechanism 2019-02-01 12:50:32 -03:00
lib Further code review for new integerset code. 2019-03-25 12:23:48 -04:00
libpq GSSAPI encryption support 2019-04-03 15:02:33 -04:00
main Replace @postgresql.org with @lists.postgresql.org for mailinglists 2019-01-19 19:06:35 +01:00
nodes Generated columns 2019-03-30 08:15:57 +01:00
optimizer postgres_fdw: Perform the (FINAL, NULL) upperrel operations remotely. 2019-04-02 20:30:45 +09:00
parser Catch syntax error in generated column definition 2019-04-01 10:46:37 +02:00
partitioning Speed up planning when partitions can be pruned at plan time. 2019-03-30 18:58:55 -04:00
po Translation updates 2018-06-25 12:37:18 +02:00
port Add shared_memory_type GUC. 2019-02-03 12:47:26 +01:00
postmaster GSSAPI encryption support 2019-04-03 15:02:33 -04:00
regex Collations with nondeterministic comparison 2019-03-22 12:12:43 +01:00
replication Generated columns 2019-03-30 08:15:57 +01:00
rewrite Perform RLS subquery checks as the right user when going via a view. 2019-04-02 08:13:59 +01:00
snowball Update copyright for 2019 2019-01-02 12:44:25 -05:00
statistics Reduce overhead of pg_mcv_list (de)serialization 2019-04-03 21:23:40 +02:00
storage Prevent use of uninitialized variable 2019-04-02 16:03:26 -03:00
tcop REINDEX CONCURRENTLY 2019-03-29 08:26:33 +01:00
tsearch Move hash_any prototype from access/hash.h to utils/hashutils.h 2019-03-11 13:17:50 -03:00
utils GSSAPI encryption support 2019-04-03 15:02:33 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
Makefile Get rid of jsonpath_gram.h and jsonpath_scanner.h 2019-03-20 11:13:34 +03:00
nls.mk Translation updates 2018-06-25 12:37:18 +02:00