From: | Steve Crawford <scrawford(at)pinpointresearch(dot)com> |
---|---|
To: | John Scalia <jayknowsunix(at)gmail(dot)com>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: vacuum and table locking |
Date: | 2015-04-03 16:40:16 |
Message-ID: | 551EC270.5000604@pinpointresearch.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Grittner | 2015-04-03 17:59:05 | Re: vacuum and table locking |
Previous Message | Steve Crawford | 2015-04-03 16:34:54 | Re: vacuum and table locking |