Clustering in the presence of hierarchies

From: Ioannis Theoharis <theohari(at)ics(dot)forth(dot)gr>
To: pgsql-general(at)postgresql(dot)org
Subject: Clustering in the presence of hierarchies
Date: 2004-12-10 03:15:42
Message-ID: Pine.GSO.4.58.0412100503520.21724@calliope
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'd like to ask you about the clustering strategy that postgres
implements.

Exactly: I have created a hierachy of tables using 'inherits'
relationship. I have populated tables with a huge amount of data and then
I cluster each table according to an attribute that exists on Root table
(hence, this attribute is inherited by all tables).

In general, clustering for each of those table means to reorder on disc
tuples, in order to be sequential stored.

The question is:
Does postgres uses the knowledge of the hierarchy structure
to reorder tuples of each table to be stored almost after
its direct paent-table tuples?

Browse pgsql-general by date

  From Date Subject
Next Message Werdin Jens 2004-12-10 09:03:36 Re: Performance
Previous Message Phil Endecott 2004-12-09 22:10:21 Temporary tables and disk activity