Re: more about pg_toast growth

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Jeffrey W(dot) Baker" <jwbaker(at)acm(dot)org>
Cc: Jan Wieck <janwieck(at)yahoo(dot)com>, Postgres general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: more about pg_toast growth
Date: 2002-04-09 18:02:33
Message-ID: 200204091802.g39I2X525024@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> I doubled that, and it still doesn't work. You are suggesting I
> increase your previous estimate by a factor of 200. Your email of
> 2002-03-13 at 15:16 -0500 suggests a FSM of 50,000 pages allocates "some
> more shared memory. It's surely in the range of a few megabytes..."
> Will a FSM map 200 times larger require 200 times more memory, or is the
> growth nonlinear? How can I calculate this requirement? Without some
> documentation this database is inoperable.
>
> I stand behind my previous statement: if PostgreSQL's unchecked table
> growth can only be prevented by changing an undocumented configuration
> key using an undocumented formula producing undocumented system impact,
> the implementation is flawed.

This does bring up a point that VACUUM alone does not handle all cases
of reusing tuple space. VACUUM FULL is needed occasionally.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2002-04-09 18:11:42 Re: SPI_execp() failed in RI_FKey_cascade_del()
Previous Message Johann Zuschlag 2002-04-09 17:58:07 Why does this not work? (keyword 'TEXT')