From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Does standalone postfrsql have autogrowth/ manual growth on table space?
Date: Thu, 20 Oct 2022 12:29:21 -0500
Message-ID: <4829b4ef-430f-59cf-5143-b6754904ee16@gmail.com> (raw)
In-Reply-To: <CAKS+vVb8zv=urKyAmmHUPNx0FcGLovBGZV3KKzTtmQ2kQF6UBA@mail.gmail.com>
References: <CAKS+vVb8zv=urKyAmmHUPNx0FcGLovBGZV3KKzTtmQ2kQF6UBA@mail.gmail.com>
On 10/20/22 12:19, Vince McMahon wrote:
> In other databases, there is a way to preallocate the table space to allow
> bulk loading of data in a well packed and continuous space.
>
>
> Does psql have that auto/manual growth?
There's no pre-allocation in Postgresql. When you run CREATE TABLE, an (I
think) 8KiB file is created; it grows as you add more data. When it hits
1GiB in size, another table is created. And then another and another and
another, etc.
--
Angular momentum makes the world go 'round.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: Does standalone postfrsql have autogrowth/ manual growth on table space?
In-Reply-To: <4829b4ef-430f-59cf-5143-b6754904ee16@gmail.com>
References: <CAKS+vVb8zv=urKyAmmHUPNx0FcGLovBGZV3KKzTtmQ2kQF6UBA@mail.gmail.com> <4829b4ef-430f-59cf-5143-b6754904ee16@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox