Re: Concurrent CREATE INDEX, try 2 (was Re: Reducing relation locking - Mailing list pgsql-hackers

From Ron Mayer
Subject Re: Concurrent CREATE INDEX, try 2 (was Re: Reducing relation locking
Date
Msg-id 439898BB.6080600@cheapcomplexdevices.com
Whole thread Raw
In response to Re: Reducing relation locking overhead  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-hackers
Simon Riggs wrote:
> ...REINDEX...CREATE/DROP INDEX...

I'm curious if partitioning can help help
provide online create/reindex.

For example, if I could set set up a table
partitioned by "modified time"; could I make
a new partition so all new inserts go into a
new partition and then I can re-index / create-index
on the old partitions concurrently because only
reads and deletes would be happening on that
old table?

The new partition would have a new index anyway
so no reindex would even be needed on that part.


pgsql-hackers by date:

Previous
From: "Jonah H. Harris"
Date:
Subject: Re: HOOKS for Synchronous Replication?
Next
From: Tom Lane
Date:
Subject: Re: generic builtin functions