pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Narendran .j <jnarendran3@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Ora2pg migration
Date: Fri, 22 Mar 2024 11:03:46 +0100
Message-ID: <353421c01d9645555244d41fc111304dcf66d051.camel@cybertec.at> (raw)
In-Reply-To: <CA+-Cqf63n5MOo-L9gue5ZGMWLd9jXrdvGV4nV7-KbspyKhnd7A@mail.gmail.com>
References: <CA+-Cqf63n5MOo-L9gue5ZGMWLd9jXrdvGV4nV7-KbspyKhnd7A@mail.gmail.com>

On Fri, 2024-03-22 at 11:08 +0530, Narendran .j wrote:
> I have export one table which has blob data type by ora2pg tool.while Importing insert file in postgres I'm getting this error .
> psql:ERROR: out of memory 
> DETAIL: Cannot enlarge string buffer containing 1073741808 bytes by 8191 more bytes.
> 
> Please give me any suggestions and I adjust shared_buffer it didn't work.

1GB is a hard limit for memory allocations.

How big are those BLOBs?  The theoretical limit in PostgreSQL is 1GB, but in
practice things start getting difficult around 500MB, unless you use binary
transfer.

Yours,
Laurenz Albe





view thread (7+ messages)  latest in thread

Message-ID: <353421c01d9645555244d41fc111304dcf66d051.camel@cybertec.at>
Permalink:  ../353421c01d9645555244d41fc111304dcf66d051.camel@cybertec.at/
Also on:    postgresql.org/message-id/353421c01d9645555244d41fc111304dcf66d051.camel@cybertec.at

 · 

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: laurenz.albe@cybertec.at, jnarendran3@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Ora2pg migration
  In-Reply-To: <353421c01d9645555244d41fc111304dcf66d051.camel@cybertec.at>

* 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