pgsql: Reduce hash size for compute_array_stats, compute_tsvector_stats

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Reduce hash size for compute_array_stats, compute_tsvector_stats
Date: 2012-04-24 02:07:03
Message-ID: E1SMV9j-0001X7-1U@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Reduce hash size for compute_array_stats, compute_tsvector_stats.

The size is only a hint, but a big hint chews up a lot of memory without
apparently improving performance much.

Analysis and patch by Noah Misch.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/85efd5f06593b80bbe01e541d78b336c1077213e

Modified Files
--------------
src/backend/tsearch/ts_typanalyze.c | 2 +-
src/backend/utils/adt/array_typanalyze.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2012-04-24 02:19:16 pgsql: Rearrange lazy_scan_heap to avoid visibility map race conditions
Previous Message Robert Haas 2012-04-24 01:59:57 pgsql: Minor improvements for CHECK NO INHERIT documentation.