Re: postgres block_size problem

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Bhujbal, Santosh" <sbhujbal(at)starentnetworks(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: postgres block_size problem
Date: 2008-12-30 20:08:45
Message-ID: dcc563d10812301208t6e0eeb61x4c6618dded6921d9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, Dec 30, 2008 at 12:56 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> writes:
>> On Tue, Dec 30, 2008 at 5:28 AM, Bhujbal, Santosh
>> <sbhujbal(at)starentnetworks(dot)com> wrote:
>>> SQL execution failed, Internal error. SQL Statement: (COPY command failed
>>> with error: ERROR: row is too big: size 8200, maximum size 8136)
>
>> Hmmm. What exactly are you trying to insert into what? Normally when
>> you see something like this it's an index on a text field that causes
>> this type of problem.
>
> It's not an index because the error message would say so. Evidently
> it's a row that TOAST is unable to squeeze down to a workable size,
> which suggests a very large number of columns. I'd suggest rethinking
> the table schema ...

Oh yeah, that does sound like wide tables. Yeah, it's likely highly
denormalized or something like that.

I thought the error message was different, but I haven't seen it in years... :)

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Carol Walter 2008-12-30 20:53:37 Re: ssl database connection problems...
Previous Message Tom Lane 2008-12-30 19:56:58 Re: postgres block_size problem