From: | jason nordwick <jason(at)adapt(dot)com> |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | Error: out of memory in create table as |
Date: | 2006-08-03 17:04:39 |
Message-ID: | 44D22CA7.3060901@adapt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
I'm having memory problems. I needed to materialize a couple views
(create table t as select * from v) to get acceptable performance from a
small data storage system I'm building, but now I get out of memory
issues on that statement. It is near the bottom of about a 40 line
function, and it completes up to that point, but when I try to run the
create with only about a million rows, it fails:
ERROR: out of memory
DETAIL: Failed on request of size 856.
CONTEXT: SQL statement "create table gwt as select * from gworktick"
PL/pgSQL function "processadd" line 30 at SQL statement
I don't see any temp files being generated on disk. Attached is our
postgresql.conf file. We have little Postgres experience (mostly either
Oracle, Sybase IQ, etc..)
-jason
P.S., lack of an upsert is really killing us.
Attachment | Content-Type | Size |
---|---|---|
postgresql.conf | text/plain | 13.6 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2006-08-03 17:29:26 | Re: Function not return zero record |
Previous Message | Sylvain Racine | 2006-08-03 16:58:48 | Function not return zero record |