Re: createing indexes on large tables and int8 - Mailing list pgsql-general

From mljv@planwerk6.de
Subject Re: createing indexes on large tables and int8
Date
Msg-id 200707171733.29243.mljv@planwerk6.de
Whole thread Raw
In response to Re: createing indexes on large tables and int8  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: createing indexes on large tables and int8  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Am Montag, 16. Juli 2007 16:19 schrieben Sie:
> Janning Vygen <vygen@planwerk6.de> writes:
> > After this i create the index and it took 10 hours just for one index
> > (primary key). I have 100.000.000 rows with one PK (int8), two integer
> > data values, and two FK (int8)
>
> What PG version is this?  We did a fair amount of work on sort speed
> for 8.2.

sorry for forgetting the version number. it is 8.1.

i think i got it fixed as i saw that i pushed my maintenance_work_mem too
high. It was higher than physical ram :-(

i don't know what happens but i guess it is swapping all the time

i will try it again
- with correct maintenance_work_mem setting
- with 8.2 as your statement sounds great.

i never thought pg8.1 could be improved anyway as i was already totally
satisfied with its performance.

i will ask my second question in a different thread.

kind regards,
janning


pgsql-general by date:

Previous
From: Rick Schumeyer
Date:
Subject: yet another image: db or filesystem ? question
Next
From: Richard Huxton
Date:
Subject: Re: yet another image: db or filesystem ? question