X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id EBE0B30E944 for ; Thu, 12 Jun 2003 16:21:41 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 92013-05 for ; Thu, 12 Jun 2003 13:21:31 -0300 (ADT) Received: from yapok.nexcerpt.com (mail.nexcerpt.com [64.147.202.2]) by svr1.postgresql.org (Postfix) with ESMTP id 0E97A30E946 for ; Thu, 12 Jun 2003 13:21:31 -0300 (ADT) Received: from takin.private.nexcerpt.com (zorro.nexcerpt.com [64.147.202.1]) by yapok.nexcerpt.com (8.11.6/8.11.6) with ESMTP id h5CGLU732210 for ; Thu, 12 Jun 2003 12:21:30 -0400 Subject: REINDEX by table or by index? From: Jeff Boes To: pgsql-admin@postgresql.org Content-Type: text/plain Organization: Nexcerpt, Inc. Message-Id: <1055434890.27084.29.camel@takin.private.nexcerpt.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 12 Jun 2003 12:21:30 -0400 Content-Transfer-Encoding: 7bit X-Archive-Number: 200306/125 X-Sequence-Number: 9116 [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