pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ericson Smith <eric@did-it.com>
To: Naomi Walker <nwalker@eldocomp.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Reindex time?
Date: 31 Jul 2002 14:07:05 -0400
Message-ID: <1028138829.23774.8.camel@localhost.localdomain> (raw)
In-Reply-To: <4.2.2.20020731092827.01e72808@ecint.ecinet.com>
References: <4.2.2.20020731092827.01e72808@ecint.ecinet.com>

Here's what I found when the thing was finally completed:

Hardware:
Dual AMD 1600+, 4GB Ram, 110GB RAID, 2GB in shared memory for Pg

Environment:
We turned off most access to the database, load was down to about .2
when we started. We *did not* run a single process, as the manuals
recommended.

Reindex took ~45 Minutes on a single table with 10 indices, and
1.2Million Tuples. The reindex process ran on only a single CPU.

- Ericson Smith
Web Developer
http://www.did-it.com
eric@did-it.com



On Wed, 2002-07-31 at 12:32, Naomi Walker wrote:
> At 05:58 AM 7/31/2002 , Ericson Smith wrote:
> >A  quick question.
> >
> >We're reindexing a table with 1.2 million tuples and around 10 indexes.
> >
> ># REINDEX TABLE tlogs;
> >
> >Does anyone have any anecdotes about the time that a reindex should
> >take?
> 
> I would imagine it depends on how much you have in the way of system 
> resources (memory, cpu (how fast, how many)) at the time it is done.
> 
> But to the list, supposing the entire machine was idle, would a reindex 
> spread itself amount cpu's, and perform the task in pieces, or is it bound 
> to a cpu?
> 
> 
> 
> >- Ericson Smith
> >http://www.did-it.com
> >eric@did-it.com
> >
> >
> >
> >
> >
> >
> >---------------------------(end of broadcast)---------------------------
> >TIP 5: Have you checked our extensive FAQ?
> >
> >http://www.postgresql.org/users-lounge/docs/faq.html
> 
> ---------------------------------------------------------------------------- 
> ----------------------------------
> Naomi Walker
> Eldorado Computing, Inc
> Chief Information Officer
> nwalker@eldocomp.com
> 602-604-3100 x242
>                                     
> 





view thread (4+ messages)

Message-ID: <1028138829.23774.8.camel@localhost.localdomain>
Permalink:  ../1028138829.23774.8.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1028138829.23774.8.camel@localhost.localdomain

 · 

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: eric@did-it.com, nwalker@eldocomp.com
  Subject: Re: Reindex time?
  In-Reply-To: <1028138829.23774.8.camel@localhost.localdomain>
  References: <4.2.2.20020731092827.01e72808@ecint.ecinet.com> <1028138829.23774.8.camel@localhost.localdomain>

* 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