CLUSTER equivalent

From: Kevin Murphy <murphy(at)genome(dot)chop(dot)edu>
To: PostgreSQL general <pgsql-general(at)postgresql(dot)org>
Subject: CLUSTER equivalent
Date: 2005-09-15 18:40:08
Message-ID: 4329C008.3010500@genome.chop.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I just wanted to confirm that the COPY command always stores data in the
table in the order in which it appears in the import file.

I.e., if the import file is sorted ahead of time, am I correct in
assuming that the COPY command can have the same effect as CLUSTER'ing
(or as creating a new table as an ordered select on the loaded table)?
(Indexes would of course be applied after the data load.)

Thanks,
Kevin Murphy

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2005-09-15 19:38:08 Re: Deadlock
Previous Message Martijn van Oosterhout 2005-09-15 18:39:59 Re: How to check is the table system