pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Morgan Ramsay <morgan.ramsay@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Out of memory running 560 MB query
Date: Sun, 14 Sep 2014 17:18:51 -0700
Message-ID: <1a9b601cfd07a$a16c71a0$e44554e0$@gmail.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

I have 560 MB worth of INSERT statements in a .sql file. I'm trying to run
that query but I'm getting an out of memory error.

 

Any idea how to successfully run a query that large? What's the size limit
of a query?

 

-Morgan

view thread (4+ messages)  latest in thread

Message-ID: <1a9b601cfd07a$a16c71a0$e44554e0$@gmail.com>
Permalink:  ../1a9b601cfd07a$a16c71a0$e44554e0$@gmail.com/
Also on:    postgresql.org/message-id/1a9b601cfd07a$a16c71a0$e44554e0$@gmail.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-admin@postgresql.org
  Cc: morgan.ramsay@gmail.com
  Subject: Re: Out of memory running 560 MB query
  In-Reply-To: <1a9b601cfd07a$a16c71a0$e44554e0$@gmail.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