Re: allow segment size to be set to < 1GiB - Mailing list pgsql-hackers

From Tom Lane
Subject Re: allow segment size to be set to < 1GiB
Date
Msg-id 3606315.1667874993@sss.pgh.pa.us
Whole thread Raw
In response to Re: allow segment size to be set to < 1GiB  (Andres Freund <andres@anarazel.de>)
Responses Re: allow segment size to be set to < 1GiB
Re: allow segment size to be set to < 1GiB
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2022-11-07 12:52:25 -0500, Tom Lane wrote:
>> How about instead allowing the segment size to be set in pages?

> In addition or instead of --with-segsize/-Dsegsize?

In addition to.  What I meant by "instead" was to replace
your proposal of --with-segsize-mb.

> Just offering the number of pages seems like a not great UI.

Well, it's a developer/debug focused API.  I think regular users
would only care for the existing --with-segsize = so-many-GB API.
But for testing, I think --with-segsize-pages = so-many-pages
is actually a pretty good UI.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Kyotaro Horiguchi
Date:
Subject: Re: In-placre persistance change of a relation
Next
From: Corey Huinker
Date:
Subject: Re: psql: Add command to use extended query protocol