Re: Clustered index to preserve data locality in a multitenant application? - Mailing list pgsql-general

From Nicolas Grilly
Subject Re: Clustered index to preserve data locality in a multitenant application?
Date
Msg-id CAG3yVS78Pytg8i=0FbPe_q=Ypa7kXfOWqyioxB7mq6kPVYfFKA@mail.gmail.com
Whole thread Raw
In response to Re: Clustered index to preserve data locality in a multitenant application?  (Nicolas Grilly <nicolas@gardentechno.com>)
List pgsql-general
On Thu, Sep 1, 2016 at 12:31 AM, Nicolas Grilly <nicolas@gardentechno.com> wrote:
In DB2, it seems possible to define a "clustering index" that determines how rows are physically ordered in the "table space" (the heap).

The documentation says: "When a table has a clustering index, an INSERT statement causes DB2 to insert the records as nearly as possible in the order of their index values."

It looks like a kind of "continuous CLUSTER/pg_repack". Is there something similar available or planned for PostgreSQL?

I forgot the links to DB2 documentation about clustering index:


pgsql-general by date:

Previous
From: Patrick B
Date:
Subject: Rackspace to RDS using DMS (Postgres 9.2)
Next
From: Adam Brusselback
Date:
Subject: Re: Vacuum Full - Questions