Re: Reindexing and tablespaces

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: alexandros_e <alexandros(dot)ef(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org>
Subject: Re: Reindexing and tablespaces
Date: 2014-01-31 04:49:43
Message-ID: CAB7nPqQb7+A3W+Chs7Gk9pg1vKGVNq2iDA0N3n3xQfORNBVaog@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jan 31, 2014 at 1:24 PM, alexandros_e <alexandros(dot)ef(at)gmail(dot)com> wrote:
> Hello to all,
>
> I have done ALTER DATABASE "[database_name]" SET default_tablespace =
> [new_tablespace]; I am wondering, if I reindex this entire DB would the
> indexes automatically moved into the [new_tablespace] or will they remain in
> the tablespace they were originally created on;
They remain on the tablespace they have been created on. Note as well
that the new value of default_tablespace takes effect only after
reloading the session.
Regards,
--
Michael

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message mephysto 2014-01-31 10:20:32 Temporary table already exists
Previous Message alexandros_e 2014-01-31 04:24:35 Reindexing and tablespaces