pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedReindex time?
4+ messages / 3 participants
[nested] [flat]
* Reindex time?
@ 2002-07-31 12:58 Ericson Smith <eric@did-it.com>
2002-07-31 16:32 ` Re: Reindex time? Naomi Walker <nwalker@eldocomp.com>
0 siblings, 1 reply; 4+ messages in thread
From: Ericson Smith @ 2002-07-31 12:58 UTC (permalink / raw)
To: pgsql-admin
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?
- Ericson Smith
http://www.did-it.com
eric@did-it.com
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Reindex time?
2002-07-31 12:58 Reindex time? Ericson Smith <eric@did-it.com>
@ 2002-07-31 16:32 ` Naomi Walker <nwalker@eldocomp.com>
2002-07-31 17:14 ` Re: Reindex time? Andrew Sullivan <andrew@libertyrms.info>
2002-07-31 18:07 ` Re: Reindex time? Ericson Smith <eric@did-it.com>
0 siblings, 2 replies; 4+ messages in thread
From: Naomi Walker @ 2002-07-31 16:32 UTC (permalink / raw)
To: Ericson Smith <eric@did-it.com>; pgsql-admin
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Reindex time?
2002-07-31 12:58 Reindex time? Ericson Smith <eric@did-it.com>
2002-07-31 16:32 ` Re: Reindex time? Naomi Walker <nwalker@eldocomp.com>
@ 2002-07-31 17:14 ` Andrew Sullivan <andrew@libertyrms.info>
1 sibling, 0 replies; 4+ messages in thread
From: Andrew Sullivan @ 2002-07-31 17:14 UTC (permalink / raw)
To: pgsql-admin
On Wed, Jul 31, 2002 at 09:32:55AM -0700, Naomi Walker wrote:
>
> 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?
A single REINDEX command works with one backend, which is a single
process. Therefore, it'll only work on one CPU.
A
--
----
Andrew Sullivan 87 Mowat Avenue
Liberty RMS Toronto, Ontario Canada
<andrew@libertyrms.info> M6K 3E3
+1 416 646 3304 x110
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Reindex time?
2002-07-31 12:58 Reindex time? Ericson Smith <eric@did-it.com>
2002-07-31 16:32 ` Re: Reindex time? Naomi Walker <nwalker@eldocomp.com>
@ 2002-07-31 18:07 ` Ericson Smith <eric@did-it.com>
1 sibling, 0 replies; 4+ messages in thread
From: Ericson Smith @ 2002-07-31 18:07 UTC (permalink / raw)
To: Naomi Walker <nwalker@eldocomp.com>; +Cc: pgsql-admin
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
>
>
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2002-07-31 18:07 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-07-31 12:58 Reindex time? Ericson Smith <eric@did-it.com>
2002-07-31 16:32 ` Naomi Walker <nwalker@eldocomp.com>
2002-07-31 17:14 ` Andrew Sullivan <andrew@libertyrms.info>
2002-07-31 18:07 ` Ericson Smith <eric@did-it.com>
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