pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Boes <jboes@nexcerpt.com>
To: pgsql-admin@postgresql.org
Subject: REINDEX by table or by index?
Date: 12 Jun 2003 12:21:30 -0400
Message-ID: <1055434890.27084.29.camel@takin.private.nexcerpt.com> (raw)

[Apologies if you have seen this before. I just discovered that posting
to the group via NNTP, at Teranews.com, apparently isn't working since
my posts aren't showing up in the mailing list archives.]

Given a fairly large (7 MRows or so) table with more than one index
(say, two): would it be theoretically faster to do

  REINDEX TABLE "foo";

or

  REINDEX INDEX "ix_foo_one";

and

  REINDEX INDEX "ix_foo_two";

in another session?  (The system in question has two CPUs, if that makes
any difference.)

-- 
Jeff Boes                                      vox 269.226.9550 ext 24
Database Engineer                                     fax 269.349.9076
Nexcerpt, Inc.                                 http://www.nexcerpt.com
           ...Nexcerpt... Extend your Expertise




view thread (2+ messages)  latest in thread

Message-ID: <1055434890.27084.29.camel@takin.private.nexcerpt.com>
Permalink:  ../1055434890.27084.29.camel@takin.private.nexcerpt.com/
Also on:    postgresql.org/message-id/1055434890.27084.29.camel@takin.private.nexcerpt.com

 · 

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-admin@postgresql.org
  Cc: jboes@nexcerpt.com
  Subject: Re: REINDEX by table or by index?
  In-Reply-To: <1055434890.27084.29.camel@takin.private.nexcerpt.com>
  References: <1055434890.27084.29.camel@takin.private.nexcerpt.com>

* 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