Skip site navigation (1) Skip section navigation (2)

pgsql: Reduce the scaling factor for attstattarget to number-of-lexemes

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Reduce the scaling factor for attstattarget to number-of-lexemes
Date: 2008-12-15 15:06:31
Message-ID: 20081215150631.D7BDE7563FE@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Reduce the scaling factor for attstattarget to number-of-lexemes from 100
to 10, to compensate for the recent change in default statistics target.
The original number was pulled out of the air anyway :-(, but it was picked
in the context of the old default, so holding the default size of the
MCELEM array constant seems the best thing.  Per discussion.

Modified Files:
--------------
    pgsql/src/backend/tsearch:
        ts_typanalyze.c (r1.4 -> r1.5)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/ts_typanalyze.c?r1=1.4&r2=1.5)

pgsql-committers by date

Next:From: Michael MeskesDate: 2008-12-15 15:34:07
Subject: pgsql: Do not try to change a const variable.
Previous:From: Tom LaneDate: 2008-12-15 14:55:51
Subject: pgsql: Remove our dependencies on MB_CUR_MAX in favor of believing that

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group