pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Alex Hochberger <alex@dsgi.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: Configuring a Large RAM PostgreSQL Server
Date: Thu, 29 Nov 2007 19:15:15 +0000
Message-ID: <474F0FC3.4000109@archonet.com> (raw)
In-Reply-To: <C78952BC-8F12-486E-9BD3-368EFAF448AD@dsgi.us>
References: <C78952BC-8F12-486E-9BD3-368EFAF448AD@dsgi.us>

Alex Hochberger wrote:
> Does anyone have any white papers or basic guides for a large RAM server?
> 
> We are consolidating two databases to enable better data-mining that 
> currently run on a 4 GB and 2 GB machine.  The data issues on the 4 GB 
> machine are numerous, things like "create index" fail and update queries 
> fail from out of memory issues.

>    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?

It's not normal to get "out of memory" when rebuilding an index.

-- 
   Richard Huxton
   Archonet Ltd



view thread (5+ messages)  latest in thread

Message-ID: <474F0FC3.4000109@archonet.com>
Permalink:  ../474F0FC3.4000109@archonet.com/
Also on:    postgresql.org/message-id/474F0FC3.4000109@archonet.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: dev@archonet.com, alex@dsgi.us
  Subject: Re: Configuring a Large RAM PostgreSQL Server
  In-Reply-To: <474F0FC3.4000109@archonet.com>

* 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