pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Werner Bohl <WernerBohl@infutor.com>
To: PgSQL ADMIN <pgsql-admin@postgresql.org>
Subject: PG 8 Out of memory issuing queries
Date: Fri, 04 Feb 2005 15:39:06 -0600
Message-ID: <1107553146.16535.6.camel@sirio> (raw)

Hi!

Hope anybody can help me with this issue. I have a fairly large table
(~75 million rows) that where imported without pk. Tried to create a pk
on a supposed unique field, but failed with duplicates. So i issued:
select oldid from table group by oldid having count(*) > 1
and it fails with Out of memory. Tried to create a new pk using: alter
table <table> add newid serial primary key; and it also fails with out
of memory error. 

Are there any settings on postgresql.conf that I may change to prevent
this error?

This is on Windows XP profesional with Postgresql 8.0


TIA,

-- 
Werner Bohl <WernerBohl@infutor.com>
Infutor de Costa Rica S.A.




view thread (2+ messages)  latest in thread

Message-ID: <1107553146.16535.6.camel@sirio>
Permalink:  ../1107553146.16535.6.camel@sirio/
Also on:    postgresql.org/message-id/1107553146.16535.6.camel@sirio

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: WernerBohl@infutor.com
  Subject: Re: PG 8 Out of memory issuing queries
  In-Reply-To: <1107553146.16535.6.camel@sirio>
  References: <1107553146.16535.6.camel@sirio>

* 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