Re: Configuring a Large RAM PostgreSQL Server - Mailing list pgsql-performance

From Alvaro Herrera
Subject Re: Configuring a Large RAM PostgreSQL Server
Date
Msg-id 20071129192919.GJ9567@alvh.no-ip.org
Whole thread Raw
In response to Re: Configuring a Large RAM PostgreSQL Server  (Alex Hochberger <alex@dsgi.us>)
List pgsql-performance
> On Nov 29, 2007, at 2:15 PM, Richard Huxton wrote:

>> Alex Hochberger wrote:
>>>    Problem Usage: we have a 20GB table with 120m rows that we are
>>> splitting into some sub-tables.  Generally, we do large data pulls from
>>> here, 1 million - 4 million records at a time, stored in a new table for
>>> export.  These queries are problematic because we are unable to index the
>>> database for the queries that we run because we get out of memory errors.
>>
>> Would it not make sense to find out why you are getting these errors
>> first?

Alex Hochberger wrote:
> It's not on rebuilding the index, it's on CREATE INDEX.
>
> I attribute it to wrong setting, Ubuntu bizarre-ness, and general problems.

Please do not top-post.  I reformatted your message for clarity.

Richard is still correct: it is not normal to get out-of-memory errors
during index building, regardless of age of servers and Linux distro.
Perhaps you just have a maintenance_work_mem setting that's too large
for your server.

--
Alvaro Herrera                        http://www.advogato.org/person/alvherre
"Uno puede defenderse de los ataques; contra los elogios se esta indefenso"

pgsql-performance by date:

Previous
From: Alex Hochberger
Date:
Subject: Re: Configuring a Large RAM PostgreSQL Server
Next
From: "Matthew T. O'Connor"
Date:
Subject: Re: GiST indexing tuples