pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Moreno Andreo <moreno.andreo@evolu-s.it>
To: pgsql-general@lists.postgresql.org
Subject: Re: New tablespace: just an advice
Date: Tue, 16 Oct 2018 11:13:31 +0200
Message-ID: <39c299c7-9c10-ebe9-8841-68560c9e8deb@evolu-s.it> (raw)
In-Reply-To: <2575708954513e34667ad6404b5237377902e573.camel@cybertec.at>
References: <cfb7a3f5-2cf6-59a5-2fd2-5b27b3b4bae1@evolu-s.it>
	<2575708954513e34667ad6404b5237377902e573.camel@cybertec.at>

Il 16/10/2018 10:18, Laurenz Albe ha scritto:
> Moreno Andreo wrote:
>> Now, 2 questions.
>> 1. Is it all or do I need to adjust something else about permissions,
>> indexes, vacuuming, etc...?
>> ALTERing the database namespace means copying its physical files to new
>> directory, but is it applied to all objects (indexes, triggers, etc)?
> All objects that are located in the default tablespace of the database
> will be moved.
>
>> 2. What will happen to who tries to access the database while it's being
>> moved from one tablespace to another?
> They will be "hanging" with a lock until the transaction is done.
>
> Yours,
> Laurenz Albe

Perfect!

Thanks for your time,

Moreno






view thread (3+ messages)

Message-ID: <39c299c7-9c10-ebe9-8841-68560c9e8deb@evolu-s.it>
Permalink:  ../39c299c7-9c10-ebe9-8841-68560c9e8deb@evolu-s.it/
Also on:    postgresql.org/message-id/39c299c7-9c10-ebe9-8841-68560c9e8deb@evolu-s.it

 · 

reply

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: moreno.andreo@evolu-s.it
  Subject: Re: New tablespace: just an advice
  In-Reply-To: <39c299c7-9c10-ebe9-8841-68560c9e8deb@evolu-s.it>
  References: <cfb7a3f5-2cf6-59a5-2fd2-5b27b3b4bae1@evolu-s.it> <2575708954513e34667ad6404b5237377902e573.camel@cybertec.at> <39c299c7-9c10-ebe9-8841-68560c9e8deb@evolu-s.it>

* 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