| From: | Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> |
|---|---|
| To: | Kenneth Tilton <kentilton(at)gmail(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Nooby Q: Should this take five hours? And counting? |
| Date: | 2009-04-19 00:26:04 |
| Message-ID: | dcc563d10904181726y1426964bg46b4ceacc9b3a9b0@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Sat, Apr 18, 2009 at 4:11 PM, Kenneth Tilton <kentilton(at)gmail(dot)com> wrote:
> ie, 5hrs and counting, no clue how long it intends to run, but methinks this
> is insane even if it is 10^7 records, mebbe half a dozen dups per value (a
> product-id usually around 8-chars long):
>
> CREATE INDEX web_source_items_by_item_id_strip
> ON web_source_items
> USING btree (item_id_strip);
>
> Am I unreasonably impatient?
>
> I see pg getting just a few % CPU on a heavily ram/core-endowed Sun box with
> nothing else going on. Mebbe they installed pg on a compact flash? DVD-RW?
> /usr/local/something, prolly not.
What does vmstat 1 60 say during the index build? Specifically the
cpu columns for user, system, wa?
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kenneth Tilton | 2009-04-19 00:32:39 | Re: Nooby Q: Should this take five hours? And counting? |
| Previous Message | Tino Wildenhain | 2009-04-18 22:36:54 | Re: [GENERAL] Performance of full outer join in 8.3 |