From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: husseinyouness@outlook.com
Subject: Tablespace with multiple locations
Date: Thu, 29 Dec 2022 14:29:43 +0000
Message-ID: <167232418328.662.17750571899907598693@wrigleys.postgresql.org> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/15/sql-createtablespace.html
Description:
Hello,
I m kindly requesting a clarification regarding a debatable subject in one
of my projects, that if it's possible to create one global tablespace and
assign many locations like the following example:
create tablespace TBS1 location ('/pgdata1','/pgdata2');
Which will be helpful on database migration, once the new database to be
restored needs further available space than the created tablespace ( if the
new DB is larger than the existing tablespace ), so it can be automatically
distributed on the assigned locations ( filesystems ) with no need for
manual intervention to distribute the schema objects between many
tablespaces that can't be done automatically.
And if a tablespace needs to be extended on a physical partitioned disk
device that is not configured as a logical volume.
Thank you,
Hussein Younes
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 using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, husseinyouness@outlook.com
Subject: Re: Tablespace with multiple locations
In-Reply-To: <167232418328.662.17750571899907598693@wrigleys.postgresql.org>
* 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