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

Re: Make TOAST_TUPLES_PER_PAGE configurable per table.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jesper Krogh <jesper(at)krogh(dot)cc>
Cc: PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Make TOAST_TUPLES_PER_PAGE configurable per table.
Date: 2010-02-02 00:09:12
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Jesper Krogh <jesper(at)krogh(dot)cc> writes:
> This patch enables users to set TOAST_TUPLES_PER_PAGE with
> ALTER TABLE <table> SET (tuples_per_page = X); .. currently with 1 <= X
> <= 32;

It's not clear to me that fiddling with that is useful unless the toast
tuple size also changes; and unfortunately changing that is much harder,
because it's wired into the addressing of toast data.  See also these

 * XXX while these can be modified without initdb, some thought needs to be
 * given to needs_toast_table() in toasting.c before unleashing random
 * changes.  Also see LOBLKSIZE in large_object.h, which can *not* be
 * changed without initdb.

			regards, tom lane

In response to


pgsql-hackers by date

Next:From: Takahiro ItagakiDate: 2010-02-02 00:33:41
Subject: Re: Largeobject Access Controls (r2460)
Previous:From: Tom LaneDate: 2010-02-02 00:02:45
Subject: Re: Database-Role settings behaviour and docs mismatch

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