From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Yambu <hyambu@gmail.com>
Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: Moving a table/index to different tablespace
Date: Thu, 3 Dec 2020 23:19:37 -0300
Message-ID: <20201204021937.GA16616@alvherre.pgsql> (raw)
In-Reply-To: <CALhHtcDpkNWqShpqpPtqLageGmfWmV023vy11ZchYr=qtv7sUQ@mail.gmail.com>
On 2020-Dec-03, Yambu wrote:
> Hi
>
> May i know if there is any risk in moving a table or index to a different
> tablespace during usage?
There's no risk as such, but an access exclusive lock will be acquired
during the move, which will prevent all other access to that table or
index.
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-admin@postgresql.org
Cc: alvherre@alvh.no-ip.org, hyambu@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: Moving a table/index to different tablespace
In-Reply-To: <20201204021937.GA16616@alvherre.pgsql>
* 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