pg_repack solves alter table set tablespace lock - Mailing list pgsql-performance

From Ying He
Subject pg_repack solves alter table set tablespace lock
Date
Msg-id 1390596505.28856.YahooMailNeo@web164606.mail.gq1.yahoo.com
Whole thread Raw
Responses Re: pg_repack solves alter table set tablespace lock  (Josh Kupershmidt <schmiddy@gmail.com>)
List 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 by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: PostgreSQL 9.3.2 Performance issues
Next
From: Josh Kupershmidt
Date:
Subject: Re: pg_repack solves alter table set tablespace lock