Re: vacuum and table locking - Mailing list pgsql-admin

From Steve Crawford
Subject Re: vacuum and table locking
Date
Msg-id 551EC270.5000604@pinpointresearch.com
Whole thread Raw
In response to Re: vacuum and table locking  (Steve Crawford <scrawford@pinpointresearch.com>)
List pgsql-admin
On 04/03/2015 09:34 AM, Steve Crawford wrote:
>
> Check out the pg_reorg extension. This extension does create a new
> table on the fly while tracking updates. It then applies any updates
> that have occurred while creating the new copy and finally swaps the
> new version in place of the old. It creates I/O but doesn't require
> the long-duration locks of the other methods.
Actually I should have also said check out pg_repack, the fork of
pg_reorg. In either case also do some reading on potential pitfalls:
http://adpgtech.blogspot.com/2014/10/pgrepack-pitfalls.html

Cheers,
Steve



pgsql-admin by date:

Previous
From: Steve Crawford
Date:
Subject: Re: vacuum and table locking
Next
From: Kevin Grittner
Date:
Subject: Re: vacuum and table locking