Skip site navigation (1) Skip section navigation (2)

Re: Troubles dumping a very large table.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ted Allen <tallen(at)blackducksoftware(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Troubles dumping a very large table.
Date: 2008-12-24 17:49:56
Message-ID: 12778.1230140996@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-performance
Ted Allen <tallen(at)blackducksoftware(dot)com> writes:
> during the upgrade.  The trouble is, when I dump the largest table, 
> which is 1.1 Tb with indexes, I keep getting the following error at the 
> same point in the dump.

> pg_dump: SQL command failed
> pg_dump: Error message from server: ERROR:  invalid string enlargement 
> request size 1
> pg_dump: The command was: COPY public.large_table (id, data) TO stdout;

> As you can see, the table is two columns, one column is an integer, and 
> the other is bytea.   Each cell in the data column can be as large as 
> 600mb (we had bigger rows as well but we thought they were the source of 
> the trouble and moved them elsewhere to be dealt with separately.)

600mb measured how?  I have a feeling the problem is that the value
exceeds 1Gb when converted to text form...

			regards, tom lane

In response to

Responses

pgsql-performance by date

Next:From: Kynn JonesDate: 2008-12-24 18:56:28
Subject: Re: How to "unique-ify" HUGE table?
Previous:From: Ted AllenDate: 2008-12-24 17:31:23
Subject: Troubles dumping a very large table.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group