pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Curt Sampson <cjs@cynic.net>
Cc: Curtis Faith <curtis@galtcapital.com>
Cc: 'Josh Berkus' <josh@agliodbs.com>
Cc: 'Noah Silverman' <noah@allresearch.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: One large v. many small
Date: Sun, 2 Feb 2003 05:16:00 -0500 (EST)
Message-ID: <200302021016.h12AG0e19235@candle.pha.pa.us> (raw)
In-Reply-To: <Pine.NEB.4.51.0302011359390.610@angelic.cynic.net>

Curt Sampson wrote:
> So the tradeoff there is really, can you afford the time for the CLUSTER?
> (In a system where you have a lot of maintenance time, probably. Though if
> it's a huge table, this might need an entire weekend. In a system that needs
> to be up 24/7, probably not, unless you have lots of spare I/O capacity.)
> Just out of curiousity, how does CLUSTER deal with updates to the table while
> the CLUSTER command is running?

CLUSTER locks the table, so no updates can happen during a cluster.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



view thread (17+ messages)

Message-ID: <200302021016.h12AG0e19235@candle.pha.pa.us>
Permalink:  ../200302021016.h12AG0e19235@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200302021016.h12AG0e19235@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: pgman@candle.pha.pa.us, cjs@cynic.net, curtis@galtcapital.com, josh@agliodbs.com, noah@allresearch.com
  Subject: Re: One large v. many small
  In-Reply-To: <200302021016.h12AG0e19235@candle.pha.pa.us>
  References: <Pine.NEB.4.51.0302011359390.610@angelic.cynic.net> <200302021016.h12AG0e19235@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox