Re: truncating pg_multixact/members - Mailing list pgsql-hackers

From Robert Haas
Subject Re: truncating pg_multixact/members
Date
Msg-id CA+TgmoY8cM=LNswgX+Bvw+f5erBZ1FHkWDRd9zfv8vJiXHCXZA@mail.gmail.com
Whole thread Raw
In response to Re: truncating pg_multixact/members  (Jim Nasby <jim@nasby.net>)
Responses Re: truncating pg_multixact/members
List pgsql-hackers
On Mon, Jan 6, 2014 at 7:50 PM, Jim Nasby <jim@nasby.net> wrote:
> On 1/4/14, 8:19 AM, Robert Haas wrote:
>> Also, while multixactid_freeze_min_age should be low, perhaps a
>> million as you suggest, multixactid_freeze_table_age should NOT be
>> lowered to 3 million or anything like it.  If you do that, people who
>> are actually doing lots of row locking will start getting many more
>> full-table scans.  We want to avoid that at all cost.  I'd probably
>> make the default the same as for vacuum_freeze_table_age, so that
>> mxids only cause extra full-table scans if they're being used more
>> quickly than xids.
>
> Same default as vacuum_freeze_table_age, or default TO
> vacuum_freeze_table_age? I'm thinking the latter makes more sense...

Same default.  I think it's a mistake to keep leading people to think
that the sensible values for one set of parameters are somehow related
to a sensible set of values for the other set.  They're really quite
different things.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: AK
Date:
Subject: Re: How to reproduce serialization failure for a read only transaction.
Next
From: Robert Haas
Date:
Subject: Re: ERROR: missing chunk number 0 for toast value