pg.ddx.io pgsql-performance@postgresql.org mailing list archive
help / color / mirror / Atom feedpg_repack solves alter table set tablespace lock
4+ messages / 3 participants
[nested] [flat]
* pg_repack solves alter table set tablespace lock
@ 2014-01-24 20:48 Ying He <yinghe0101@yahoo.com>
2014-01-24 21:42 ` Re: pg_repack solves alter table set tablespace lock Josh Kupershmidt <schmiddy@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Ying He @ 2014-01-24 20:48 UTC (permalink / raw)
To: 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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pg_repack solves alter table set tablespace lock
2014-01-24 20:48 pg_repack solves alter table set tablespace lock Ying He <yinghe0101@yahoo.com>
@ 2014-01-24 21:42 ` Josh Kupershmidt <schmiddy@gmail.com>
2014-01-27 14:15 ` Re: pg_repack solves alter table set tablespace lock Ying He <yinghe0101@yahoo.com>
0 siblings, 1 reply; 4+ messages in thread
From: Josh Kupershmidt @ 2014-01-24 21:42 UTC (permalink / raw)
To: Ying He <yinghe0101@yahoo.com>; +Cc: pgsql-performance
On Fri, Jan 24, 2014 at 3:48 PM, Ying He <yinghe0101@yahoo.com> wrote:
> 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?
>
Cross-posting to multiple lists in quick succession is generally considered
rude; I see you have posted to the reorg-general list already, which is the
right forum for questions about pg_repack. (And yes, that "-s" flag sounds
like what you are after.)
Josh
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pg_repack solves alter table set tablespace lock
2014-01-24 20:48 pg_repack solves alter table set tablespace lock Ying He <yinghe0101@yahoo.com>
2014-01-24 21:42 ` Re: pg_repack solves alter table set tablespace lock Josh Kupershmidt <schmiddy@gmail.com>
@ 2014-01-27 14:15 ` Ying He <yinghe0101@yahoo.com>
2014-01-27 14:24 ` Re: pg_repack solves alter table set tablespace lock Alvaro Herrera <alvherre@2ndquadrant.com>
0 siblings, 1 reply; 4+ messages in thread
From: Ying He @ 2014-01-27 14:15 UTC (permalink / raw)
To: Josh Kupershmidt <schmiddy@gmail.com>; +Cc: pgsql-performance
Thank you Josh. Won't double post again. Just thought reorg mailing list is quite inactive.
best,
Ying
On Friday, January 24, 2014 4:43 PM, Josh Kupershmidt <schmiddy@gmail.com> wrote:
On Fri, Jan 24, 2014 at 3:48 PM, Ying He <yinghe0101@yahoo.com> wrote:
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?
Cross-posting to multiple lists in quick succession is generally considered rude; I see you have posted to the reorg-general list already, which is the right forum for questions about pg_repack. (And yes, that "-s" flag sounds like what you are after.)
Josh
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: pg_repack solves alter table set tablespace lock
2014-01-24 20:48 pg_repack solves alter table set tablespace lock Ying He <yinghe0101@yahoo.com>
2014-01-24 21:42 ` Re: pg_repack solves alter table set tablespace lock Josh Kupershmidt <schmiddy@gmail.com>
2014-01-27 14:15 ` Re: pg_repack solves alter table set tablespace lock Ying He <yinghe0101@yahoo.com>
@ 2014-01-27 14:24 ` Alvaro Herrera <alvherre@2ndquadrant.com>
0 siblings, 0 replies; 4+ messages in thread
From: Alvaro Herrera @ 2014-01-27 14:24 UTC (permalink / raw)
To: Ying He <yinghe0101@yahoo.com>; +Cc: Josh Kupershmidt <schmiddy@gmail.com>; pgsql-performance
Ying He escribió:
> Thank you Josh. Won't double post again. Just thought reorg mailing list is quite inactive.
Well, that tells you something about its maintenance state and what sort
of help you can expect if you find yourself in trouble with it.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2014-01-27 14:24 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-01-24 20:48 pg_repack solves alter table set tablespace lock Ying He <yinghe0101@yahoo.com>
2014-01-24 21:42 ` Josh Kupershmidt <schmiddy@gmail.com>
2014-01-27 14:15 ` Ying He <yinghe0101@yahoo.com>
2014-01-27 14:24 ` Alvaro Herrera <alvherre@2ndquadrant.com>
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