pg_repack solves alter table set tablespace lock

Поиск
Список
Период
Сортировка
От Ying He
Тема pg_repack solves alter table set tablespace lock
Дата
Msg-id 1390596505.28856.YahooMailNeo@web164606.mail.gq1.yahoo.com
обсуждение исходный текст
Ответы Re: pg_repack solves alter table set tablespace lock  (Josh Kupershmidt <schmiddy@gmail.com>)
Список pgsql-performance
hi, all,

I have a requirement to move a table to a different storage. I will create the tablespace and use alter table set tablespace to achieve it. The concern is that the table is pretty big and during the set tablespace, application could insert/update/delete records. If there is a lock during the operation, it will impact db availability.

I looked at the pg_repack usage and in release 1.2 http://reorg.github.io/pg_repack/. there is -s tablespace that claims to be an online version of ALTER TABLE ... SET TABLESPACE

is this the functionality that solves the alter table set tablespace lock issue?

For any one using pg_repack, how well does it perform?

Thank you.

best,
Ying

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

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: Re: PostgreSQL 9.3.2 Performance issues
Следующее
От: Josh Kupershmidt
Дата:
Сообщение: Re: pg_repack solves alter table set tablespace lock