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

From Ben Chobot
Subject Re: Clustered index to preserve data locality in a multitenant application?
Date
Msg-id 0B10D9BC-DF2E-4A5F-8410-6D309BACBFFF@silentmedia.com
Whole thread Raw
In response to Re: Clustered index to preserve data locality in a multitenant application?  (Nicolas Grilly <nicolas@gardentechno.com>)
Responses Re: Clustered index to preserve data locality in a multitenant application?  (Nicolas Grilly <nicolas@gardentechno.com>)
List pgsql-general
On Aug 31, 2016, at 2:55 PM, Nicolas Grilly <nicolas@gardentechno.com> wrote:

It looks like Instagram has been using pg_reorg (the ancestor of pg_repack) to keep all likes from the same user contiguous on disk, in order to minimize disk seeks.


This is very similar to what I'm trying to achieve.

The article is 3 years old. I'd be curious to know if they still do that.

If what they did 3 years ago is similar to what you are trying to do today, who cares what they are doing today? (Besides using pg_repack instead of pg_reorg, of course.)

For what it's worth, we use pg_repack on a regular basis and it works exactly as advertised.

pgsql-general by date:

Previous
From: Nicolas Grilly
Date:
Subject: Re: Clustered index to preserve data locality in a multitenant application?
Next
From: Nicolas Grilly
Date:
Subject: Re: Clustered index to preserve data locality in a multitenant application?