Re: Time to move table to new tablespace

Поиск
Список
Период
Сортировка
От Ondrej Ivanič
Тема Re: Time to move table to new tablespace
Дата
Msg-id CAM6mieLUk36VDCTcWgfsKcBJmZfY9PZ5QGKz=NN78cqvjQ00Gw@mail.gmail.com
обсуждение исходный текст
Ответ на Time to move table to new tablespace  (Jason Buberel <jason@altosresearch.com>)
Список pgsql-general
Hi,

On 8 January 2012 01:52, Jason Buberel <jason@altosresearch.com> wrote:
> psql> create tablespace 'newstorage' location '/some/new/path';
> psql> alter table city_summary set tablespace = 'newstorage';

Be aware that you are not going to move indexes (see ALTER INDEX name
SET TABLESPACE tablespace_name). Maybe you don't have to move data and
I would be worth to move indexes only. So you ended up with data and
index tablespace and reduce random_page_cost when you query your
table.

--
Ondrej Ivanic
(ondrej.ivanic@gmail.com)

В списке pgsql-general по дате отправления:

Предыдущее
От: Jon Nelson
Дата:
Сообщение: Re: Duplicated entries are not ignored even if a "do instead nothing" rule is added.
Следующее
От: Chris Angelico
Дата:
Сообщение: Lock/deadlock issues with priority queue in Postgres - possible VACUUM conflicts